ehForwarderBot / efb-telegram-master

EFB Telegram Master Channel, a channel for EH Forwarder Bot.
GNU Affero General Public License v3.0
223 stars 79 forks source link

[BUG] Cannot send stickers in WebM format. #120

Closed Lunsit closed 2 years ago

Lunsit commented 2 years ago

Describe the bug
Cannot send stickers in webp format. image

To Reproduce
Steps to reproduce the behavior:

  1. Example sticker link: https://t.me/addstickers/Miku_u.
  2. Send any of the stickers.

Expected behavior
No error is reported after sending.

Screenshots
ffepeg can convert webp format to GIF

Version information (please complete the following information):

Master channel: Telegram Master (blueset.telegram) 2.2.5.dev4 # Default instance

Slave channel: WeChat Slave (blueset.wechat) 2.0.7 # Default instance

Middleware: Solitaire Middleware (solitaire.MatrixLauMiddleware) 1.3.0 # Default instance



**Additional context**  
The log corresponding to error one.
![image](https://user-images.githubusercontent.com/61680403/167060584-60fd9ac0-15a1-493d-9d3f-2e42c315c0e3.png)
The log corresponding to error two.
![image](https://user-images.githubusercontent.com/61680403/167060604-8876436e-f66c-4645-9026-5834b02d46d3.png)
blueset commented 2 years ago

Upon inspection, this sticker is of WebM VP9 format instead of WebP. As this is a new sticker format added to Telegram, support is not currently available in ETM.