Skip to content

如何发送gif动图? #54

@rhyryy

Description

@rhyryy

使用File.photo(bytes)构造的消息段发送后是静态图片
使用File.animation(bytes)构造的消息段发送后会变成document文件
使用File.animation(("xxxx.gif",bytes))构造的消息端发送后虽然能播放,但是格式变为了mp4,后缀名变为了xxx.gif.mp4
如何通过消息段正确的发送gif图片?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions