Animated GIFs in Telegram

#1

Hi,
If I manually send a GIF file in Telegram by attaching it, it will animate in the thread.

If I use the Send An Image (which to my knowledge attaches the file referenced by the URL) it seems to show up as a statid image. When I try to download it, it’s a jpeg.

Has anyone had any success posting automatically animated gigs in Telegram?

Thanks

(Daniel Beckett) #2

Hi @gwalsh,

You can send GIFs in Telegram by using a custom request with the sendDocument method from their Bot API.

{
  "chat_id": "{{catchall.channel_id}}",
  "document": "https://media.giphy.com/media/22zIpaS7fhqU/giphy.gif"
}

Metadata
method sendDocument

Hope that helps. :slight_smile:

Upload HD images
(Kevin) #3

Cool thx. Any idea why this isn`t working inside a group?

Best Kevin