![]() To send an MP4 video (maximum file size of 50 MB) with an optional caption: telegram-send -video birds.mp4 -caption "Singing Birds" To send a GIF or a soundless MP4 video (encoded as H.264/MPEG-4 AVC with a maximum file size of 50 MB) with an optional caption: telegram-send -animation kitty.gif -caption "□" To send a sticker: telegram-send -sticker sticker.webp To send an image (maximum file size of 10 MB) with an optional caption: telegram-send -image moon.jpg -caption "The Moon at Night" To send a file (maximum file size of 50 MB) with an optional caption: telegram-send -file quran.pdf -caption "The Noble Qur'an" With this option you can send the output of any program. To send a message from stdin: printf 'With\nmultiple\nlines' | telegram-send -stdin ![]() To send a message without link previews: telegram-send -disable-web-page-preview "" The -pre flag formats messages as fixed-width text: telegram-send -pre "monospace" ![]() Information on supported formatting, see the formatting options. Note that not all Markdown syntax or all HTML tags are supported. Telegram-send -format markdown "||Do good and find good!||" Telegram-send -format html "fixed-width messages are also supported" To send a message using Markdown or HTML formatting: telegram-send -format markdown "Only the *bold* use _italics_" There is a maximum message length of 4096 characters, larger messages will beĪutomatically split up into smaller ones and sent separately. To send a message: telegram-send "Hello, World!"
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |