Telegram¶
URL Format¶
telegram://token@telegram?channels=channel-1[,channel-2,...]
URL Fields¶
- Token (Required)
URL part:telegram://token@telegram/
Query/Param Props¶
Props can be either supplied using the params argument, or through the URL using
?key=value&key=value etc.
-
Channels (Required)
-
Notification - If disabled, sends message silently
Default: ✔Yes -
ParseMode - How the text message should be parsed
Default:None
Possible values:None,Markdown,HTML,MarkdownV2 -
Preview - If disabled, no web page preview will be displayed for URLs
Default: ✔Yes -
Title - Notification title, optionally set by the sender
Default: empty
Getting a token for Telegram¶
Talk to the botfather.
Optional parameters¶
You can optionally specify the notification, parseMode and preview parameters in the URL:
telegram://token@telegram/?channels=channel¬ification=no&preview=false&parseMode=markDownv2
See the telegram documentation for more information.
Note: preview and notification are inverted in regards to their API counterparts (disable_web_page_preview and disable_notification)