Questions tagged [telegram]

Telegram is a cross-platform cloud-based instant messenger with a focus on security. Use this tag for questions about interacting with Telegram, including use of its official API.

Main features

Messaging

It was the main feature of Telegram. It allows you to send messages to users who have the contacts and we know the nickname.

Groups

The groups are conversations between more than two users, I can reach up to 200 users. Each member of a group can add users, change the name of the group or avatar. Exceeded 200 members, the group becomes a "Supergroup". The supergroup can get to 100,000 users.

Channels

The channels are groups that do not have a limit of users . The peculiarity is that only administrators can write to the channel.

Bots

Telegram Bots are programmed accounts without a phone number. they can not initiate a conversation with a real user. The bot API provides methods to interact with users including sending and editing messages, custom keyboards, commands. (API Documentation)

5905 questions
412
votes
20 answers

Telegram Bot - how to get a group chat id?

I've been using telegram_bot, and trying to get groupChat id to send notifications to group chat, but don't know which methods I have to use for it. For getting chat id I use to message.chat.id when the bot participated in the chat but which I have…
Roman Podpryatov
  • 4,121
  • 3
  • 10
  • 5
115
votes
4 answers

How to force telegram to update link preview?

Telegram show description meta tag as link preview. I changed the description meta tag but the link preview of my website didn't changed. How to force telegram to update link preview?
Ali Seyfollahi
  • 2,662
  • 2
  • 21
  • 29
113
votes
10 answers

How to make a hyperlink in telegram without using bots?

How to make a Hyperlink in telegram? how to make a hyperlink in telegram without the help of bots?
Hà Linh
  • 1,305
  • 2
  • 8
  • 7
94
votes
4 answers

How do I add my bot to a Telegram channel?

I'm using my bot to tell important news, but when I use sendMessage to the channel I'm receiving the following error: {"ok":false,"error_code":403,"description":"Error: Forbidden: bot is not a participant of the channel"} In the Change Log they…
user4374121
73
votes
5 answers

How do you clear the Open Graph cache of an URL on Telegram?

When I send a new link on Telegram, it automatically reads Open Graph data of the URL and generates a preview of the page. When the Open Graph data of the same page changes, though, Telegram doesn't update its preview: it has cached the old Open…
habiat
  • 1,245
  • 3
  • 16
  • 22
69
votes
8 answers

send bold & italic text on telegram bot with html

I've created a bot in telegram I want to send bold and italic text with HTML page to bot My HTML code is: Telegram
Mohammad Hossein
  • 709
  • 1
  • 6
  • 7
62
votes
5 answers

How to interact with Telegram API

I'm really confused as I'm trying to use Telegram's APIs after reading a lot of the documentation on http://core.telegram.org. I have registered my app and got a hash_id and all of that stuff. But I'm not sure where to begin with. I had worked with…
Ramtin Soltani
  • 2,650
  • 3
  • 24
  • 45
55
votes
7 answers

Telegram bot: How to mention user by its id (not its username)

I am creating a telegram bot and using sendMessage method to send the messages. it is easy to mention user using @username, But how to mention user when they don't have username? If using the telegram app/web, we can mentioned the user by…
Awang Setyawan
  • 551
  • 1
  • 4
  • 5
51
votes
4 answers

How do I get authentication in a telegram bot?

Telegram Bots are ready now. If we use the analogy of web browser and websites, the telegram client applications are like the browser clients. The Telegram Chatrooms are like websites. Suppose we have some information we only want to restrict to…
Kim Stacks
  • 10,202
  • 35
  • 151
  • 282
49
votes
24 answers

Telegram API - Create New Application Error

I'm trying to register new app to use the Telegram API, but I'm aways getting ERROR message with no tips. I fill the form and click submit and nothing happened: And when click submit I'm getting error: Nothing is shown in the browser console. What…
P. Vieira
  • 493
  • 1
  • 4
  • 7
49
votes
4 answers

How to add a bot to a Telegram Group?

I've been trying to add a bot to my Telegram group in Android Device but I am not able to do so. I tried @bot_name, /bot_name, but it doesn't work. Is it possible to add a bot to the group or should I create a new bot using Telegram API (not bot…
bazinga
  • 2,120
  • 4
  • 21
  • 35
47
votes
7 answers

How can I send a message to someone with my telegram bot using their Username

I am using the telepot python library, I know that you can send a message when you have someone's UserID(Which is a number). I wanna know if it is possible to send a message to someone without having their UserID but only with their username(The one…
46
votes
9 answers

How to use Telegram API in C# to send a message

I want use Telegram API in C# for send a simple message to a number. I found some lib's on GitHub but I am not able to use them. Can anyone give a simple code ? Can I simply make HTTP calls ?
Hadi Delphi
  • 469
  • 1
  • 4
  • 5
43
votes
2 answers

Telegram markdown syntax: Bold *and* italic? (September 2018)

By looking at Telegram’s “Markdown Syntax” Wiki page, it should be relatively easy to create text that is bold and italic. There, it says that *this is in italic* and _so is this_ **this is in bold** and __so is this__ ***this is bold and…
Nemgathos
  • 605
  • 1
  • 5
  • 13
43
votes
12 answers

How do I turn on markdown mode in Telegram?

I created my own telegram channel and send broadcasts to my people. I saw that other people make clean hyperlinks in their message without showing the full URL. I found that the syntax for this is [text](http://example.com), but it never works for…
user9916658
  • 549
  • 1
  • 4
  • 5
1
2 3
99 100