Skip to content

4.5 bot api update arrived #1689

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

Closed
8 tasks done
Poolitzer opened this issue Jan 2, 2020 · 5 comments · Fixed by #1508
Closed
8 tasks done

4.5 bot api update arrived #1689

Poolitzer opened this issue Jan 2, 2020 · 5 comments · Fixed by #1508

Comments

@Poolitzer
Copy link
Member

Poolitzer commented Jan 2, 2020

Aint much, but its honest work

  • Two new messageEntities, strikethrough and underline
  • nested messageEntities, we have a PR for that somewhere
  • New parsemode, MardownV2
  • New file_unique_id for Animation, Audio, Document, PassportFile, PhotoSize, Sticker, Video, VideoNote, Voice, File
  • small_file_unique_id and big_file_unique_id to the object ChatPhoto.
  • custom_title for ChatMember
  • new method setChatAdministratorCustomTitle
  • new slow_mode_delay for Chat object
@Poolitzer
Copy link
Member Author

@dmytrohoi get yourself in here :)

@Bibo-Joshi
Copy link
Member

Already got started on the MessageEntities & MarkdownV2. Let's make #1508 the PR for API 4.5. I'll push my changes to the nested-entities branch some time tomorrow.

@dmytrohoi could you rebase #1690 to nested-entities, so we can merge all the API changes to master in one go?
Please ping me here, if you want to get started on the unique file id stuff, so we don't do the work twice ;)

@dmytrohoi
Copy link
Contributor

@Bibo-Joshi squashed all commits to one, added tests and checked using flake8. PR has been directed to the nested-entities branch.

I think, the nested-entities branch needs to pull latest commits from master branch, before you can merge #1690 PR to it. (My patch-1 was forked from the master and have 44 more commits than nested-entities.)

All passed, ready to next instructions. ;)

[FYI: I'm not currently working on the "unique file identifier" part.]

@Bibo-Joshi Bibo-Joshi mentioned this issue Jan 3, 2020
10 tasks
@Poolitzer
Copy link
Member Author

@Bibo-Joshi
Copy link
Member

@dmytrohoi It took a bit longer but the MessageEntity and MarkdownV2 stuff is now pushed no nested-entities. When you're done with the file ID stuff, please pr to that branch :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants