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

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:
  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:
  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 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:

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:

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 :