Options for posting via the API to Telegram
Please see details on using the Telegram API:
JSON for a basic post with a link and image to Telegram:
"post": "The best Telegram message ever #best https://www.telegram.com",
Telegram will automatically preview the link in the channel or group unless there is an image or video included. In the above example the image will show. Removing the image will cause the link preview to show.
If your video doesn't end in a known video extension such as mp4, please use the
isVideoparameter. See the /post endpoint for details.
Only one URL is allowed with a Telegram animated GIF. If the media URL does not end in ".gif" or ".GIF", set the
"isVideo": true, // Set to true if the mediaURL does not end in .gif or .GIF