2020-05-15 09:53:19 +00:00
|
|
|
chat:123456 JSON:"text":"\# test for text only output"
|
2020-06-01 11:44:30 +00:00
|
|
|
URL:https://my-json-server.typicode.com/topkecleon/telegram-bot-bash/getMe?123456789:BASHBOTTESTSCRIPTbashbottestscript_/sendMessage
|
2019-04-26 12:41:49 +00:00
|
|
|
|
|
|
|
chat:123456 JSON:"text":"This is a normal text"
|
2020-06-01 11:44:30 +00:00
|
|
|
URL:https://my-json-server.typicode.com/topkecleon/telegram-bot-bash/getMe?123456789:BASHBOTTESTSCRIPTbashbottestscript_/sendMessage
|
2019-04-26 12:41:49 +00:00
|
|
|
|
|
|
|
chat:123456 JSON:"text":"This is a normal text
|
|
|
|
with a line break"
|
2020-06-01 11:44:30 +00:00
|
|
|
URL:https://my-json-server.typicode.com/topkecleon/telegram-bot-bash/getMe?123456789:BASHBOTTESTSCRIPTbashbottestscript_/sendMessage
|
2019-04-26 12:41:49 +00:00
|
|
|
|
2020-05-15 09:53:19 +00:00
|
|
|
chat:123456 JSON:"text":" This is a <b>HTML<\/b> text","parse_mode":"html"
|
2020-06-01 11:44:30 +00:00
|
|
|
URL:https://my-json-server.typicode.com/topkecleon/telegram-bot-bash/getMe?123456789:BASHBOTTESTSCRIPTbashbottestscript_/sendMessage
|
2019-04-26 12:41:49 +00:00
|
|
|
|
2020-05-15 09:53:19 +00:00
|
|
|
chat:123456 JSON:"text":" This is a <b>HTML<\/b> text
|
2019-04-26 12:41:49 +00:00
|
|
|
with a line break","parse_mode":"html"
|
2020-06-01 11:44:30 +00:00
|
|
|
URL:https://my-json-server.typicode.com/topkecleon/telegram-bot-bash/getMe?123456789:BASHBOTTESTSCRIPTbashbottestscript_/sendMessage
|
2019-04-26 12:41:49 +00:00
|
|
|
|
2020-05-15 09:53:19 +00:00
|
|
|
chat:123456 JSON:"text":" This is a \*MARKDOWN\* text","parse_mode":"markdown"
|
2020-06-01 11:44:30 +00:00
|
|
|
URL:https://my-json-server.typicode.com/topkecleon/telegram-bot-bash/getMe?123456789:BASHBOTTESTSCRIPTbashbottestscript_/sendMessage
|
2019-04-26 12:41:49 +00:00
|
|
|
|
2020-05-15 09:53:19 +00:00
|
|
|
chat:123456 JSON:"text":" This is a \*MARKDOWN\* text
|
2019-04-26 12:41:49 +00:00
|
|
|
with a line break","parse_mode":"markdown"
|
2020-06-01 11:44:30 +00:00
|
|
|
URL:https://my-json-server.typicode.com/topkecleon/telegram-bot-bash/getMe?123456789:BASHBOTTESTSCRIPTbashbottestscript_/sendMessage
|
2019-04-26 12:41:49 +00:00
|
|
|
|
2020-05-15 09:53:19 +00:00
|
|
|
chat:123456 JSON:"text":"\# test for keyboard\, file\, venue output"
|
2020-06-01 11:44:30 +00:00
|
|
|
URL:https://my-json-server.typicode.com/topkecleon/telegram-bot-bash/getMe?123456789:BASHBOTTESTSCRIPTbashbottestscript_/sendMessage
|
2019-04-26 12:41:49 +00:00
|
|
|
|
|
|
|
chat:123456 JSON:"text":"Text plus keyboard will appear in chat", "reply_markup": {"keyboard": [ [ "Yep, sure" , "No, highly unlikely" ] ] , "one_time_keyboard":true}
|
2020-06-01 11:44:30 +00:00
|
|
|
URL:https://my-json-server.typicode.com/topkecleon/telegram-bot-bash/getMe?123456789:BASHBOTTESTSCRIPTbashbottestscript_/sendMessage
|
2019-04-26 12:41:49 +00:00
|
|
|
|
|
|
|
chat:123456 JSON:"latitude": la10, "longitude": lo20
|
2020-06-01 11:44:30 +00:00
|
|
|
URL:https://my-json-server.typicode.com/topkecleon/telegram-bot-bash/getMe?123456789:BASHBOTTESTSCRIPTbashbottestscript_/sendLocation
|
2019-04-26 12:41:49 +00:00
|
|
|
|
|
|
|
chat:123456 JSON:"latitude": la10, "longitude": lo20, "address": "Diagon Alley N. 37", "title": "my home"
|
2020-06-01 11:44:30 +00:00
|
|
|
URL:https://my-json-server.typicode.com/topkecleon/telegram-bot-bash/getMe?123456789:BASHBOTTESTSCRIPTbashbottestscript_/sendVenue
|
2019-04-26 12:41:49 +00:00
|
|
|
|
2020-05-15 09:53:19 +00:00
|
|
|
chat:123456 JSON:"text":"\# test for new inline button"
|
2020-06-01 11:44:30 +00:00
|
|
|
URL:https://my-json-server.typicode.com/topkecleon/telegram-bot-bash/getMe?123456789:BASHBOTTESTSCRIPTbashbottestscript_/sendMessage
|
2019-04-26 12:41:49 +00:00
|
|
|
|
2019-04-26 15:19:48 +00:00
|
|
|
chat:123456 JSON:"text":"Text plus keyboard will appear in chat", "reply_markup": {"inline_keyboard": [ [ {"text":"Button Text", "url":"https://www..."}] ]}
|
2020-06-01 11:44:30 +00:00
|
|
|
URL:https://my-json-server.typicode.com/topkecleon/telegram-bot-bash/getMe?123456789:BASHBOTTESTSCRIPTbashbottestscript_/sendMessage
|
2019-04-26 12:41:49 +00:00
|
|
|
|
2020-05-15 09:53:19 +00:00
|
|
|
chat:123456 JSON:"text":"STABILO 88\/240 Fineliner point 88
|
2019-04-27 19:10:55 +00:00
|
|
|
|
2020-06-01 11:44:30 +00:00
|
|
|
[https:\/\/images\-na\.ssl\-images\-amazon\.com\/images\/I\/41oypA3kmHL\.l_SX300\.jpg]
|
2019-04-30 08:40:07 +00:00
|
|
|
second part of text
|
2020-06-01 11:44:30 +00:00
|
|
|
plus newline\.", "reply_markup": {"inline_keyboard": [ [ {"text":"Bei Amazon ansehen \.\.\.", "url":"https://www.amazon.de/dp/B014TN3JYW"}] ]}
|
|
|
|
URL:https://my-json-server.typicode.com/topkecleon/telegram-bot-bash/getMe?123456789:BASHBOTTESTSCRIPTbashbottestscript_/sendMessage
|
2019-04-27 19:10:55 +00:00
|
|
|
|
2020-05-15 09:53:19 +00:00
|
|
|
chat:123456 JSON:"text":"\# test for sendfile"
|
2020-06-01 11:44:30 +00:00
|
|
|
URL:https://my-json-server.typicode.com/topkecleon/telegram-bot-bash/getMe?123456789:BASHBOTTESTSCRIPTbashbottestscript_/sendMessage
|
2019-05-20 13:43:37 +00:00
|
|
|
|
2019-05-20 15:26:21 +00:00
|
|
|
chat:123456 JSON:"photo":"/tmp/allowed/this_is_my.gif","caption":"Text plus absolute file will appear in chat"
|
2020-06-01 11:44:30 +00:00
|
|
|
URL:https://my-json-server.typicode.com/topkecleon/telegram-bot-bash/getMe?123456789:BASHBOTTESTSCRIPTbashbottestscript_/sendPhoto
|
2019-05-20 13:43:37 +00:00
|
|
|
|
2020-05-15 09:53:19 +00:00
|
|
|
chat:123456 JSON:"action": "upload_photo"
|
2020-06-01 11:44:30 +00:00
|
|
|
URL:https://my-json-server.typicode.com/topkecleon/telegram-bot-bash/getMe?123456789:BASHBOTTESTSCRIPTbashbottestscript_/sendChatAction
|
2019-05-20 13:43:37 +00:00
|
|
|
|
2019-05-20 15:26:21 +00:00
|
|
|
chat:123456 JSON:"document":"/tmp/allowed/this_is_my.doc","caption":"Text plus absolute file will appear in chat"
|
2020-06-01 11:44:30 +00:00
|
|
|
URL:https://my-json-server.typicode.com/topkecleon/telegram-bot-bash/getMe?123456789:BASHBOTTESTSCRIPTbashbottestscript_/sendDocument
|
2019-05-20 13:43:37 +00:00
|
|
|
|
2020-05-15 09:53:19 +00:00
|
|
|
chat:123456 JSON:"action": "upload_document"
|
2020-06-01 11:44:30 +00:00
|
|
|
URL:https://my-json-server.typicode.com/topkecleon/telegram-bot-bash/getMe?123456789:BASHBOTTESTSCRIPTbashbottestscript_/sendChatAction
|
2020-05-15 09:53:19 +00:00
|
|
|
|