Telegram api using webhook
-
Hello, I want to use the Webhook JSON to post a message through a Telegram bot
So i use HTTP POST to URL like https://api.telegram.org/bot12345:Abcdefghijk/sendMessage
And I use this JSON:
{ "chat_id":-1001210216456, "text":"#USERLOGIN%0A%0AUsername: {userlogin}%0AName: {user_display_name}%0AIP Address: {user_IP}%0ATime: {user_logged_in_datetime}", "disable_web_page_preview":true, "parse_mode":"markdown" }
But no message sent by the bot.
Do i made any mistake?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Telegram api using webhook’ is closed to new replies.