|
88 | 88 | args_order: [scope, language_code] |
89 | 89 | editChatInviteLink: |
90 | 90 | args_order: [chat_id, invite_link, expire_date, member_limit, name, creates_join_request] |
| 91 | + editEphemeralMessageMedia: |
| 92 | + supports_attach_references: true |
| 93 | + editEphemeralMessageText: |
| 94 | + args_order: [chat_id, ephemeral_message_id, receiver_user_id, text, entities, link_preview_options, parse_mode, reply_markup, rich_message] |
91 | 95 | editForumTopic: |
92 | 96 | args_order: [chat_id, message_thread_id, name, icon_custom_emoji_id] |
93 | 97 | editMessageCaption: |
@@ -133,50 +137,70 @@ api: |
133 | 137 | restrictChatMember: |
134 | 138 | args_order: [chat_id, user_id, permissions, until_date, use_independent_chat_permissions] |
135 | 139 | sendAnimation: |
136 | | - args_order: [chat_id, animation, duration, width, height, thumbnail, caption, reply_parameters, reply_markup, parse_mode, disable_notification, caption_entities, message_thread_id, protect_content, has_spoiler, business_connection_id] |
| 140 | + args_order: [chat_id, animation, duration, width, height, thumbnail, caption, reply_parameters, reply_markup, parse_mode, disable_notification, caption_entities, message_thread_id, protect_content, has_spoiler, business_connection_id, allow_paid_broadcast, callback_query_id, direct_messages_topic_id, message_effect_id, receiver_user_id, show_caption_above_media, suggested_post_parameters] |
| 141 | + legacy_ephemeral_parameters: true |
137 | 142 | sendAudio: |
138 | | - args_order: [chat_id, audio, caption, duration, performer, title, thumbnail, reply_parameters, reply_markup, parse_mode, disable_notification, caption_entities, message_thread_id, protect_content, business_connection_id] |
| 143 | + args_order: [chat_id, audio, caption, duration, performer, title, thumbnail, reply_parameters, reply_markup, parse_mode, disable_notification, caption_entities, message_thread_id, protect_content, business_connection_id, allow_paid_broadcast, callback_query_id, direct_messages_topic_id, message_effect_id, receiver_user_id, suggested_post_parameters] |
| 144 | + legacy_ephemeral_parameters: true |
139 | 145 | sendChatAction: |
140 | 146 | args_order: [chat_id, action, message_thread_id, business_connection_id] |
141 | 147 | sendContact: |
142 | | - args_order: [chat_id, phone_number, first_name, last_name, vcard, disable_notification, reply_parameters, reply_markup, message_thread_id, protect_content, business_connection_id] |
| 148 | + args_order: [chat_id, phone_number, first_name, last_name, vcard, disable_notification, reply_parameters, reply_markup, message_thread_id, protect_content, business_connection_id, allow_paid_broadcast, callback_query_id, direct_messages_topic_id, message_effect_id, receiver_user_id, suggested_post_parameters] |
| 149 | + legacy_ephemeral_parameters: true |
143 | 150 | sendDice: |
144 | 151 | args_order: [chat_id, disable_notification, reply_parameters, reply_markup, emoji, message_thread_id, protect_content, business_connection_id] |
145 | 152 | sendDocument: |
146 | | - args_order: [chat_id, document, thumbnail, caption, reply_parameters, reply_markup, parse_mode, disable_notification, caption_entities, disable_content_type_detection, message_thread_id, protect_content, business_connection_id] |
| 153 | + args_order: [chat_id, document, thumbnail, caption, reply_parameters, reply_markup, parse_mode, disable_notification, caption_entities, disable_content_type_detection, message_thread_id, protect_content, business_connection_id, allow_paid_broadcast, callback_query_id, direct_messages_topic_id, message_effect_id, receiver_user_id, suggested_post_parameters] |
| 154 | + legacy_ephemeral_parameters: true |
147 | 155 | sendGame: |
148 | 156 | args_order: [chat_id, game_short_name, reply_parameters, reply_markup, disable_notification, message_thread_id, protect_content, business_connection_id] |
149 | 157 | sendInvoice: |
150 | 158 | args_order: [chat_id, title, description, payload, provider_token, currency, prices, provider_data, photo_url, photo_size, photo_width, photo_height, need_name, need_phone_number, need_email, need_shipping_address, send_phone_number_to_provider, send_email_to_provider, is_flexible, reply_parameters, reply_markup, disable_notification, message_thread_id, max_tip_amount, suggested_tip_amounts, start_parameter, protect_content] |
151 | 159 | args: |
152 | 160 | provider_token: {declaration_required: true} |
153 | 161 | sendLocation: |
154 | | - args_order: [chat_id, latitude, longitude, live_period, reply_parameters, reply_markup, disable_notification, horizontal_accuracy, heading, proximity_alert_radius, message_thread_id, protect_content, business_connection_id] |
| 162 | + args_order: [chat_id, latitude, longitude, live_period, reply_parameters, reply_markup, disable_notification, horizontal_accuracy, heading, proximity_alert_radius, message_thread_id, protect_content, business_connection_id, allow_paid_broadcast, callback_query_id, direct_messages_topic_id, message_effect_id, receiver_user_id, suggested_post_parameters] |
| 163 | + legacy_ephemeral_parameters: true |
| 164 | + sendLivePhoto: |
| 165 | + args_order: [chat_id, live_photo, photo, allow_paid_broadcast, business_connection_id, callback_query_id, caption, caption_entities, direct_messages_topic_id, disable_notification, has_spoiler, message_effect_id, message_thread_id, parse_mode, protect_content, receiver_user_id, reply_markup, reply_parameters, show_caption_above_media, suggested_post_parameters] |
| 166 | + legacy_ephemeral_parameters: true |
155 | 167 | sendMediaGroup: |
156 | 168 | args_order: [chat_id, media, disable_notification, reply_parameters, message_thread_id, protect_content, business_connection_id, allow_paid_broadcast, direct_messages_topic_id, message_effect_id] |
157 | 169 | supports_attach_references: true |
158 | 170 | sendPaidMedia: |
159 | 171 | supports_attach_references: true |
160 | 172 | sendRichMessage: |
161 | 173 | supports_attach_references: true |
| 174 | + direct_exclude: [ephemeral_message_parameters] |
| 175 | + sendRichMessageDraft: |
| 176 | + args_order: [chat_id, draft_id, rich_message, message_thread_id, can_stop, keep_on_stop] |
162 | 177 | sendMessage: |
163 | | - args_order: [chat_id, text, link_preview_options, reply_parameters, reply_markup, parse_mode, disable_notification, entities, message_thread_id, protect_content, business_connection_id] |
| 178 | + args_order: [chat_id, text, link_preview_options, reply_parameters, reply_markup, parse_mode, disable_notification, entities, message_thread_id, protect_content, business_connection_id, allow_paid_broadcast, callback_query_id, direct_messages_topic_id, message_effect_id, receiver_user_id, suggested_post_parameters] |
| 179 | + legacy_ephemeral_parameters: true |
| 180 | + sendMessageDraft: |
| 181 | + args_order: [chat_id, draft_id, entities, message_thread_id, parse_mode, text, can_stop, keep_on_stop] |
164 | 182 | sendPhoto: |
165 | | - args_order: [chat_id, photo, caption, reply_parameters, reply_markup, parse_mode, disable_notification, caption_entities, message_thread_id, protect_content, has_spoiler, business_connection_id] |
| 183 | + args_order: [chat_id, photo, caption, reply_parameters, reply_markup, parse_mode, disable_notification, caption_entities, message_thread_id, protect_content, has_spoiler, business_connection_id, allow_paid_broadcast, callback_query_id, direct_messages_topic_id, message_effect_id, receiver_user_id, show_caption_above_media, suggested_post_parameters] |
| 184 | + legacy_ephemeral_parameters: true |
166 | 185 | sendPoll: |
167 | 186 | args_order: [chat_id, question, options, disable_notification, reply_parameters, reply_markup, is_anonymous, type, allows_multiple_answers, correct_option_id, explanation, explanation_parse_mode, explanation_entities, open_period, close_date, is_closed, message_thread_id, protect_content, business_connection_id] |
168 | 187 | args: |
169 | 188 | is_anonymous: {default: true} |
170 | 189 | sendSticker: |
171 | | - args_order: [chat_id, sticker, reply_parameters, reply_markup, disable_notification, message_thread_id, protect_content, emoji, business_connection_id] |
| 190 | + args_order: [chat_id, sticker, reply_parameters, reply_markup, disable_notification, message_thread_id, protect_content, emoji, business_connection_id, allow_paid_broadcast, callback_query_id, direct_messages_topic_id, message_effect_id, receiver_user_id, suggested_post_parameters] |
| 191 | + legacy_ephemeral_parameters: true |
172 | 192 | sendVenue: |
173 | | - args_order: [chat_id, latitude, longitude, title, address, foursquare_id, foursquare_type, disable_notification, reply_parameters, reply_markup, google_place_id, google_place_type, message_thread_id, protect_content, business_connection_id] |
| 193 | + args_order: [chat_id, latitude, longitude, title, address, foursquare_id, foursquare_type, disable_notification, reply_parameters, reply_markup, google_place_id, google_place_type, message_thread_id, protect_content, business_connection_id, allow_paid_broadcast, callback_query_id, direct_messages_topic_id, message_effect_id, receiver_user_id, suggested_post_parameters] |
| 194 | + legacy_ephemeral_parameters: true |
174 | 195 | sendVideo: |
175 | | - args_order: [chat_id, video, supports_streaming, duration, width, height, thumbnail, caption, reply_parameters, reply_markup, parse_mode, disable_notification, caption_entities, message_thread_id, protect_content, has_spoiler, business_connection_id] |
| 196 | + args_order: [chat_id, video, supports_streaming, duration, width, height, thumbnail, caption, reply_parameters, reply_markup, parse_mode, disable_notification, caption_entities, message_thread_id, protect_content, has_spoiler, business_connection_id, allow_paid_broadcast, callback_query_id, cover, direct_messages_topic_id, message_effect_id, receiver_user_id, show_caption_above_media, start_timestamp, suggested_post_parameters] |
| 197 | + legacy_ephemeral_parameters: true |
176 | 198 | sendVideoNote: |
177 | | - args_order: [chat_id, video_note, reply_parameters, disable_notification, duration, length, thumbnail, reply_markup, message_thread_id, protect_content, business_connection_id] |
| 199 | + args_order: [chat_id, video_note, reply_parameters, disable_notification, duration, length, thumbnail, reply_markup, message_thread_id, protect_content, business_connection_id, allow_paid_broadcast, callback_query_id, direct_messages_topic_id, message_effect_id, receiver_user_id, suggested_post_parameters] |
| 200 | + legacy_ephemeral_parameters: true |
178 | 201 | sendVoice: |
179 | | - args_order: [chat_id, voice, caption, duration, reply_parameters, reply_markup, parse_mode, disable_notification, caption_entities, message_thread_id, protect_content, business_connection_id] |
| 202 | + args_order: [chat_id, voice, caption, duration, reply_parameters, reply_markup, parse_mode, disable_notification, caption_entities, message_thread_id, protect_content, business_connection_id, allow_paid_broadcast, callback_query_id, direct_messages_topic_id, message_effect_id, receiver_user_id, suggested_post_parameters] |
| 203 | + legacy_ephemeral_parameters: true |
180 | 204 | postStory: |
181 | 205 | supports_attach_references: true |
182 | 206 | setBusinessAccountProfilePhoto: |
|
0 commit comments