How to send message on telegram channel


Channels FAQ

This FAQ is about Telegram channels.
Back to the main FAQ »

  • What is a channel?
  • How are private and public channels different?
  • What can administrators do?
  • What happens if I delete a message?
  • How do I add people to my channel?
  • What does the eye icon mean?
  • How do I know who posted a message?
  • Are there any feedback options?

Q: What's a channel?

Channels are a tool for broadcasting public messages to large audiences. In fact, channels can have an unlimited number of subscribers. When you post in a channel, the message is signed with the channel's name and not yours. You can appoint additional administrators to help you manage the channel. New subscribers can see the entire message history in a channel once they join.

If you'd like an example, join our official Telegram channel to get notified about our updates.

To create a channel:
iPhone: Start a new message (tap the icon in the top-right corner in Chats). Then ‘New Channel’.
Android: Tap the circular pencil icon in the chat list. Then ‘New Channel’.
Windows Phone: Tap the ‘+’ button on the bottom bar. Then ‘New Channel’.

Q: How are public and private channels different?

Public channels have a username. Anyone can find them in Telegram search and join. Private channels are closed societies – you need to be added by the owner or get an invite link to join.

Please note that private channels with publicly available invite links will be treated in the same way as public channels, should it come to content disputes.

Q: What can administrators do?

The owner of a channel can broadcast messages, delete any messages, add subscribers (the first 200 only), remove subscribers, change the channel's name, profile image and link, as well as delete the channel completely. The owner can also add and remove administators to help manage the channel.

You can set up administrator rights for each individual administrator when you appoint them.

Q: What happens if I delete a message?

If a message is deleted in a channel, it will disappear for all subscribers.

Q: How do I add people to my channel?

As the channel's owner, you may invite the first 200 subscribers to your channel. Once the subscriber count reaches 200, the channel is on its own. If it's a public channel, it will have a username and a telegram.me/ link (e.g. t.me/telegram) – you can post this link on social networks, advertise it in magazines, or tattoo it on your back. If you have a private channel, you can send an invite link to your friends.

Please do not send channel links (or other unsolicited messages) to strangers. If they report spam from your account, you may be banned from contacting other people, however good your intentions.

Q: What does the eye icon mean?

Each post in a channel has a view counter. Views from forwarded copies of your messages are also included in the total count. This way you can see how far it has spread.

Please note that these numbers are approximate — we don't want to keep a record for everything you've ever viewed. After a short while (around 4 days), Telegram will forget that you've seen a post and will count you again if you navigate to it. For this reason you may see several views for posts in a private channel where you are alone.

Q: How do I know who posted a message?

As the owner of the channel, you can enable admin signatures that users will see next to the view counters. These signature only mention the name of the administrator and no link to their profile.

If the signatures are disabled, there is no way for users to know whether a message was posted by the owner or one of the administrators.

Q: Are there any feedback options?

You can add a discussion group chat to the channel, and your subscribers will see a comment button for each post in the channel. Comments show up in a thread of their own and also land in the discussion group to keep everyone in the loop and make it easier for admins to keep the conversation civil.

You can also use bots (e.g. the @like bot) to add buttons to your posts.

How to Add a Comment to a Channel in Telegram

Device Links

  • Android
  • iPhone
  • Mac
  • Windows
  • Device Missing?

Telegram, an instant-messaging platform, has gained popularity over the last few years. If you are looking for a platform that will allow you to get your message out and tap into a wider audience, then Telegram is the place for you. With their Channel feature, you can send out posts on whatever topic tickles your fancy.

Until recently, only admins could add content to Telegram channels. Telegram updated the platform, introducing a feature that allows users to comment under channel posts.

Here, we will look at how to interact with your Telegram channel subscribers by enabling comments in channels.

How to Add Comments to Channels

As a Telegram channel administrator, you can broadcast messages, create voice chatrooms, post videos, host podcasts, and so on. Telegram now offers your subscribers the opportunity to post comments on your channel, turning what was once a one-sided conversation into more of a dialogue.

The comments feature isn’t a standalone item but is bound to discussion groups within the channel. Comments can only be posted on channels that have discussion groups. To enable comments on your Telegram channel, you will first have to link it to a discussion group. The guidelines below will walk you through enabling comments in your channel.

  1. Launch Telegram app.
  2. Click on the channel where you want the comments enabled.
  3. On the top right corner, click on the menu with the three dots.
  4. From the dropdown menu, click on “Manage Channel.”
  5. Select “Discussion” and then “Add Group.”
  6. From the list of groups, click on the group for whom you want to enable comments.
  7. A prompt will pop up asking if you want to turn the channel into a Talkgroup. Click on “Link Group.”
  8. Select the “Keep” option.

