Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
9.3
Topics in private chats
has_topics_enabledto the class User, which can be used to determine whether forum topic mode is enabled for the bot in private chats.message_thread_idandis_topic_messagein the class Message for messages in private chats with forum topic mode enabled.message_thread_idin private chats with topics in the methods sendMessage, sendPhoto, sendVideo, sendAnimation, sendAudio, sendDocument, sendPaidMedia, sendSticker, sendVideoNote, sendVoice, sendLocation, sendVenue, sendContact, sendPoll, sendDice, sendInvoice, sendGame, sendMediaGroup, copyMessage, copyMessages, forwardMessage, and forwardMessages, allowing bots to send a message to a specific topic.message_thread_idin private chats in the method sendChatAction, allowing bots to send chat actions to a specific topic in private chats.message_thread_idin private chats with topics in the method editForumTopic, deleteForumTopic, and unpinAllForumTopicMessages, allowing bots to manage topics in private chats.is_name_implicitto the classes ForumTopic and ForumTopicCreated.Gifts
last_resale_star_countwith the fieldslast_resale_currencyandlast_resale_amountin the class UniqueGiftInfo.exclude_limitedwith the parametersexclude_limited_upgradableandexclude_limited_non_upgradablein the method getBusinessAccountGifts.gifted_upgradeas a possible value ofUniqueGiftInfo.originfor messages about the upgrade of a gift that was purchased after it was sent.offeras a possible value of UniqueGiftInfo.origin for messages about the purchase of a gift through a purchase offer.gift_upgrade_sentto the class Message.gift_idto the class UniqueGift.is_from_blockchainto the class UniqueGift.exclude_from_blockchainin the method getBusinessAccountGifts, to filter out gifts that were assigned from the TON blockchain.personal_total_countandpersonal_remaining_countto the class Gift.is_premiumto the classes Gift and UniqueGift.is_upgrade_separateto the classes GiftInfo and OwnedGiftRegular.has_colorsto the class Gift.colorsto the class UniqueGift.unique_gift_variant_countto the class Gift.unique_gift_numberto the classes GiftInfo and OwnedGiftRegular.gifts_from_channelsto the class AcceptedGiftTypes.Miscellaneous
can_restrict_membersin channel chats.paid_message_star_countto the class ChatFullInfo.message_effect_idto the methods forwardMessage and copyMessage.unique_gift_colorsto the class ChatFullInfo.completed_by_chatto the class ChecklistTask.9.4
allows_users_to_create_topicsto the class User.icon_custom_emoji_idto the classes KeyboardButton and InlineKeyboardButton, allowing bots to show a custom emoji on buttons if they are able to use custom emoji in the message.styleto the classes KeyboardButton and InlineKeyboardButton, allowing bots to change the color of buttons.chat_owner_leftto the class Message.chat_owner_changedto the class Message.qualitiesto the class Video allowing bots to get information about other available qualities of a video.first_profile_audioto the class ChatFullInfo.rarityto the class UniqueGiftModel.is_burnedto the class UniqueGift.