|
1682 | 1682 | { |
1683 | 1683 | "OriginalName": "sendMediaGroup", |
1684 | 1684 | "ConvertedName": "SendMediaGroup", |
1685 | | - "Description": "Use this method to send a group of photos, videos, documents or audios as an album. Documents and audio files can be only grouped in an album with messages of the same type. On success, an array of Messages that were sent is returned.", |
| 1685 | + "Description": "Use this method to send a group of photos, videos, documents or audios as an album. Documents and audio files can be only grouped in an album with messages of the same type. On success, an array of Message objects that were sent is returned.", |
1686 | 1686 | "Fields": [ |
1687 | 1687 | { |
1688 | 1688 | "OriginalName": "business_connection_id", |
|
1757 | 1757 | "Optional": true |
1758 | 1758 | } |
1759 | 1759 | ], |
1760 | | - "OriginalReturnType": "array of Messages", |
| 1760 | + "OriginalReturnType": "array of Message", |
1761 | 1761 | "ConvertedReturnType": "Message[]" |
1762 | 1762 | }, |
1763 | 1763 | { |
|
2203 | 2203 | { |
2204 | 2204 | "OriginalName": "options", |
2205 | 2205 | "ConvertedName": "Options", |
2206 | | - "Description": "A JSON-serialized list of 2-10 answer options", |
| 2206 | + "Description": "A JSON-serialized list of 2-12 answer options", |
2207 | 2207 | "OriginalFieldType": "Array of InputPollOption", |
2208 | 2208 | "ConvertedFieldType": "InputPollOption[]", |
2209 | 2209 | "Optional": false |
|
2340 | 2340 | "OriginalReturnType": "Message", |
2341 | 2341 | "ConvertedReturnType": "Message" |
2342 | 2342 | }, |
| 2343 | + { |
| 2344 | + "OriginalName": "sendChecklist", |
| 2345 | + "ConvertedName": "SendChecklist", |
| 2346 | + "Description": "Use this method to send a checklist on behalf of a connected business account. On success, the sent Message is returned.", |
| 2347 | + "Fields": [ |
| 2348 | + { |
| 2349 | + "OriginalName": "business_connection_id", |
| 2350 | + "ConvertedName": "BusinessConnectionId", |
| 2351 | + "Description": "Unique identifier of the business connection on behalf of which the message will be sent", |
| 2352 | + "OriginalFieldType": "String", |
| 2353 | + "ConvertedFieldType": "string", |
| 2354 | + "Optional": false |
| 2355 | + }, |
| 2356 | + { |
| 2357 | + "OriginalName": "chat_id", |
| 2358 | + "ConvertedName": "ChatId", |
| 2359 | + "Description": "Unique identifier for the target chat", |
| 2360 | + "OriginalFieldType": "Integer", |
| 2361 | + "ConvertedFieldType": "int64", |
| 2362 | + "Optional": false |
| 2363 | + }, |
| 2364 | + { |
| 2365 | + "OriginalName": "checklist", |
| 2366 | + "ConvertedName": "Checklist", |
| 2367 | + "Description": "A JSON-serialized object for the checklist to send", |
| 2368 | + "OriginalFieldType": "InputChecklist", |
| 2369 | + "ConvertedFieldType": "InputChecklist", |
| 2370 | + "Optional": false |
| 2371 | + }, |
| 2372 | + { |
| 2373 | + "OriginalName": "disable_notification", |
| 2374 | + "ConvertedName": "DisableNotification", |
| 2375 | + "Description": "Sends the message silently. Users will receive a notification with no sound.", |
| 2376 | + "OriginalFieldType": "Boolean", |
| 2377 | + "ConvertedFieldType": "bool", |
| 2378 | + "Optional": true |
| 2379 | + }, |
| 2380 | + { |
| 2381 | + "OriginalName": "protect_content", |
| 2382 | + "ConvertedName": "ProtectContent", |
| 2383 | + "Description": "Protects the contents of the sent message from forwarding and saving", |
| 2384 | + "OriginalFieldType": "Boolean", |
| 2385 | + "ConvertedFieldType": "bool", |
| 2386 | + "Optional": true |
| 2387 | + }, |
| 2388 | + { |
| 2389 | + "OriginalName": "message_effect_id", |
| 2390 | + "ConvertedName": "MessageEffectId", |
| 2391 | + "Description": "Unique identifier of the message effect to be added to the message", |
| 2392 | + "OriginalFieldType": "String", |
| 2393 | + "ConvertedFieldType": "string", |
| 2394 | + "Optional": true |
| 2395 | + }, |
| 2396 | + { |
| 2397 | + "OriginalName": "reply_parameters", |
| 2398 | + "ConvertedName": "ReplyParameters", |
| 2399 | + "Description": "A JSON-serialized object for description of the message to reply to", |
| 2400 | + "OriginalFieldType": "ReplyParameters", |
| 2401 | + "ConvertedFieldType": "ReplyParameters", |
| 2402 | + "Optional": true |
| 2403 | + }, |
| 2404 | + { |
| 2405 | + "OriginalName": "reply_markup", |
| 2406 | + "ConvertedName": "ReplyMarkup", |
| 2407 | + "Description": "A JSON-serialized object for an inline keyboard", |
| 2408 | + "OriginalFieldType": "InlineKeyboardMarkup", |
| 2409 | + "ConvertedFieldType": "InlineKeyboardMarkup", |
| 2410 | + "Optional": true |
| 2411 | + } |
| 2412 | + ], |
| 2413 | + "OriginalReturnType": "Message", |
| 2414 | + "ConvertedReturnType": "Message" |
| 2415 | + }, |
2343 | 2416 | { |
2344 | 2417 | "OriginalName": "sendDice", |
2345 | 2418 | "ConvertedName": "SendDice", |
|
2749 | 2822 | { |
2750 | 2823 | "OriginalName": "can_manage_chat", |
2751 | 2824 | "ConvertedName": "CanManageChat", |
2752 | | - "Description": "Pass True if the administrator can access the chat event log, get boost list, see hidden supergroup and channel members, report spam messages and ignore slow mode. Implied by any other administrator privilege.", |
| 2825 | + "Description": "Pass True if the administrator can access the chat event log, get boost list, see hidden supergroup and channel members, report spam messages, ignore slow mode, and send messages to the chat without paying Telegram Stars. Implied by any other administrator privilege.", |
2753 | 2826 | "OriginalFieldType": "Boolean", |
2754 | 2827 | "ConvertedFieldType": "bool", |
2755 | 2828 | "Optional": true |
|
2829 | 2902 | { |
2830 | 2903 | "OriginalName": "can_post_messages", |
2831 | 2904 | "ConvertedName": "CanPostMessages", |
2832 | | - "Description": "Pass True if the administrator can post messages in the channel, or access channel statistics; for channels only", |
| 2905 | + "Description": "Pass True if the administrator can post messages in the channel, approve suggested posts, or access channel statistics; for channels only", |
2833 | 2906 | "OriginalFieldType": "Boolean", |
2834 | 2907 | "ConvertedFieldType": "bool", |
2835 | 2908 | "Optional": true |
|
4617 | 4690 | "OriginalReturnType": "Message or True", |
4618 | 4691 | "ConvertedReturnType": "EditMessageResult" |
4619 | 4692 | }, |
| 4693 | + { |
| 4694 | + "OriginalName": "editMessageChecklist", |
| 4695 | + "ConvertedName": "EditMessageChecklist", |
| 4696 | + "Description": "Use this method to edit a checklist on behalf of a connected business account. On success, the edited Message is returned.", |
| 4697 | + "Fields": [ |
| 4698 | + { |
| 4699 | + "OriginalName": "business_connection_id", |
| 4700 | + "ConvertedName": "BusinessConnectionId", |
| 4701 | + "Description": "Unique identifier of the business connection on behalf of which the message will be sent", |
| 4702 | + "OriginalFieldType": "String", |
| 4703 | + "ConvertedFieldType": "string", |
| 4704 | + "Optional": false |
| 4705 | + }, |
| 4706 | + { |
| 4707 | + "OriginalName": "chat_id", |
| 4708 | + "ConvertedName": "ChatId", |
| 4709 | + "Description": "Unique identifier for the target chat", |
| 4710 | + "OriginalFieldType": "Integer", |
| 4711 | + "ConvertedFieldType": "int64", |
| 4712 | + "Optional": false |
| 4713 | + }, |
| 4714 | + { |
| 4715 | + "OriginalName": "message_id", |
| 4716 | + "ConvertedName": "MessageId", |
| 4717 | + "Description": "Unique identifier for the target message", |
| 4718 | + "OriginalFieldType": "Integer", |
| 4719 | + "ConvertedFieldType": "int64", |
| 4720 | + "Optional": false |
| 4721 | + }, |
| 4722 | + { |
| 4723 | + "OriginalName": "checklist", |
| 4724 | + "ConvertedName": "Checklist", |
| 4725 | + "Description": "A JSON-serialized object for the new checklist", |
| 4726 | + "OriginalFieldType": "InputChecklist", |
| 4727 | + "ConvertedFieldType": "InputChecklist", |
| 4728 | + "Optional": false |
| 4729 | + }, |
| 4730 | + { |
| 4731 | + "OriginalName": "reply_markup", |
| 4732 | + "ConvertedName": "ReplyMarkup", |
| 4733 | + "Description": "A JSON-serialized object for the new inline keyboard for the message", |
| 4734 | + "OriginalFieldType": "InlineKeyboardMarkup", |
| 4735 | + "ConvertedFieldType": "InlineKeyboardMarkup", |
| 4736 | + "Optional": true |
| 4737 | + } |
| 4738 | + ], |
| 4739 | + "OriginalReturnType": "Message", |
| 4740 | + "ConvertedReturnType": "Message" |
| 4741 | + }, |
4620 | 4742 | { |
4621 | 4743 | "OriginalName": "editMessageReplyMarkup", |
4622 | 4744 | "ConvertedName": "EditMessageReplyMarkup", |
|
5007 | 5129 | { |
5008 | 5130 | "OriginalName": "deleteBusinessMessages", |
5009 | 5131 | "ConvertedName": "DeleteBusinessMessages", |
5010 | | - "Description": "Delete messages on behalf of a business account. Requires the can_delete_outgoing_messages business bot right to delete messages sent by the bot itself, or the can_delete_all_messages business bot right to delete any message. Returns True on success.", |
| 5132 | + "Description": "Delete messages on behalf of a business account. Requires the can_delete_sent_messages business bot right to delete messages sent by the bot itself, or the can_delete_all_messages business bot right to delete any message. Returns True on success.", |
5011 | 5133 | "Fields": [ |
5012 | 5134 | { |
5013 | 5135 | "OriginalName": "business_connection_id", |
|
6763 | 6885 | "OriginalReturnType": "True", |
6764 | 6886 | "ConvertedReturnType": "bool" |
6765 | 6887 | }, |
| 6888 | + { |
| 6889 | + "OriginalName": "getMyStarBalance", |
| 6890 | + "ConvertedName": "GetMyStarBalance", |
| 6891 | + "Description": "A method to get the current Telegram Stars balance of the bot. Requires no parameters. On success, returns a StarAmount object.", |
| 6892 | + "Fields": [], |
| 6893 | + "OriginalReturnType": "StarAmount", |
| 6894 | + "ConvertedReturnType": "StarAmount" |
| 6895 | + }, |
6766 | 6896 | { |
6767 | 6897 | "OriginalName": "getStarTransactions", |
6768 | 6898 | "ConvertedName": "GetStarTransactions", |
|
0 commit comments