diff --git a/docs/api/tg/types/chat_member_updated.rst b/docs/api/tg/types/chat_member_updated.rst index 988500d71..9d134f2c1 100644 --- a/docs/api/tg/types/chat_member_updated.rst +++ b/docs/api/tg/types/chat_member_updated.rst @@ -33,7 +33,7 @@ chat_member_updated_t .. cpp:member:: optional_t via_join_request - Optional. True, if the user joined the chat after sending a direct join request and being approved by an administrator + Optional. True, if the user joined the chat after sending a direct join request without using an invite link and being approved by an administrator .. cpp:member:: optional_t via_chat_folder_invite_link diff --git a/docs/api/tg/types/update.rst b/docs/api/tg/types/update.rst index 360e65d5f..7c3b1dabd 100644 --- a/docs/api/tg/types/update.rst +++ b/docs/api/tg/types/update.rst @@ -33,7 +33,7 @@ update_t .. cpp:member:: optional_t business_message - Optional. New non-service message from a connected business account + Optional. New message from a connected business account .. cpp:member:: optional_t edited_business_message diff --git a/include/banana/detail/generated/types.hpp b/include/banana/detail/generated/types.hpp index b5356babb..7e793c839 100644 --- a/include/banana/detail/generated/types.hpp +++ b/include/banana/detail/generated/types.hpp @@ -123,7 +123,7 @@ struct chat_full_info_t { optional_t has_private_forwards; // Optional. True, if privacy settings of the other party in the private chat allows to use tg://user?id= links only in chats with the user optional_t has_restricted_voice_and_video_messages; // Optional. True, if the privacy settings of the other party restrict sending voice and video note messages in the private chat optional_t join_to_send_messages; // Optional. True, if users need to join the supergroup before they can send messages - optional_t join_by_request; // Optional. True, if all users directly joining the supergroup need to be approved by supergroup administrators + optional_t join_by_request; // Optional. True, if all users directly joining the supergroup without using an invite link need to be approved by supergroup administrators optional_t description; // Optional. Description, for groups, supergroups and channel chats optional_t invite_link; // Optional. Primary invite link, for groups, supergroups and channel chats optional_t pinned_message; // Optional. The most recent pinned message (by sending date) @@ -456,7 +456,7 @@ struct update_t { optional_t channel_post; // Optional. New incoming channel post of any kind - text, photo, sticker, etc. optional_t edited_channel_post; // Optional. New version of a channel post that is known to the bot and was edited. This update may at times be triggered by changes to message fields that are either unavailable or not actively used by your bot. optional_t business_connection; // Optional. The bot was connected to or disconnected from a business account, or a user edited an existing connection with the bot - optional_t business_message; // Optional. New non-service message from a connected business account + optional_t business_message; // Optional. New message from a connected business account optional_t edited_business_message; // Optional. New version of a message from a connected business account optional_t deleted_business_messages; // Optional. Messages were deleted from a connected business account optional_t message_reaction; // Optional. A reaction to a message was changed by a user. The bot must be an administrator in the chat and must explicitly specify "message_reaction" in the list of allowed_updates to receive these updates. The update isn't received for reactions set by bots. @@ -1036,7 +1036,7 @@ struct chat_member_updated_t { chat_member_t old_chat_member; // Previous information about the chat member chat_member_t new_chat_member; // New information about the chat member optional_t invite_link; // Optional. Chat invite link, which was used by the user to join the chat; for joining by invite link events only. - optional_t via_join_request; // Optional. True, if the user joined the chat after sending a direct join request and being approved by an administrator + optional_t via_join_request; // Optional. True, if the user joined the chat after sending a direct join request without using an invite link and being approved by an administrator optional_t via_chat_folder_invite_link; // Optional. True, if the user joined the chat via a chat folder invite link }; diff --git a/script/api.json b/script/api.json index fa3d478c7..fb4af604f 100644 --- a/script/api.json +++ b/script/api.json @@ -5173,7 +5173,7 @@ }, { "default": true, - "description": "Optional. True, if all users directly joining the supergroup need to be approved by supergroup administrators", + "description": "Optional. True, if all users directly joining the supergroup without using an invite link need to be approved by supergroup administrators", "name": "join_by_request", "optional": true, "type": "Boolean" @@ -5773,7 +5773,7 @@ "type": "ChatInviteLink" }, { - "description": "Optional. True, if the user joined the chat after sending a direct join request and being approved by an administrator", + "description": "Optional. True, if the user joined the chat after sending a direct join request without using an invite link and being approved by an administrator", "name": "via_join_request", "optional": true, "type": "Boolean" @@ -11338,7 +11338,7 @@ "type": "BusinessConnection" }, { - "description": "Optional. New non-service message from a connected business account", + "description": "Optional. New message from a connected business account", "name": "business_message", "optional": true, "type": "Message" diff --git a/script/custom_v2.json b/script/custom_v2.json index fbfeced24..318257a81 100644 --- a/script/custom_v2.json +++ b/script/custom_v2.json @@ -7668,7 +7668,7 @@ }, { "name": "business_message", - "description": "*Optional*. New non-service message from a connected business account", + "description": "*Optional*. New message from a connected business account", "required": false, "type_info": { "type": "reference", @@ -8352,7 +8352,7 @@ }, { "name": "join_by_request", - "description": "*Optional*. *True*, if all users directly joining the supergroup need to be approved by supergroup administrators", + "description": "*Optional*. *True*, if all users directly joining the supergroup without using an invite link need to be approved by supergroup administrators", "required": false, "type_info": { "type": "bool", @@ -13086,7 +13086,7 @@ }, { "name": "via_join_request", - "description": "*Optional*. True, if the user joined the chat after sending a direct join request and being approved by an administrator", + "description": "*Optional*. True, if the user joined the chat after sending a direct join request without using an invite link and being approved by an administrator", "required": false, "type_info": { "type": "bool"