Skip to content

[FEATURE] API 5.1 support #2423

@Poolitzer

Description

@Poolitzer

It's a bright new world, and a bright new update.

Two new update types + stuff @Bibo-Joshi

  • ChatMemberUpdated
  • add two for this to Update
  • add to effective_chat
  • add to effective_user
  • MessageAutoDeleteTimerChanged + attribute to message

Invite Links @Poolitzer

  • ChatInviteLink
  • createChatInviteLink
  • editChatInviteLink
  • revokeChatInviteLink
  • change description of the original InviteLink method

Voice chat info @starry69

  • VoiceChatStarted
  • VoiceChatEnded
  • VoiceChatParticipantsInvited
  • all three to Message
  • ChatMember has a new attribute, can_manage_voice_chats
  • promoteChatMember has the corresponding parameter

And more @harshil21

  • InlinequeryResult has a new note
  • revoke_messages for kickChatMember to delete all messages from the user
  • can_manage_chat as attribute to ChatMember and promoteChatMember
  • bowling dice animation YEAH!

Metadata

Metadata

Assignees

No one assigned

    Labels

    ⚙️ bot-apiaffected functionality: bot-api

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions