How to text someone on telegram


How to Send Message in Telegram

Telegram is a cloud-based messaging app that adds a lot of convenience to your communication. The platform lets you transfer conversations between computers, smartphones, and tablets. It also provides great security, owing to the secret chats feature. But how exactly do you send messages on Telegram?

In this entry, we’ll go through all intricacies of Telegram messaging.

How to Send a Message on Telegram

Quick Links

  • How to Send a Message on Telegram
  • How to Send a Message to Myself on Telegram
  • How to Send a Message to a Bot on Telegram
  • How to Send a Voice Message on Telegram
  • How to Send a Direct Message on Telegram
  • How to Send a Video Message on Telegram
  • How to Send a Message on Telegram With an API
  • What to Do if Telegram Fails to Send a Message
  • What to Do if Telegram Is Unable to Send a Message
  • Additional FAQs
    • How Can I Send Message to Telegram API?
    • Can Telegram Send SMS?
  • Step Up Your Chat Game

Sending a message on Telegram is just as easy as with other similar apps:

  1. Download and install the app from Google Play or App Store.
  2. Type in your phone number and enter the verification code Telegram sends you.
  3. Add a picture and your name.
  4. Allow Telegram to access your contacts list.
  5. Hit “Contacts” in the lower part of your screen, and you’ll see a list of friends using the app.
  6. Select a friend and use the text field to type and send your message.

How to Send a Message to Myself on Telegram

You can send a message to yourself with the “Saved Messages” function:

  1. Open the app and go to the menu in the top-left corner.
  2. Press “Saved Messages.”
  3. Type your message here, and you’re all done.

How to Send a Message to a Bot on Telegram

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

  1. Start Telegram and enter your log-in information.
  2. Type in “@Botfather” in your search bar and choose the bot that appears in the search results.
  3. Press the “Start” button to activate the bot.
  4. Enter “/newbot” and send the command.
  5. Select a name and username for the bot. Users will be able to find their bot by searching for its username, but it mustn’t overlap with other bots’ usernames.
  6. Once you’ve chosen an appropriate name for the bot, it will be created. You’ll then receive a link to the bot, suggestions on setting up the profile picture, commands for managing the bot, and some other details.
  7. Follow your link and you’ll be able to send your bot a message the same way you do with your friends.

How to Send a Voice Message on Telegram

If you’re too busy to type, sending a voice message to your friend will save you some time:

  1. Open Telegram and go to your chat windows.
  2. Choose a chat and tap the microphone symbol in the lower-right corner.
  3. Hold the symbol and start talking.
  4. Once you’re done, release the symbol, and the voice message will be sent.

How to Send a Direct Message on Telegram

Direct messages are also referred to as private messages on Telegram. Sending them is relatively straightforward:

  1. Launch Telegram.
  2. Press “New message.”
  3. Select the recipient of the message.
  4. Press the username of the person to open your chat with them.
  5. Type in your message.
  6. Hit the “Send” button, and you’re good to go.

How to Send a Video Message on Telegram

Telegram doesn’t lag behind other platforms in terms of the media you can send through the app. One of your options is a video message:

  1. Start the app and open a chat.
  2. Hit the microphone symbol to launch camera mode.
  3. Hold the camera symbol and record your message.
  4. Release your recording button, and the message will be sent.

How to Send a Message on Telegram With an API

Using an API to send your Telegram message is a bit more complex. You’ll require the services of a bot:

  1. Find the Botfather bot by looking it up in your search box.
  2. Once you’ve set up your bot, type in “/newbot” in the chat box. You’ll then be asked to name your bot and give it a username. You’ll then receive a link to the bot and your API token.
  3. Click the link to reach the box where you’ll receive your messages. Since bots are designed not to send spam, they can’t start a chat, meaning that you’ll need to send a message first to allow the bot to text you back.
  4. You now need to call Telegram’s API to obtain your chat_id. You have two methods here.
  5. The first one comes down to reading the text you sent using 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 receive your 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 {YOUR_CHAT_ID} number that consists of approximately nine numbers.
  9. You’ll now be able to send a message with 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 is 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’ve now successfully sent a message using Telegram’s API.

