Skip to content

Bot API 6.7 - Not much to do, just minor improvements#1969

Merged
Badiboy merged 9 commits intoeternnoir:masterfrom
coder2020official:botapi6.7
Apr 24, 2023
Merged

Bot API 6.7 - Not much to do, just minor improvements#1969
Badiboy merged 9 commits intoeternnoir:masterfrom
coder2020official:botapi6.7

Conversation

@coder2020official
Copy link
Copy Markdown
Collaborator

@coder2020official coder2020official commented Apr 21, 2023

  • Added support for launching Web Apps from inline query results by replacing the parameters switch_pm_text and switch_pm_parameter of the method answerInlineQuery with the parameter button of type InlineQueryResultsButton.
  • Added the field web_app_name to the class WriteAccessAllowed.
  • Added the field switch_inline_query_chosen_chat of the type SwitchInlineQueryChosenChat to the class InlineKeyboardButton, which allows bots to switch to inline mode in a chosen chat of the given type.
  • Added the field via_chat_folder_invite_link to the class ChatMemberUpdated.
  • Added the ability to set different bot names for different user languages using the method setMyName.
  • Added the ability to get the current bot name in the given language as the class BotName using the method getMyName.
  • Added the ability to change bot settings from the bot's profile in official Telegram apps, including the ability to set animated profile photos.
  • Added the ability to specify custom emoji entities using HTML and MarkdownV2 formatting options for bots that purchased additional usernames on Fragment.

@coder2020official
Copy link
Copy Markdown
Collaborator Author

image

*Skipping for now*

@coder2020official
Copy link
Copy Markdown
Collaborator Author

Skipping last one. While implementing found a bug.

@coder2020official
Copy link
Copy Markdown
Collaborator Author

#1971 here's the issue, will add an example of bug

…should be fixed and then todo can be done.
…placing the parameters switch_pm_text and switch_pm_parameter of the method answerInlineQuery with the parameter button of type InlineQueryResultsButton.
@coder2020official
Copy link
Copy Markdown
Collaborator Author

@Badiboy overall hopefully I'm done, except for the last part where I had to change __html_text function. While implementing I encountered a bug, I'll try to fix it if can't I'll re-implement the function in another PR

@coder2020official
Copy link
Copy Markdown
Collaborator Author

No need for another PR, was able to fix the issue without rewriting it :)

@coder2020official
Copy link
Copy Markdown
Collaborator Author

@Badiboy btw if u r here can u please tell that u've read my message?

@Badiboy
Copy link
Copy Markdown
Collaborator

Badiboy commented Apr 22, 2023

@coder2020official I'm here, but cannot follow so much notifiations, so I'm waiting for pin )
Ready for review?

@coder2020official
Copy link
Copy Markdown
Collaborator Author

Yess

@Badiboy
Copy link
Copy Markdown
Collaborator

Badiboy commented Apr 23, 2023

@coder2020official I checked everything and do not see any moment even for comment :)
🤝

@coder2020official
Copy link
Copy Markdown
Collaborator Author

Yay! Merge then

1 similar comment
@coder2020official
Copy link
Copy Markdown
Collaborator Author

Yay! Merge then

@Badiboy Badiboy merged commit abec3dc into eternnoir:master Apr 24, 2023
@coder2020official coder2020official deleted the botapi6.7 branch July 8, 2023 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants