telegramdesktop / tdesktop

Telegram Desktop messaging app
https://desktop.telegram.org/
Other
25.94k stars 5.14k forks source link

[Feature Request] Button to get Chat ID #24020

Open JimmyHoke opened 2 years ago

JimmyHoke commented 2 years ago

Is your feature request related to a problem?

When attempting to develop for Telegram there is no easy way to get the ID for a chat.

Describe the solution you'd like

It would be cool if there was a developer mode like in Discord that would add a "copy id" button to the menu that appears when you right click on a group.

Describe alternatives you've considered

Another potential option is a /id command that would return the chat's ID.

Additional context

No response

xmha97 commented 2 years ago

Agree, but this feature is not required by everyone. This option should only be displayed when the Ctrl key is down and clicked. image Anyway, you can get your chat id using @id_chatbot

23rd commented 2 years ago

there is no easy way to get the ID for a chat.

You can turn on debugmode and see ID of any chat in the DebugLogs.