What to Do if Telegram Fails to Send a Message

If your Telegram doesn’t send a message for some reason, two simple solutions might do the trick:

  1. Return to Telegram’s front page and head back to your message.
  2. Alternatively, restart the app, return to the message and try to re-send it.

What to Do if Telegram Is Unable to Send a Message

If you can’t send your message and the problem persists, your best option is to reach out to Telegram’s customer support. You can describe your issue here, enter your phone number, and leave your email address. Hopefully, their team will feed you a viable solution.

Additional FAQs

How Can I Send Message to Telegram API?

Sending a message to Telegram’s API requires you to set up a bot. Next, you’ll need to use curl or Python 3 to generate your chat_id and send your message using the sendMessage command.

Can Telegram Send SMS?

Unfortunately, you can’t send an SMS using Telegram. The app still doesn’t support this feature.

Step Up Your Chat Game

If you thought you might not be into Telegram due to cumbersome messaging features, all your worries are now dispelled. The app is easy to use, and once you’ve activated it, texting is just as easy as on any other platform. Best of all, you can send videos, voice messages, and even set up bots and issue various commands. The options are nearly endless.

Have you set up your Telegram profile? Do you find the interface user-friendly? Are all the features easily accessible? Let us know in the comments section below.

How to Rename Columns in the Google Sheets App

Read Next 

How to Send Message to Non Mutual Contact on Telegram

Chit-chatting over video calls and sending voice messages is a go-to thing these days. Be it having small talks with friends, discussing family secrets in groups, or even emergency texts from your office, instant messaging platforms are used by almost every other individual today.

Launched in the year 2013 for both iOS and Android, Telegram is one such platform that has gained a lot of users these days.

This cloud-based, freeware cross-platform provides users with an end-to-end voice and video calling facility, with an additional feature that enables users to send secret chats as well.

From sharing unlimited videos and images to documents (up to the size of 2 GB per file), user locations, stickers, audio files, and contacts, Telegram has got it all for you.

With over 500 million monthly active users in January 2021, it was the most downloaded application by the month of August 2021, with over 1 billion downloads.

Want to know another unique feature of this platform?

Unlike some other messaging applications, Telegram gives you the possibility of even connecting and chatting with people that might not be saved in your contacts.

Yes, you read that right. Now you can send messages to non mutual contact on Telegram.

In this blog, we’re going to teach you how to send message to non mutual contact on Telegram and fix “Sorry you can only send messages to mutual contacts at the moment” on Telegram.

Why Use Telegram to Send Messages?

How to Send Message to Non Mutual Contact on Telegram

Method 1: Add Contacts on Telegram

2. Adding Someone on Telegram via Username

Can Someone Else Also Add You and Send Messages to You?

Why Use Telegram to Send Messages?

As soon as you install Telegram, you can easily find all your contacts using the application, thanks to the app’s security features. Moreover, Telegram makes sure all its messages are end-to-end encrypted between the sender and the receiver.

To add a cherry to the cake, the provision of sending “secret” messages is a plus one for all its users. These secret chats can be created for a particular user on Telegram and will vanish after a specific period of time, chosen by the sender.

These chats are not even saved in the server of the platform and, hence, cannot be retrieved by the developers of the app. And even if you try to screenshot the message, the app will send a warning to the sender.

Additionally, with a feature of channels, Telegram focuses its users on having the complete authority of whichever group they join.

But what about sending a message to a non-mutual contact on Telegram? We were just about to get to it. Keep reading to find out how that’s done!

How to Send Message to Non Mutual Contact on Telegram

Method 1: Add Contacts on Telegram

Now let’s say you have the contact number of a person but don’t want to save it in your phone memory. Can you still send the messages on Telegram? Absolutely! All you need to do is follow these simple steps to get it done:

Step 1: Hit on the Telegram app icon that appears as a blue icon with a white arrowhead pointing towards the right on your home screen.