Once this is done, comment buttons will appear automatically beneath your posts. Your subscribers can now leave comments on your Telegram channel.

How Comments Work in Telegram

When a subscriber clicks on “Comment,” a separate chat opens up. This chat is visible to everyone on the channel. Users can also reply to comments posted by other subscribers. Subscribers who are not part of the discussion group can still read and post comments on the channel.

How to Add Comments to a Channel in Telegram on a Windows PC

If you are accessing your Telegram account from your Windows device, this is how you go about adding comments to your Telegram channel:

  1. On your desktop, open your Telegram app.
  2. Select the channel header.
  3. Tap on “Discussion” and link the discussion group to your channel.

You have now added comments to your Telegram channel on Windows PC.

How to Add Comments to a Channel in Telegram on a Mac

For adding comments to your Telegram account from your Mac device, follow the steps below:

  1. On your desktop, open your Telegram app.
  2. Navigate to a channel to add comments.
  3. Tap on “Discussion” and link the discussion group to your channel.

You have now enabled comments on your Telegram channel on a Mac.

How to Add Comments to a Channel in Telegram on an iPhone

If you are running your Telegram channel from an iPhone, this is how to enable comments:

  1. Launch Telegram app.
  2. Click on the channel where you want the comments enabled.
  3. On the bottom right corner, click on the menu with the three dots.
  4. From the dropdown menu, click on “Discussion.”
  5. Select “Conversations” and then click on “Add Group.”
  6. From the list of groups, click on the group for whom you want to enable comments.
  7. A prompt will pop up asking if you want to turn the channel into a Talkgroup. Click on “Link Group.”
  8. Press the “Keep” option.

Comment buttons will now appear automatically beneath your posts.

How to Add Comments to a Channel in Telegram on an Android

Telegram has an Android app that you can use to manage your Telegram account. If you are looking to use this feature to add comments to your Telegram channel, these are the steps you should follow:

  1. Launch Telegram app.
  2. Click on the channel where you want the comments enabled.
  3. On the top right corner, click on the menu with the three dots.
  4. From the dropdown menu, click on “Manage Channel.”
  5. Select “Conversations” and then click on “Add Group.”
  6. From the list of groups, click on the group for whom you want to enable comments.
  7. A prompt will pop up asking if you want to turn the channel into a Talkgroup. Click on “Link Group.
  8. Click on “Keep.”

Comments on Telegram Channels

Adding comments to your Telegram channels is an excellent way to boost subscriber engagement and interest in your channel. Whether you are using a PC or accessing Telegram from the app, Telegram has now made it possible to enable subscriber comments on your posts. Taking advantage of this feature will not only clue you in on how your content is received, but it will also allow for more robust communication with subscribers. Adding comments on your channel need not be a complicated process with this guide. You can have the feature up and running within minutes.

Do you have a Telegram channel? What has your experience of interacting with subscribers been? Tell us about it in the comments section below.

How to send a message to Telegram


Here we tell you how to send private messages to Telegram using a bot.

If you want to send messages not to private messages, but to a group in Telegram, then refer to this instruction.

How to set up sending messages

Build a script

To send something to Telegram, we first need to write information to a variable. You can collect several parameters, write them into variables, and transfer all these variables to Telegram. Before sending data, you must have a script section with writing to variables.

Complete this lesson to build a scenario.

After completing the lesson, you will have 5 variables:

  • for the name
  • for last name
  • for phone
  • for email
  • for service type

Publish the bot on Telegram

Follow the instructions to publish the bot on Telegram.

If you have already published a bot in Telegram, go to the next step.

Get chat_id

In order to receive a message in Telegram, the bot must know who to send it to. You can get chat_id of your account (or the account of the person you want to send this information to) so that you can send messages using the bot.

To get chat_id , create a new screen in the script with the text:

$rawRequest.message.from.id

Place this screen at the beginning of the script so that this screen is in the upper left corner . Thus, this screen will be the first one when the bot starts.

Publish the bot

Click Publish and wait for the message that the script has been published on the Telegram channel.

Test the bot

Now go to your Telegram bot ( is not in the test widget! ) and send to the bot:

/start

If you want messages to be sent not to you, but to another person, then simply send this person a link to the bot. If this user communicates with this bot for the first time, the bot will immediately send the value chat_id . If this user has already chatted with this bot before, then ask the user to send /start to the chat to get the chat_id.

The bot will send you the required value:

Copy and paste the number sent by the bot into notepad .

