adapter-telegram
adapter-telegram copied to clipboard
如何发送gif动图?
使用File.photo(bytes)构造的消息段发送后是静态图片 使用File.animation(bytes)构造的消息段发送后会变成document文件 使用File.animation(("xxxx.gif",bytes))构造的消息端发送后虽然能播放,但是格式变为了mp4,后缀名变为了xxx.gif.mp4 如何通过消息段正确的发送gif图片?
暂时找不到解决办法,方法三的 Resuset 中已经带了 mime_type,但 telegram 不认。