Step 2: When the app opens on your phone, you can see a white pencil icon at the bottom right-hand side of the home page; tap on it.

Step 3: You’ll be directed to another page, where, on the bottom right-hand side of the page, you’ll see the Add Contact icon; hit on it to go to the Add Contact page.

Step 5: You will be asked to enter a first name (that is a required field), and a last name (that is an optional field). Enter the details as per your need.

Step 6: The next field displays the region you are in. It is usually automatically filled according to your present location. In case you want to change it, tap on the region name.

A list of various countries pops up, from which you can select your country. Alternatively, you can hit the search icon on the top left corner of the screen and enter the name of the country in the Search Bar that appears on the top.

Step 7: Moving on to the next field, you can enter the desired phone number. The prefix of the phone number is automatically filled in according to the selected region.

Step 8: On completing all the above steps, hit the white tick icon present on the top left corner of the same page.

This contact is now added to your Telegram, and you can easily talk to them on the platform without having to save it on your smartphone. Happy texting!

2. Adding Someone on Telegram via Username

Suppose you do not have the phone number of someone but have their Telegram username instead. Can you still add them to your Telegram chat list? Absolutely! Doing it is quite straightforward.

All you need to do is open Telegram on your smartphone and select the search icon on the top right corner of your screen. In the Search Bar, enter the desired person’s username.

There might be multiple people using a similar username, so be careful while choosing the correct person from the list that appears. Once you find the perfect match, your job’s done. Tap on their profile and start texting them without hassle!

Can Someone Else Also Add You and Send Messages to You?

If you can add someone to your chat list on Telegram, it’s only fair that the other users enjoy the same privilege. On receiving a random message on Telegram, you can choose to continue chatting and get to know your new friend.

However, if you’re not interested in talking to these people, you can also choose to block or delete their contact from your app. While Telegram allows them to text you, it also provides you with full control on how to react to their texts.