Remove the screen with text $rawRequest.message.from.id . He is no longer needed.

Send data

The next step is to send the data received from the client. To do this, in the script, after collecting all the necessary information , there must be an HTTP request block. Several variables can be passed at once with a single request:

The block must be formatted as follows:

Method
GET

Formation of URL

To create a URL, copy the line into notepad: https://api. telegram.org/bot/sendMessage

Then go to Telegram to the Botfather channel and copy your bot token, which was generated when you published the channel:

In a notebook select 9000

and instead of insert a tokeene from a tokeene Telegram:

You will get something like this:

Now select the entire line and paste it into the URL field of the HTTP request in Aimylogic

Formatting the field
BODY

In BODY we need to specify:

  • the value chat_id that we received earlier

  • all the variables that we have previously collected in the script.

If you repeated the lesson on collecting contact data, then in the script you received the following information:

Your name: $name Your last name: $lastname Your phone: $PHONE Your email: $EMAIL Type of service: $service

That's why we use these variables now.

So, you need to insert the value chat_id and list the variables that were in the script before sending.

Pay attention to indentation and punctuation! We recommend not typing, but copy and paste.

{ "chat_id": 123456789, "text": "Customer name: $name $lastname, phone number: $PHONE, email: $EMAIL, Service type: $service"}

Press Save .

Done, we have issued an Http request to send data.

Check the status of the submission

From the "Completed successfully" logic, add a link to a new screen containing a message that the data was successfully sent. For example, “Thank you, your data has been successfully sent!”

From the logic “Completed with an error”, we make a connection with the screen containing the text block “Error $httpStatus ”. This block will help us understand what the problem is if the http request is not successful.

Test scenario

Press Test and talk to the bot.

As a result of the dialogue, the necessary information should come to Telegram.

Note that the bot will send a message to your conversation with the bot. If you expect to receive a private message from some other account, you may be confused by this behavior. But in the future, when other people write to the bot, and you will receive messages from the bot, it will be more clear to you what is happening. Ask another person to send their name and phone number to the bot, and then you will receive a message from the bot.

Troubleshooting

You click Test and the bot throws an error.

Check if you are using $rawRequest in the script to get the name. If yes, then you need to test in the Telegram channel. In the test widget, the error will be expected to fall out, as the bot is trying to get information from a channel that does not exist.

"Error -1"

Check that the URL in the http request is correct. There may be a space in the URL itself or at the end of the URL, or an invalid character may have been inserted by mistake.

"Error 400"

  1. Check that the http request is formatted correctly. Try deleting the Telegram bot at BotFather , recreate and use the newly generated token.

  2. Check the formatting of the field BODY (syntax).

Example of correct field design

