I use this format to send text messages to a special group via my Bot in Telegram , but I don't know how to send hashtag character in my text ?
https://api.telegram.org/bot/sendMessage?chat_id
Post one message from User to the Bot. Open https://api.telegram.org/bot<Bot_token>/getUpdates page. Find this message and navigate to the result->message->chat->id key. Use this ID as the [chat_id] parameter to send personal messages to the User.
Bots can't send messages to other bots.
Telegram allows you to use commands to build something similar to Persistent Menus on Facebook Messenger. These menus can be triggered when the user types “/” (slash) in the conversation. You can use commands to trigger specific skills in your chatbot.
Use percent encoding.
For example: https://api.telegram.org/bot<token>/sendMessage?chat_id=12345678&text=This%20is%20an%20%23hashtag
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With