Also Read:

  • How to Make Your Status “Last Seen Recently” on Telegram
  • How to See Who Viewed Your Telegram Post
  • How to Stop Unknown Numbers from Sending Messages on Telegram
  • What Does “Last Seen A Long Time Ago” Mean on Telegram

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 script.

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 the tokeen tokens 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: " "

    10 Telegram features that will make your life easier

    Telegram is used by many, but few know about its hidden features. We talk about ten non-obvious features of the messenger that will make its use even more convenient and efficient

    Content

    1. Video calls
    2. Delayed sending of messages
    3. Sending messages without sound to the recipient
    4. Grouping dialogs into folders
    5. Video time codes
    6. Multiple accounts in one app
    7. Reminders to yourself
    8. Name display setting when forwarding messages
    9. Secret chats and self-destructing files
    10. Hashtags in chats

    Video calls

    A long-awaited feature that appeared in Telegram relatively recently. Now you can call your loved ones and colleagues using video, such as Skype or WhatsApp. In order for the new feature to appear in your application, update it to the latest version. After that, you will be able to make and receive calls from other users. To make a call, simply go to the chat with the person you want to chat with, click on the top right menu and select Video Call.

    Starting a video call in Telegram (Photo: Natalya Gavrilova for RBC)

    You can also start a video call by going to the user's profile and clicking on the camera icon.

    Starting a video call from a profile (Photo: Natalya Gavrilova for RBC)

    Call data is stored in a separate section. For Android devices, everything is simple: the "Calls" section is located in the left side menu. For iOS devices, this section must be enabled. To do this, go to "Settings" → "Recent Calls" and activate the slider for "Calls Tab".

    Calls section on an Android device (Photo: Natalya Gavrilova for RBC)

    Delayed message sending

    Another useful feature is sending delayed messages. Essentially, you are sending a normal message. However, instead of instant delivery, you can choose any day and time when the interlocutor receives it. This feature can be used when you don't want to disturb your colleagues on the weekends or as a reminder to your loved ones.

    To send a message with delayed delivery, write the text and hold the send icon. Select "Send Later" from the menu that opens. This is where you can set the date and time the message was sent.

    Sending a delayed message (Photo: Natalya Gavrilova for RBC)

    Setting the date and time of a delayed message (Photo: Natalya Gavrilova for RBC)

    The message itself will be stored in a separate place. It is easy to find it: go to the chat with the interlocutor and in the message input field you will see the calendar icon. Click on it and you will be taken to the section with scheduled messages for this user. Here you can edit or delete such a message.

    Move to the section with pending messages (Photo: Natalia Gavrilova for RBC)

    Sending silent messages to the recipient

    Silent messages are a great feature if you don't want to disturb or distract the recipient with a notification sound. For example, if you send a message at a later time or you know for sure that the other user is currently busy with something. To use this feature, simply write a message and hold down the send icon. From the menu that appears, select "Send without sound." The message will be delivered, but the user won't hear a notification even if they have Silent disabled.

    Sending a message without sound to the recipient (Photo: Natalya Gavrilova for RBC)

    Grouping conversations into folders

    For a long time, Telegram users have been missing the ability to sort everything “on the shelves”: to separate personal and work chats, as well as group chats and public channels. This feature is now available in the app. To clean up your chats, go to "Settings" → "Folders". Next, click on "Create a new folder", give it a name and add the necessary chats to it.

    Go to the "Folders" section (Photo: Natalya Gavrilova for RBC)

    Creating a new folder (Photo: Natalya Gavrilova for RBC)

    Video timecodes

    Video timecodes are another little-known yet very handy feature in Telegram. For example, you send a video to your interlocutor, but you want him to watch it from a certain minute. In order not to force the user to rewind the video himself, simply add the time from which you want to watch. For example, "watch from 3:02". The app will automatically start playing the video from now on.

    Timecode function in Telegram (Photo: Natalya Gavrilova for RBC)

    Multiple accounts in one app

    Telegram provides another cool feature: quickly switch between different accounts. This can come in handy if, for example, you want to strictly separate work and personal communication. To set up this feature for Android devices, just go to the left side menu and select "Add account". For iOS devices, you need to go to "Settings", click on "Edit" in the upper right corner and add a new account.

    Adding another account within the same application on Android (Photo: Natalya Gavrilova for RBC)

    Reminders to yourself

    You can send reminders not only to other users, but also to yourself. For other users, this works through scheduled messages, and the Favorites section will come in handy for this. Favorites are like a chat with yourself. Only you can see messages in this chat. This section is convenient to use as a cloud storage where you can send important messages, take notes, send photos and videos.

    To create a reminder, go to Favorites and write a message. Press the send message icon and select "Set Reminder" from the menu that appears. Next, you need to set the desired date and time. At the appointed time, a reminder will come to you in Telegram as a regular message.

    Setting a reminder in Telegram (Photo: Natalya Gavrilova for RBC)

    Setting the display of the name when forwarding messages

    Did you know that when someone forwards your messages, the third party sees your name and, moreover, can follow it to your Telegram profile? Well, then - write or even call, depending on your privacy settings.

    Don't want other people to be able to view your profile and get in touch with you? Then go to "Settings" → "Privacy" → "Message Forwarding". In this section, you can choose who can link to your account when forwarding messages.

    Name display setting when forwarding messages (Photo: Natalya Gavrilova for RBC)

    Secret chats and self-destructing files

    Secret chats are chats with a high degree of protection. At the very least, it is claimed that strong encryption is used for them, and also that information from them is not stored on Telegram servers. To go to this level of communication, open the contact's profile, go to the menu in the upper right corner and click "Start Secret Chat". After that, a separate chat with this user will be created in the messenger, but already secret. You cannot forward messages from such a chat.

    Creating a secret chat with a user (Photo: Natalya Gavrilova for RBC)

    Another interesting feature of secret chats is self-destructing files. It can be both ordinary messages and photos or videos. They will be deleted automatically after your interlocutor looks at them. You set the deletion interval yourself. For example, five seconds after viewing. You can't take a screenshot while in a secret chat.

    To send such a self-destructing message or file, go to the secret chat and click on the three dots in the upper right corner.


    Learn more