Skip to content

Telegram API 5.3 #610

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Jul 4, 2021
Merged

Telegram API 5.3 #610

merged 14 commits into from
Jul 4, 2021

Conversation

Olegt0rr
Copy link
Contributor

Description

Add Telegram API 5.3 support

Type of change

Please delete options that are not relevant.

  • Documentation (typos, code examples or any documentation update)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A
  • Test B

Test Configuration:

  • Operating System:
  • Python version:

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

@Olegt0rr Olegt0rr added the api Issues or new features of Bot API label Jun 25, 2021
@Olegt0rr Olegt0rr added this to the 2.14 milestone Jun 25, 2021
@evgfilim1 evgfilim1 linked an issue Jun 26, 2021 that may be closed by this pull request
11 tasks
@dmytrohoi dmytrohoi mentioned this pull request Jun 28, 2021
11 tasks
@@ -225,6 +225,7 @@ class Methods(Helper):
GET_USER_PROFILE_PHOTOS = Item() # getUserProfilePhotos
GET_FILE = Item() # getFile
KICK_CHAT_MEMBER = Item() # kickChatMember
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we don't need this value here

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Until Bot API supports this method (or 3.0 released) this value can be available here, no worry about it

@@ -244,12 +245,14 @@ class Methods(Helper):
LEAVE_CHAT = Item() # leaveChat
GET_CHAT = Item() # getChat
GET_CHAT_ADMINISTRATORS = Item() # getChatAdministrators
GET_CHAT_MEMBERS_COUNT = Item() # getChatMembersCount
GET_CHAT_MEMBER_COUNT = Item() # getChatMemberCount
GET_CHAT_MEMBERS_COUNT = Item() # getChatMembersCount (renamed to getChatMemberCount)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same

@JrooTJunior JrooTJunior marked this pull request as ready for review July 4, 2021 20:37
@JrooTJunior JrooTJunior merged commit f18e449 into dev-2.x Jul 4, 2021
@JrooTJunior JrooTJunior deleted the dev-2.x-api-5.3 branch December 19, 2021 03:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Issues or new features of Bot API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Tracking] Bot API 5.3
4 participants