How to get user id telegram
How to get user id telegram
How to Find a User ID in Telegram
Telegram is one of the best, sleekest, fastest chat apps available out there. Although it is free and very user-friendly, it still isn’t as popular as WhatsApp and Viber. After all, it’s still relatively new on the market, compared to its well-established competitors.
Nonetheless, Telegram has made its way towards the top of the game. Many people choose it because it has the best desktop app, plus it eats much less RAM and processor power than its competitors.
That said, let’s explore some cool tips and tricks that will help you maximize your Telegram experience.
How to Find User ID
On Telegram, you’ve got your Telegram ID, and then you’ve got your Telegram user ID. The former is the name that you chose. To change your Telegram ID, go to the hamburger menu (three horizontal lines) and then go to Settings. The same goes on your mobile app, go to the hamburger menu, then go to Settings.
Then, select Edit profile. Click on your name in the next window and change it to whatever you want. On the mobile app, tap the three vertical dots towards the top of the Settings menu. Then, change your name to that of your preference.
Finding your user ID, however, is a bit different. The steps are the same for desktop and mobile apps. First, open your Telegram app. Then, type “userinfobot” in your contacts search bar. If you can’t find this “profile,” try adding an “@” in front of the search query. When you’ve located @userinfobot, click or tap it. Then, select Start at the bottom of the chat.
By clicking Start, you’ve automatically entered “/start.” It will prompt the bot to display your user ID, as well as your selected first name, last name, and the language of choice.
You can prompt this bot to repeat the command by entering the “/start” command at any time.
Secret Chat
One of the best things that Telegram brings to the table is the fantastic end-to-end encryption feature. If you are unfamiliar with what this encryption does, look it up, you’ll be amazed. It is the pillar of online privacy – it makes sure that only you and your conversation partner(s) can see the messages. So, if you’re talking about important stuff, especially if it’s confidential info (finances, etc.), be sure to use the secret chat option.
To start a new secret chat, select New message and then choose New Secret Chat. Oh, and if you want the secret chat to delete the texts after a specific period, you can set a self-destruct timer.
For Android phones, navigate to the three-dot button and then select how much time you want the chat to “stay alive.” For iPhones, tap the timer icon and then set the timer. Now, the timer will start as soon as any chat participant sends a message. Each one gets destroyed after the selected period. And if any other participant makes a screenshot, you’ll get a notification.
Lock Your Chats
Here’s another cool security feature – you can put a passcode lock on your chats. To do this, go to Privacy and Security via the Settings menu. Now, select Passcode Lock. Tap Passcode Lock to turn it on and choose a 4-digit passcode. By clicking Passcode Options, you can pick another passcode type.
This feature also offers you to set a timer for automatic chat lock. Once the countdown is over, the chats will lock automatically.
Stop People from Randomly Adding You
There isn’t a limit to how many “John Smiths” can exist on Telegram. After all, some people have identical names. Now, that means that someone you don’t know can add you by mistake. Alternatively, there are a lot of spam user profiles on Telegram that will add you to random groups and chats to promote something.
Of course, Telegram doesn’t just allow for its users to be mistreated by other users like that. Yes, you can get out of such a group with a couple of taps, but why be added to it in the first place?
Go to Privacy and Security and then select Groups. If you choose the My Contacts option, only your contacts will be able to add you to a group. Alternatively, you may want to prevent someone from adding you to groups. To do this, select Never Allow while Everybody is selected and choose the user(s) in question. With the My Contacts option chosen, you can do this, but also Always Allow specific users to add you to groups.
Telegram has neat bot options. You can have them perform specific actions that will make your Telegram experience smoother. For instance, @stickers is a bot that allows you to create stickers. @imagebot will find different pictures for you, based on keywords. @storebot will detect new bots.
Send Mute Messages
A user can use the ‘Do Not Disturb’ mode to prevent messages from annoying them. However, you might want to send a message to someone but without nudging them. To do this, select a user, type the message, press and hold the send arrow and then choose Send without sound. For iOS devices, type out a message and then press and hold the send arrow. That will allow you to send the message without sound.
Schedule Messages
Telegram also allows you to schedule a message. That’s great for birthdays but also for when you don’t want to bother your friends at work, for example.
To send a scheduled message, type it out inside the text space, hold the send arrow, and select Schedule message. Then, choose the sending date and time.
Becoming Telegram-Savvy
On the surface, the Telegram app doesn’t seem too complicated. In a way, it isn’t. It’s a straightforward and fast chat app that features end-to-end encryption. That, however, doesn’t stop Telegram from being packed with a bunch of discreet and cool features. Hopefully, you’ve learned some neat tricks here.
Which trick or tip did you like the most from this list? Why? Do you have some more cool tips to add? Feel free to hit the comment section below with any questions or advice that you may have.
How to get user_id of a phone number in telegram
Im creating a bot to send message to multiple contact in Telegram. user can share contact with bot. then i use getUpdates and obtain the phone number. For using the sendMessage Method i need the chat_id. now how to get chat_id of a user with his phone number? Is there any way better than this method to do this?
4 Answers 4
Trending sort
Trending sort is based off of the default sorting method — by highest score — but it boosts votes that have happened recently, helping to surface more up-to-date answers.
It falls back to sorting by highest score if no posts are trending.
Switch to Trending sort
For internet services to stay alive, they need to fight with any type of spam. As the result, Telegram bots can’t start sending messages to users that didn’t start using the bot yet!
Only when a user starts using the bot you can see his/hers chat_id and send messages to him.
That being said, if a user (User A) sends you a contact details of another user (Let’s call this one, User B), you can see user_id of the user B. However you still can’t send any messages directly, unless he/she also started using the bot before.
This behavior allows us to make a workaround and query users by phone number or at least confirm a user’s phone number if required.
To do so, first, you need to create contact message. It doesn’t matter who sents the message, even the bot can send the message. The idea is to let Telegram fill the user_id of the new contact message. You can read about this object here: Contact Object
After sending the message, you will get a server response, along with the Message that your bot just posted. The contact field of this newly created message contains information about the user you just shared his contact, possibly along with his/hers telegram user_id which is the same thing as the user’s chat id.
Right afterward you can delete your message with the deleteMessage method.
Following is an example of doing so in plain request/response format, but you should probably use a framework for this:
The response to this request is as follow:
«user_id»: 654789321 is the part that we are interested in. Now you can delete your message.
How to get user id telegram
How to get an id to use on Telegram Messenger
The ultimate guide
This guide aims on bot developers. If you don’t develop Telegram Chatbots or don’t use Telegram CLI, this guide is not for you. Don’t expect to get phone numbers or to join groups by their id. Both are impossible.
Available on https://web.telegram.org/?legacy=1#/login (have to use the legacy Telegram web client)
Follow the steps displayed to log in the app.
It’s not possible to find the user ID using this method. So, the easiest way to do it is talking to @userinfobot. If you need to find somebody else’s ID, forward a message to the bot.
This bot is not mine! Use it on your own risk!
Click on the group you want and see the url displayed on your browser.
If it’s a public group, you can simply use it’s @name as an id.
If it’s private group, the url must be like:
For private super groups the url must be like:
Click on the channel you want and see the url displayed on your browser.
If it’s a public channel, the ID is @name of the channel.
If it’s a private channel then the url must be similar to:
The best way I found to get ids is using Telegram-CLI.
Run Telegram CLI :
Wait for it do load and then paste a bot token.
The output must be similar to this:
To get a user id, ask the user to send any message do the bot and observe it on Telegram CLI window.
The message must appear similar to this:
The output will be something like this:
The output on Telegram CLI will be similar to:
On Telegram CLI type:
where test is the channel’s name. The output must be like this:
You can use the app directly to generate a direct link to the message and it will contain the group/channel information.
It is not possible to get user ID from the app itself. Have to get it from a bot or CLI
Tap/click on the group you want and hold/right click on a message. Copy the message link.
If it’s a public group, you can simply use it’s @name as an id.
If it’s private group, it is not possible to get a link. Have to use CLI or Web method
For private super groups the link must be like:
Tap/click on the channel you want and hold/right click on a message. Copy the message link.
If it’s a public channel, the ID is @name of the group.
If it’s a private channel then the url must be similar to:
Talk to me on Telegram Messenger! @GabrielRF
How to get user id telegram
Популярность приложения как «Телеграмм» растет с каждым днем. В последнее время оно и вовсе стало одним из популярных средств общения. Мессенджер обладает массой преимуществ. Благодаря Телеграмм можно создавать чаты, обмениваться сообщениями, передавать файлы и прочие материалы. В новом обновлении мессенджера появилось такое явление как «Telegram id». Что это такое, зачем нужен и как его узнать, разберемся ниже.
Зачем нужен Telegram ID?
Перед тем как узнавать айди, необходимо понять, что это вообще такое. Мессенджер должен как-то отличать пользователей, чаты и группы друг от друга. Для этого и был придуман ID – уникальный идентификатор.
Важно! На сохранность и безопасность личной информации айди никак не влияет. Он предназначен только для идентификации.
К дополнительной информации о Телеграмм айди относится:
Как узнать свой ID в Telegram?
Как упоминалось выше, каждый материал в Телеграмме получает свой айди. Конечно, у каждого сообщества он разный.
Важно! Многие пользователи путают айди с ником или логином. Это не одно и то же. Ник – это имя пользователя. Логин – это информация, которую вы вводите при входе в Телеграмм.
В прошлой версии мессенджера можно было узнать айди в настройках. На данный момент такую возможность убрал, чтобы улучшить безопасность данных. Сейчас лучше всего обращаться к специальным чат-ботам. На самом деле их огромное количество. Можно выбрать любого на свой вкус. Например, «Глаз бога», @getmyid_bot или @MyTelegramID_bot. Достаточно взять любого и вписать название в поисковую систему. А далее написать сообщение и отправить его. Чтобы было проще, предлагаем ознакомиться с инструкцией:
GabrielRF/telegram-id
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
README.md
How to get an id to use on Telegram Messenger
The ultimate guide
This guide aims on bot developers. If you don’t develop Telegram Chatbots or don’t use Telegram CLI, this guide is not for you. Don’t expect to get phone numbers or to join groups by their id. Both are impossible.
Available on https://web.telegram.org/?legacy=1#/login (have to use the legacy Telegram web client)
Follow the steps displayed to log in the app.
It’s not possible to find the user ID using this method. So, the easiest way to do it is talking to @userinfobot. If you need to find somebody else’s ID, forward a message to the bot.
This bot is not mine! Use it on your own risk!
Click on the group you want and see the url displayed on your browser.
If it’s a public group, you can simply use it’s @name as an id.
If it’s private group, the url must be like:
For private super groups the url must be like:
Click on the channel you want and see the url displayed on your browser.
If it’s a public channel, the ID is @name of the channel.
If it’s a private channel then the url must be similar to:
The best way I found to get ids is using Telegram-CLI.
Run Telegram CLI :
Wait for it do load and then paste a bot token.
The output must be similar to this:
To get a user id, ask the user to send any message do the bot and observe it on Telegram CLI window.
The message must appear similar to this:
The output will be something like this:
The output on Telegram CLI will be similar to:
On Telegram CLI type:
where test is the channel’s name. The output must be like this:
You can use the app directly to generate a direct link to the message and it will contain the group/channel information.
It is not possible to get user ID from the app itself. Have to get it from a bot or CLI
Tap/click on the group you want and hold/right click on a message. Copy the message link.
If it’s a public group, you can simply use it’s @name as an id.
If it’s private group, it is not possible to get a link. Have to use CLI or Web method
For private super groups the link must be like:
Tap/click on the channel you want and hold/right click on a message. Copy the message link.
If it’s a public channel, the ID is @name of the group.
If it’s a private channel then the url must be similar to:
Talk to me on Telegram Messenger! @GabrielRF