BODY :
  • First and last line must contain only curly braces

  • Must be indented (you can press Tab or press Spacebar four times)

  • "chat_id": should be written like this (check for typos, or better yet, copy and paste):

    "chat_id":

  • The value of chat_id should not be 123456789, but the real value you copied in step 3 (123456789 is the example for the tutorial)

  • A string containing "chat_id": must end with a comma

  • Colons must be followed by spaces

  • The value of the transmitted message text must be in the following quotes: " "

    How to send a message on Telegram

    Telegram is a cloud-based messaging application that makes your communication even more convenient. The platform allows you to transfer conversations between computers, smartphones and tablets. It also provides more security with its Secret Chats feature. But how exactly do you send messages in Telegram?

    In this post, we will look at all the intricacies of Telegram messaging.

    How to send a message to Telegram

    Sending a message to Telegram is as easy as in other similar applications:

    Programs for Windows, mobile applications, games - EVERYTHING is FREE, in our private telegram channel - Subscribe :)

    1. Download and install the app from Google Play or the App Store.
    2. Enter your phone number and the confirmation code that Telegram will send you.
    3. Add a picture and your name.
    4. Allow Telegram to access your contact list.
    5. Tap "Contacts" at the bottom of the screen and you'll see a list of friends using the app.
    6. Select a friend and use the text field to enter and send a message.

    How to send a message to yourself on Telegram

    You can send a message to yourself using the Saved Messages feature:

    1. Open the app and go to the menu in the top left corner.
    2. Click Saved Messages.
    3. Enter your message here and you're done.

    How to send a message to a Telegram bot

    Once Telegram bots are configured, users can interact with them by sending commands, messages, or requests. Here's how the process works:

    1. Launch Telegram and enter your login details.
    2. Type "@Botfather" in the search bar and select the bot that will appear in the search results.
    3. Press the start button to activate the bot.
    4. Type "/newbot" and send the command.
    5. Choose a name and login for the bot. Users will be able to find their bot by searching for its username, but it must not match the usernames of other bots.
    6. Once you have chosen a suitable name for the bot, it will be created. You will then receive a link to the bot, suggestions for setting up a profile picture, commands to control the bot, and some other details.
    7. Follow the link and you can send a message to your bot just like you would to your friends.

    How to send a voice message to Telegram

    If you are too busy to type, sending a voice message to a friend will save you time:

    1. Open Telegram and go to the chat windows.
    2. Select a chat and tap the microphone icon in the lower right corner.
    3. Hold the symbol and start speaking.
    4. Once you're done, release the symbol and the voice message will be sent.

    How to send a private message on Telegram

    Private messages are also called private messages on Telegram. Sending them is relatively easy:

    1. Launch Telegram.
    2. Press New Message.
    3. Select the recipient of the message.
    4. Tap a username to open a chat with them.
    5. Enter your message.
    6. Click the Submit button and you're done.

    How to send a video message on Telegram

    Telegram is not far behind other platforms in terms of the media you can send through the app. One of your options is a video message:

    1. Launch the app and open a chat.
    2. Click the microphone icon to start camera mode.
    3. Hold the camera symbol and record your message.
    4. Release the record button and the message will be sent.

    How to send a message to Telegram using the API

    Using the API to send a Telegram message is a bit more complicated. You will need bot services:

    1. Find the Botfather bot by looking in the search box.
    2. Once you've set up your bot, type "/newbot" into the chat field. You will then be asked to name your bot and give it a username. You will then receive a link to the bot and your API token.
    3. Click the link to go to the mailbox where you will receive messages. Since bots are not designed to send spam, they cannot start a chat, which means that you need to send a message first so that the bot can send you a text message.
    4. Now you need to call the Telegram API to get your chat_id. Here you have two methods.
    5. The first one boils down to reading the text you sent with curl and its getUpdates approach: curl https://api.telegram.org/bot%7BYOUR_API_KEY_HERE%7D/getUpdates
    6. Alternatively you can use Python 3:
      • >>> import requests
      • >>> token = {YOUR_API_KEY_HERE}
      • >>> url = f'https://api.telegram.org/bot { token} / getUpdates '
      • >>> requests.post (URL).json()
    7. You should then get the JSON payload: {"ok": true, "result":[{"update_id":12671344 , "message":{"message_id":30,"from":{"id":{YOUR_ID},"is_bot":false,"first_name": "{YOUR_NAME}" ,"username":"{YOUR_USERNAME}" ,"language_code":"en"},"chat":{"id":{YOUR_CHAT_ID},"first_name":"{YOUR_FIRST_NAME}","username":"{YOUR_USERNAME}","type":"private" },"date":1560719493,"text":"{YOUR_SENT_MESSAGE}"}}]}
    8. Use the number {YOUR_CHAT_ID}, which is approximately nine digits.
    9. Now you can send a message using the sendMessage function: curl -d chat_id = {YOUR_CHAT_ID} -d text = "test msg from curl" https://api.telegram.org/bot{YOUR_API_KEY_HERE}/sendMessage
    10. Another option - Python 3:
      • >>> import requests
      • >>> token={YOUR_API_KEY_HERE}
      • >>> url=f'https://api.telegram.org/bot{token}/sendMessage'
      • >>> data = {'chat_id': {YOUR_CHAT_ID}, 'text': 'python msg'}
      • >>> requests.post(URL, data).json()
    11. You have successfully sent a message using the Telegram API.

    What to do if Telegram cannot send a message

    If your Telegram is not sending a message for some reason, two simple solutions will help:

    1. Go back to the main Telegram page and go back to your message.
    2. Or restart the application, return to the message and try sending it again.

    What to do if Telegram can't send a message

    If you can't send a message and the problem persists, it's best to contact Telegram Support. Here you can describe your problem, enter your phone number and leave your email address. Hopefully their team will come up with a viable solution for you.

    Additional answers to frequently asked questions

    How can I send a message to the Telegram API?

    To send a message to the Telegram API, you need to configure the bot. You will then need to use curl or Python 3 to generate your chat_id and send a message using the sendMessage command.

    Can Telegram send SMS?

    Unfortunately, you cannot send SMS via Telegram. The app still does not support this feature.

    Improve your chat game

    If you thought you might not be using Telegram because of its cumbersome messaging features, now all your worries are gone. The app is easy to use and once you activate it, sending text messages is just as easy as on any other platform. Best of all, you can send videos, voice messages, and even set up bots and execute various commands. The options are almost limitless.


    Learn more