@mtkruto/node 0.137.0 → 0.139.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/3_types.d.ts +2 -3
- package/esm/3_types.d.ts.map +1 -1
- package/esm/3_types.js +2 -3
- package/esm/client/0_markdown.d.ts.map +1 -1
- package/esm/client/0_markdown.js +1 -3
- package/esm/client/0_params.d.ts +6 -0
- package/esm/client/0_params.d.ts.map +1 -1
- package/esm/client/1_client_generic.d.ts +14 -9
- package/esm/client/1_client_generic.d.ts.map +1 -1
- package/esm/client/1_client_generic.js +1 -3
- package/esm/client/1_client_plain.d.ts +2 -6
- package/esm/client/1_client_plain.d.ts.map +1 -1
- package/esm/client/1_client_plain.js +1 -3
- package/esm/client/1_types.d.ts +1 -0
- package/esm/client/1_types.d.ts.map +1 -1
- package/esm/client/2_bot_info_manager.js +1 -1
- package/esm/client/2_business_connection_manager.js +1 -1
- package/esm/client/2_file_manager.d.ts.map +1 -1
- package/esm/client/2_file_manager.js +2 -0
- package/esm/client/2_payment_manager.js +1 -1
- package/esm/client/2_reaction_manager.js +4 -4
- package/esm/client/2_story_album_manager.d.ts.map +1 -1
- package/esm/client/2_story_album_manager.js +1 -2
- package/esm/client/2_translations_manager.js +2 -2
- package/esm/client/2_update_manager.js +1 -1
- package/esm/client/3_account_manager.d.ts +2 -1
- package/esm/client/3_account_manager.d.ts.map +1 -1
- package/esm/client/3_account_manager.js +11 -4
- package/esm/client/3_filters.d.ts +94 -18
- package/esm/client/3_filters.d.ts.map +1 -1
- package/esm/client/3_message_manager.d.ts.map +1 -1
- package/esm/client/3_message_manager.js +16 -19
- package/esm/client/3_video_chat_manager.js +1 -1
- package/esm/client/4_callback_query_manager.js +1 -1
- package/esm/client/4_chat_manager.d.ts.map +1 -1
- package/esm/client/4_chat_manager.js +4 -5
- package/esm/client/4_context.d.ts +154 -462
- package/esm/client/4_context.d.ts.map +1 -1
- package/esm/client/4_context.js +220 -505
- package/esm/client/4_inline_query_manager.js +3 -3
- package/esm/client/4_link_preview_manager.js +1 -1
- package/esm/client/4_poll_manager.js +2 -2
- package/esm/client/4_story_manager.js +5 -5
- package/esm/client/6_client.d.ts +13 -14
- package/esm/client/6_client.d.ts.map +1 -1
- package/esm/client/6_client.js +26 -14
- package/esm/client/6_client_dispatcher.d.ts +14 -9
- package/esm/client/6_client_dispatcher.d.ts.map +1 -1
- package/esm/client/6_client_dispatcher.js +15 -6
- package/esm/session/1_session.d.ts +2 -6
- package/esm/session/1_session.d.ts.map +1 -1
- package/esm/types/0_bot_token_check_result.d.ts +0 -1
- package/esm/types/0_bot_token_check_result.d.ts.map +1 -1
- package/esm/types/0_callback_query_question.d.ts +0 -3
- package/esm/types/0_callback_query_question.d.ts.map +1 -1
- package/esm/types/0_chat_action_type.d.ts +0 -13
- package/esm/types/0_chat_action_type.d.ts.map +1 -1
- package/esm/types/0_code_check_result.d.ts +0 -3
- package/esm/types/0_code_check_result.d.ts.map +1 -1
- package/esm/types/0_emoji_status.d.ts +0 -2
- package/esm/types/0_emoji_status.d.ts.map +1 -1
- package/esm/types/0_gift_component_rarity.d.ts +0 -5
- package/esm/types/0_gift_component_rarity.d.ts.map +1 -1
- package/esm/types/0_id.d.ts +1 -3
- package/esm/types/0_id.d.ts.map +1 -1
- package/{script/types/1_inline_query_result_button.d.ts → esm/types/0_inline_query_result_button.d.ts} +3 -4
- package/esm/types/0_inline_query_result_button.d.ts.map +1 -0
- package/esm/types/0_input_emoji_status.d.ts +0 -2
- package/esm/types/0_input_emoji_status.d.ts.map +1 -1
- package/esm/types/0_password_check_result.d.ts +0 -2
- package/esm/types/0_password_check_result.d.ts.map +1 -1
- package/esm/types/0_reaction.d.ts +0 -3
- package/esm/types/0_reaction.d.ts.map +1 -1
- package/esm/types/0_user_status.d.ts +0 -5
- package/esm/types/0_user_status.d.ts.map +1 -1
- package/esm/types/0_video_chat.d.ts +0 -3
- package/esm/types/0_video_chat.d.ts.map +1 -1
- package/esm/types/1_available_reactions.d.ts +0 -3
- package/esm/types/1_available_reactions.d.ts.map +1 -1
- package/esm/types/1_bot_command_scope.d.ts +0 -7
- package/esm/types/1_bot_command_scope.d.ts.map +1 -1
- package/esm/types/1_chat_p.d.ts +1 -7
- package/esm/types/1_chat_p.d.ts.map +1 -1
- package/esm/types/1_inline_keyboard_button.d.ts +25 -42
- package/esm/types/1_inline_keyboard_button.d.ts.map +1 -1
- package/esm/types/1_inline_keyboard_button.js +57 -64
- package/esm/types/1_input_gift.d.ts +0 -3
- package/esm/types/1_input_gift.d.ts.map +1 -1
- package/esm/types/1_input_story_content.d.ts +2 -2
- package/esm/types/1_input_story_content.d.ts.map +1 -1
- package/esm/types/1_keyboard_button.d.ts +33 -34
- package/esm/types/1_keyboard_button.d.ts.map +1 -1
- package/esm/types/1_keyboard_button.js +81 -88
- package/esm/types/2_chat.d.ts +1 -3
- package/esm/types/2_chat.d.ts.map +1 -1
- package/esm/types/2_chat_member.d.ts +6 -24
- package/esm/types/2_chat_member.d.ts.map +1 -1
- package/esm/types/2_message_entity.d.ts +0 -20
- package/esm/types/2_message_entity.d.ts.map +1 -1
- package/esm/types/{0_mini_app_button_info.js → 2_profile_photo_list.d.ts} +10 -2
- package/esm/types/2_profile_photo_list.d.ts.map +1 -0
- package/esm/types/{0_keyboard_button_poll_type.d.ts → 2_profile_photo_list.js} +6 -5
- package/esm/types/2_reply_markup.d.ts +4 -12
- package/esm/types/2_reply_markup.d.ts.map +1 -1
- package/esm/types/2_reply_markup.js +13 -17
- package/esm/types/2_star_transaction_peer.d.ts +0 -8
- package/esm/types/2_star_transaction_peer.d.ts.map +1 -1
- package/esm/types/2_story_album_icon.d.ts +0 -2
- package/esm/types/2_story_album_icon.d.ts.map +1 -1
- package/esm/types/2_story_content.d.ts +3 -4
- package/esm/types/2_story_content.d.ts.map +1 -1
- package/esm/types/2_story_content.js +3 -3
- package/esm/types/2_story_privacy.d.ts +6 -7
- package/esm/types/2_story_privacy.d.ts.map +1 -1
- package/esm/types/2_story_privacy.js +23 -20
- package/esm/types/3_checklist_item.d.ts +2 -8
- package/esm/types/3_checklist_item.d.ts.map +1 -1
- package/esm/types/3_forward_header.d.ts +0 -5
- package/esm/types/3_forward_header.d.ts.map +1 -1
- package/esm/types/3_gift_upgraded_component.d.ts +0 -4
- package/esm/types/3_gift_upgraded_component.d.ts.map +1 -1
- package/esm/types/3_input_media.d.ts +10 -20
- package/esm/types/3_input_media.d.ts.map +1 -1
- package/esm/types/4_gift.d.ts +0 -2
- package/esm/types/4_gift.d.ts.map +1 -1
- package/esm/types/4_reply_to.d.ts +6 -14
- package/esm/types/4_reply_to.d.ts.map +1 -1
- package/esm/types/5_link_preview.d.ts +2 -18
- package/esm/types/5_link_preview.d.ts.map +1 -1
- package/esm/types/6_message.d.ts +90 -179
- package/esm/types/6_message.d.ts.map +1 -1
- package/esm/types/6_message.js +104 -120
- package/esm/types/6_message_content.d.ts +0 -5
- package/esm/types/6_message_content.d.ts.map +1 -1
- package/esm/types/7_inline_query_result.d.ts +10 -47
- package/esm/types/7_inline_query_result.d.ts.map +1 -1
- package/esm/types/7_inline_query_result.js +219 -152
- package/esm/types/8_update.d.ts +58 -105
- package/esm/types/8_update.d.ts.map +1 -1
- package/esm/utilities/0_int.d.ts +1 -3
- package/esm/utilities/0_int.d.ts.map +1 -1
- package/package.json +1 -1
- package/script/3_types.d.ts +2 -3
- package/script/3_types.d.ts.map +1 -1
- package/script/3_types.js +2 -3
- package/script/client/0_markdown.d.ts.map +1 -1
- package/script/client/0_markdown.js +1 -3
- package/script/client/0_params.d.ts +6 -0
- package/script/client/0_params.d.ts.map +1 -1
- package/script/client/1_client_generic.d.ts +14 -9
- package/script/client/1_client_generic.d.ts.map +1 -1
- package/script/client/1_client_generic.js +1 -3
- package/script/client/1_client_plain.d.ts +2 -6
- package/script/client/1_client_plain.d.ts.map +1 -1
- package/script/client/1_client_plain.js +1 -3
- package/script/client/1_types.d.ts +1 -0
- package/script/client/1_types.d.ts.map +1 -1
- package/script/client/2_bot_info_manager.js +1 -1
- package/script/client/2_business_connection_manager.js +1 -1
- package/script/client/2_file_manager.d.ts.map +1 -1
- package/script/client/2_file_manager.js +2 -0
- package/script/client/2_payment_manager.js +1 -1
- package/script/client/2_reaction_manager.js +4 -4
- package/script/client/2_story_album_manager.d.ts.map +1 -1
- package/script/client/2_story_album_manager.js +1 -2
- package/script/client/2_translations_manager.js +2 -2
- package/script/client/2_update_manager.js +1 -1
- package/script/client/3_account_manager.d.ts +2 -1
- package/script/client/3_account_manager.d.ts.map +1 -1
- package/script/client/3_account_manager.js +9 -2
- package/script/client/3_filters.d.ts +94 -18
- package/script/client/3_filters.d.ts.map +1 -1
- package/script/client/3_message_manager.d.ts.map +1 -1
- package/script/client/3_message_manager.js +15 -18
- package/script/client/3_video_chat_manager.js +1 -1
- package/script/client/4_callback_query_manager.js +1 -1
- package/script/client/4_chat_manager.d.ts.map +1 -1
- package/script/client/4_chat_manager.js +4 -5
- package/script/client/4_context.d.ts +154 -462
- package/script/client/4_context.d.ts.map +1 -1
- package/script/client/4_context.js +220 -505
- package/script/client/4_inline_query_manager.js +3 -3
- package/script/client/4_link_preview_manager.js +1 -1
- package/script/client/4_poll_manager.js +2 -2
- package/script/client/4_story_manager.js +5 -5
- package/script/client/6_client.d.ts +13 -14
- package/script/client/6_client.d.ts.map +1 -1
- package/script/client/6_client.js +25 -13
- package/script/client/6_client_dispatcher.d.ts +14 -9
- package/script/client/6_client_dispatcher.d.ts.map +1 -1
- package/script/client/6_client_dispatcher.js +15 -6
- package/script/session/1_session.d.ts +2 -6
- package/script/session/1_session.d.ts.map +1 -1
- package/script/types/0_bot_token_check_result.d.ts +0 -1
- package/script/types/0_bot_token_check_result.d.ts.map +1 -1
- package/script/types/0_callback_query_question.d.ts +0 -3
- package/script/types/0_callback_query_question.d.ts.map +1 -1
- package/script/types/0_chat_action_type.d.ts +0 -13
- package/script/types/0_chat_action_type.d.ts.map +1 -1
- package/script/types/0_code_check_result.d.ts +0 -3
- package/script/types/0_code_check_result.d.ts.map +1 -1
- package/script/types/0_emoji_status.d.ts +0 -2
- package/script/types/0_emoji_status.d.ts.map +1 -1
- package/script/types/0_gift_component_rarity.d.ts +0 -5
- package/script/types/0_gift_component_rarity.d.ts.map +1 -1
- package/script/types/0_id.d.ts +1 -3
- package/script/types/0_id.d.ts.map +1 -1
- package/{esm/types/1_inline_query_result_button.d.ts → script/types/0_inline_query_result_button.d.ts} +3 -4
- package/script/types/0_inline_query_result_button.d.ts.map +1 -0
- package/script/types/0_input_emoji_status.d.ts +0 -2
- package/script/types/0_input_emoji_status.d.ts.map +1 -1
- package/script/types/0_password_check_result.d.ts +0 -2
- package/script/types/0_password_check_result.d.ts.map +1 -1
- package/script/types/0_reaction.d.ts +0 -3
- package/script/types/0_reaction.d.ts.map +1 -1
- package/script/types/0_user_status.d.ts +0 -5
- package/script/types/0_user_status.d.ts.map +1 -1
- package/script/types/0_video_chat.d.ts +0 -3
- package/script/types/0_video_chat.d.ts.map +1 -1
- package/script/types/1_available_reactions.d.ts +0 -3
- package/script/types/1_available_reactions.d.ts.map +1 -1
- package/script/types/1_bot_command_scope.d.ts +0 -7
- package/script/types/1_bot_command_scope.d.ts.map +1 -1
- package/script/types/1_chat_p.d.ts +1 -7
- package/script/types/1_chat_p.d.ts.map +1 -1
- package/script/types/1_inline_keyboard_button.d.ts +25 -42
- package/script/types/1_inline_keyboard_button.d.ts.map +1 -1
- package/script/types/1_inline_keyboard_button.js +57 -64
- package/script/types/1_input_gift.d.ts +0 -3
- package/script/types/1_input_gift.d.ts.map +1 -1
- package/script/types/1_input_story_content.d.ts +2 -2
- package/script/types/1_input_story_content.d.ts.map +1 -1
- package/script/types/1_keyboard_button.d.ts +33 -34
- package/script/types/1_keyboard_button.d.ts.map +1 -1
- package/script/types/1_keyboard_button.js +81 -88
- package/script/types/2_chat.d.ts +1 -3
- package/script/types/2_chat.d.ts.map +1 -1
- package/script/types/2_chat_member.d.ts +6 -24
- package/script/types/2_chat_member.d.ts.map +1 -1
- package/script/types/2_message_entity.d.ts +0 -20
- package/script/types/2_message_entity.d.ts.map +1 -1
- package/script/types/{0_keyboard_button_poll_type.d.ts → 2_profile_photo_list.d.ts} +10 -5
- package/script/types/2_profile_photo_list.d.ts.map +1 -0
- package/script/types/{0_mini_app_button_info.js → 2_profile_photo_list.js} +7 -3
- package/script/types/2_reply_markup.d.ts +4 -12
- package/script/types/2_reply_markup.d.ts.map +1 -1
- package/script/types/2_reply_markup.js +13 -17
- package/script/types/2_star_transaction_peer.d.ts +0 -8
- package/script/types/2_star_transaction_peer.d.ts.map +1 -1
- package/script/types/2_story_album_icon.d.ts +0 -2
- package/script/types/2_story_album_icon.d.ts.map +1 -1
- package/script/types/2_story_content.d.ts +3 -4
- package/script/types/2_story_content.d.ts.map +1 -1
- package/script/types/2_story_content.js +3 -3
- package/script/types/2_story_privacy.d.ts +6 -7
- package/script/types/2_story_privacy.d.ts.map +1 -1
- package/script/types/2_story_privacy.js +23 -20
- package/script/types/3_checklist_item.d.ts +2 -8
- package/script/types/3_checklist_item.d.ts.map +1 -1
- package/script/types/3_forward_header.d.ts +0 -5
- package/script/types/3_forward_header.d.ts.map +1 -1
- package/script/types/3_gift_upgraded_component.d.ts +0 -4
- package/script/types/3_gift_upgraded_component.d.ts.map +1 -1
- package/script/types/3_input_media.d.ts +10 -20
- package/script/types/3_input_media.d.ts.map +1 -1
- package/script/types/4_gift.d.ts +0 -2
- package/script/types/4_gift.d.ts.map +1 -1
- package/script/types/4_reply_to.d.ts +6 -14
- package/script/types/4_reply_to.d.ts.map +1 -1
- package/script/types/5_link_preview.d.ts +2 -18
- package/script/types/5_link_preview.d.ts.map +1 -1
- package/script/types/6_message.d.ts +90 -179
- package/script/types/6_message.d.ts.map +1 -1
- package/script/types/6_message.js +105 -121
- package/script/types/6_message_content.d.ts +0 -5
- package/script/types/6_message_content.d.ts.map +1 -1
- package/script/types/7_inline_query_result.d.ts +10 -47
- package/script/types/7_inline_query_result.d.ts.map +1 -1
- package/script/types/7_inline_query_result.js +219 -152
- package/script/types/8_update.d.ts +58 -105
- package/script/types/8_update.d.ts.map +1 -1
- package/script/utilities/0_int.d.ts +1 -3
- package/script/utilities/0_int.d.ts.map +1 -1
- package/esm/types/0_keyboard_button_poll_type.d.ts.map +0 -1
- package/esm/types/0_mini_app_button_info.d.ts +0 -26
- package/esm/types/0_mini_app_button_info.d.ts.map +0 -1
- package/esm/types/1_inline_query_result_button.d.ts.map +0 -1
- package/esm/types/1_inline_query_result_button.js +0 -20
- package/script/types/0_keyboard_button_poll_type.d.ts.map +0 -1
- package/script/types/0_mini_app_button_info.d.ts +0 -26
- package/script/types/0_mini_app_button_info.d.ts.map +0 -1
- package/script/types/1_inline_query_result_button.d.ts.map +0 -1
- package/script/types/1_inline_query_result_button.js +0 -21
- /package/esm/types/{0_keyboard_button_poll_type.js → 0_inline_query_result_button.js} +0 -0
- /package/script/types/{0_keyboard_button_poll_type.js → 0_inline_query_result_button.js} +0 -0
|
@@ -69,623 +69,315 @@ export declare class Context {
|
|
|
69
69
|
toJSON(): Update | {
|
|
70
70
|
update: Api.Update;
|
|
71
71
|
};
|
|
72
|
-
/**
|
|
73
|
-
* Context-aware alias for {@link Client.addContact}.
|
|
74
|
-
*/
|
|
72
|
+
/** Context-aware alias for {@link Client.addContact}. */
|
|
75
73
|
addAsContact(firstName: string, params?: AddContactParams): Promise<void>;
|
|
76
|
-
/**
|
|
77
|
-
* Context-aware alias for {@link Client.addChatMember}.
|
|
78
|
-
*/
|
|
74
|
+
/** Context-aware alias for {@link Client.addChatMember}. */
|
|
79
75
|
addMember(userId: ID, params?: AddChatMemberParams): Promise<FailedInvitation[]>;
|
|
80
|
-
/**
|
|
81
|
-
* Context-aware alias for {@link Client.addChatMembers}.
|
|
82
|
-
*/
|
|
76
|
+
/** Context-aware alias for {@link Client.addChatMembers}. */
|
|
83
77
|
addMembers(userIds: ID[]): Promise<FailedInvitation[]>;
|
|
84
|
-
/**
|
|
85
|
-
* Context-aware alias for {@link Client.addReaction}.
|
|
86
|
-
*/
|
|
78
|
+
/** Context-aware alias for {@link Client.addReaction}. */
|
|
87
79
|
addReaction(messageId: number, reaction: Reaction, params?: AddReactionParams): Promise<void>;
|
|
88
|
-
/**
|
|
89
|
-
* Context-aware alias for {@link Client.addStoriesToHighlights}.
|
|
90
|
-
*/
|
|
80
|
+
/** Context-aware alias for {@link Client.addStoriesToHighlights}. */
|
|
91
81
|
addStoriesToHighlights(storyIds: number[]): Promise<void>;
|
|
92
|
-
/**
|
|
93
|
-
* Context-aware alias for {@link Client.addStoryToHighlights}.
|
|
94
|
-
*/
|
|
82
|
+
/** Context-aware alias for {@link Client.addStoryToHighlights}. */
|
|
95
83
|
addStoryToHighlights(storyId: number): Promise<void>;
|
|
96
|
-
/**
|
|
97
|
-
* Context-aware alias for {@link Client.addToChecklist}.
|
|
98
|
-
*/
|
|
84
|
+
/** Context-aware alias for {@link Client.addToChecklist}. */
|
|
99
85
|
addToChecklist(messageId: number, items: InputChecklistItem[]): Promise<void>;
|
|
100
|
-
/**
|
|
101
|
-
* Context-aware alias for {@link Client.answerCallbackQuery}.
|
|
102
|
-
*/
|
|
86
|
+
/** Context-aware alias for {@link Client.answerCallbackQuery}. */
|
|
103
87
|
answerCallbackQuery(params?: AnswerCallbackQueryParams): Promise<void>;
|
|
104
|
-
/**
|
|
105
|
-
* Context-aware alias for {@link Client.answerInlineQuery}.
|
|
106
|
-
*/
|
|
88
|
+
/** Context-aware alias for {@link Client.answerInlineQuery}. */
|
|
107
89
|
answerInlineQuery(results: InlineQueryResult[], params?: AnswerInlineQueryParams): Promise<void>;
|
|
108
|
-
/**
|
|
109
|
-
* Context-aware alias for {@link Client.answerPreCheckoutQuery}.
|
|
110
|
-
*/
|
|
90
|
+
/** Context-aware alias for {@link Client.answerPreCheckoutQuery}. */
|
|
111
91
|
answerPreCheckoutQuery(ok: boolean, params?: AnswerPreCheckoutQueryParams): Promise<void>;
|
|
112
|
-
/**
|
|
113
|
-
* Context-aware alias for {@link Client.approveJoinRequest}.
|
|
114
|
-
*/
|
|
92
|
+
/** Context-aware alias for {@link Client.approveJoinRequest}. */
|
|
115
93
|
approveJoinRequest(): Promise<void>;
|
|
116
|
-
/**
|
|
117
|
-
* Context-aware alias for {@link Client.approveJoinRequests}.
|
|
118
|
-
*/
|
|
94
|
+
/** Context-aware alias for {@link Client.approveJoinRequests}. */
|
|
119
95
|
approveJoinRequests(params?: ApproveJoinRequestsParams): Promise<void>;
|
|
120
|
-
/**
|
|
121
|
-
* Context-aware alias for {@link Client.archiveChat}.
|
|
122
|
-
*/
|
|
96
|
+
/** Context-aware alias for {@link Client.archiveChat}. */
|
|
123
97
|
archive(): Promise<void>;
|
|
124
|
-
/**
|
|
125
|
-
* Context-aware alias for {@link Client.banChatMember}.
|
|
126
|
-
*/
|
|
98
|
+
/** Context-aware alias for {@link Client.banChatMember}. */
|
|
127
99
|
banChatMember(memberId: ID, params?: BanChatMemberParams): Promise<void>;
|
|
128
|
-
/**
|
|
129
|
-
* Context-aware alias for {@link Client.banChatMember}.
|
|
130
|
-
*/
|
|
100
|
+
/** Context-aware alias for {@link Client.banChatMember}. */
|
|
131
101
|
banSender(params?: BanChatMemberParams): Promise<void>;
|
|
132
|
-
/**
|
|
133
|
-
* Context-aware alias for {@link Client.blockUser}.
|
|
134
|
-
*/
|
|
102
|
+
/** Context-aware alias for {@link Client.blockUser}. */
|
|
135
103
|
blockUser(): Promise<void>;
|
|
136
|
-
/**
|
|
137
|
-
* Context-aware alias for {@link Client.checkChecklistItem}.
|
|
138
|
-
*/
|
|
104
|
+
/** Context-aware alias for {@link Client.checkChecklistItem}. */
|
|
139
105
|
checkChecklistItem(messageId: number, item: number): Promise<void>;
|
|
140
|
-
/**
|
|
141
|
-
* Context-aware alias for {@link Client.checkChecklistItems}.
|
|
142
|
-
*/
|
|
106
|
+
/** Context-aware alias for {@link Client.checkChecklistItems}. */
|
|
143
107
|
checkChecklistItems(messageId: number, items: number[]): Promise<void>;
|
|
144
|
-
/**
|
|
145
|
-
* Context-aware alias for {@link Client.closeChat}.
|
|
146
|
-
*/
|
|
108
|
+
/** Context-aware alias for {@link Client.closeChat}. */
|
|
147
109
|
close(): Promise<void>;
|
|
148
|
-
/**
|
|
149
|
-
* Context-aware alias for {@link Client.closeTopic}.
|
|
150
|
-
*/
|
|
110
|
+
/** Context-aware alias for {@link Client.closeTopic}. */
|
|
151
111
|
closeTopic(topicId: number): Promise<void>;
|
|
152
|
-
/**
|
|
153
|
-
* Context-aware alias for {@link Client.createInviteLink}.
|
|
154
|
-
*/
|
|
112
|
+
/** Context-aware alias for {@link Client.createInviteLink}. */
|
|
155
113
|
createInviteLink(params?: CreateInviteLinkParams): Promise<InviteLink>;
|
|
156
|
-
/**
|
|
157
|
-
* Context-aware alias for {@link Client.createStory}.
|
|
158
|
-
*/
|
|
114
|
+
/** Context-aware alias for {@link Client.createStory}. */
|
|
159
115
|
createStory(content: InputStoryContent, params?: CreateStoryParams): Promise<Story>;
|
|
160
|
-
/**
|
|
161
|
-
* Context-aware alias for {@link Client.createTopic}.
|
|
162
|
-
*/
|
|
116
|
+
/** Context-aware alias for {@link Client.createTopic}. */
|
|
163
117
|
createTopic(title: string, params?: CreateTopicParams): Promise<Topic>;
|
|
164
|
-
/**
|
|
165
|
-
* Context-aware alias for {@link Client.declineJoinRequest}.
|
|
166
|
-
*/
|
|
118
|
+
/** Context-aware alias for {@link Client.declineJoinRequest}. */
|
|
167
119
|
declineJoinRequest(): Promise<void>;
|
|
168
|
-
/**
|
|
169
|
-
* Context-aware alias for {@link Client.declineJoinRequests}.
|
|
170
|
-
*/
|
|
120
|
+
/** Context-aware alias for {@link Client.declineJoinRequests}. */
|
|
171
121
|
declineJoinRequests(params?: DeclineJoinRequestsParams): Promise<void>;
|
|
172
|
-
/**
|
|
173
|
-
* Context-aware alias for {@link Client.deleteChatPhoto}.
|
|
174
|
-
*/
|
|
122
|
+
/** Context-aware alias for {@link Client.deleteChatPhoto}. */
|
|
175
123
|
deleteChatPhoto(): Promise<void>;
|
|
176
|
-
/**
|
|
177
|
-
* Context-aware alias for {@link Client.deleteMessage}.
|
|
178
|
-
*/
|
|
124
|
+
/** Context-aware alias for {@link Client.deleteMessage}. */
|
|
179
125
|
delete(): Promise<void>;
|
|
180
|
-
/**
|
|
181
|
-
* Context-aware alias for {@link Client.deleteChat}.
|
|
182
|
-
*/
|
|
126
|
+
/** Context-aware alias for {@link Client.deleteChat}. */
|
|
183
127
|
deleteChat(): Promise<void>;
|
|
184
|
-
/**
|
|
185
|
-
* Context-aware alias for {@link Client.deleteChatMemberMessages}.
|
|
186
|
-
*/
|
|
128
|
+
/** Context-aware alias for {@link Client.deleteChatMemberMessages}. */
|
|
187
129
|
deleteChatMemberMessages(userId: ID): Promise<void>;
|
|
188
|
-
/**
|
|
189
|
-
* Context-aware alias for {@link Client.deleteChatStickerSet}.
|
|
190
|
-
*/
|
|
130
|
+
/** Context-aware alias for {@link Client.deleteChatStickerSet}. */
|
|
191
131
|
deleteChatStickerSet(): Promise<void>;
|
|
192
|
-
/**
|
|
193
|
-
* Context-aware alias for {@link Client.deleteMessage}.
|
|
194
|
-
*/
|
|
132
|
+
/** Context-aware alias for {@link Client.deleteMessage}. */
|
|
195
133
|
deleteMessage(messageId: number, params?: DeleteMessagesParams): Promise<void>;
|
|
196
|
-
/**
|
|
197
|
-
* Context-aware alias for {@link Client.deleteMessages}.
|
|
198
|
-
*/
|
|
134
|
+
/** Context-aware alias for {@link Client.deleteMessages}. */
|
|
199
135
|
deleteMessages(messageIds: number[], params?: DeleteMessagesParams): Promise<void>;
|
|
200
|
-
/**
|
|
201
|
-
* Context-aware alias for {@link Client.deleteScheduledMessage}.
|
|
202
|
-
*/
|
|
136
|
+
/** Context-aware alias for {@link Client.deleteScheduledMessage}. */
|
|
203
137
|
deleteScheduledMessage(messageId: number): Promise<void>;
|
|
204
|
-
/**
|
|
205
|
-
* Context-aware alias for {@link Client.deleteScheduledMessages}.
|
|
206
|
-
*/
|
|
138
|
+
/** Context-aware alias for {@link Client.deleteScheduledMessages}. */
|
|
207
139
|
deleteScheduledMessages(messageIds: number[]): Promise<void>;
|
|
208
|
-
/**
|
|
209
|
-
* Context-aware alias for {@link Client.deleteStories}.
|
|
210
|
-
*/
|
|
140
|
+
/** Context-aware alias for {@link Client.deleteStories}. */
|
|
211
141
|
deleteStories(storyIds: number[]): Promise<void>;
|
|
212
|
-
/**
|
|
213
|
-
* Context-aware alias for {@link Client.deleteStory}.
|
|
214
|
-
*/
|
|
142
|
+
/** Context-aware alias for {@link Client.deleteStory}. */
|
|
215
143
|
deleteStory(storyId: number): Promise<void>;
|
|
216
|
-
/**
|
|
217
|
-
* Context-aware alias for {@link Client.disableAntispam}.
|
|
218
|
-
*/
|
|
144
|
+
/** Context-aware alias for {@link Client.disableAntispam}. */
|
|
219
145
|
disableAntispam(): Promise<void>;
|
|
220
|
-
/**
|
|
221
|
-
* Context-aware alias for {@link Client.disableBusinessBots}.
|
|
222
|
-
*/
|
|
146
|
+
/** Context-aware alias for {@link Client.disableBusinessBots}. */
|
|
223
147
|
disableBusinessBots(): Promise<void>;
|
|
224
|
-
/**
|
|
225
|
-
* Context-aware alias for {@link Client.disableJoinRequests}.
|
|
226
|
-
*/
|
|
148
|
+
/** Context-aware alias for {@link Client.disableJoinRequests}. */
|
|
227
149
|
disableJoinRequests(): Promise<void>;
|
|
228
|
-
/**
|
|
229
|
-
* Context-aware alias for {@link Client.disableSharing}.
|
|
230
|
-
*/
|
|
150
|
+
/** Context-aware alias for {@link Client.disableSharing}. */
|
|
231
151
|
disableSharing(): Promise<void>;
|
|
232
|
-
/**
|
|
233
|
-
* Context-aware alias for {@link Client.disableSignatures}.
|
|
234
|
-
*/
|
|
152
|
+
/** Context-aware alias for {@link Client.disableSignatures}. */
|
|
235
153
|
disableSignatures(): Promise<void>;
|
|
236
|
-
/**
|
|
237
|
-
* Context-aware alias for {@link Client.disableSlowMode}.
|
|
238
|
-
*/
|
|
154
|
+
/** Context-aware alias for {@link Client.disableSlowMode}. */
|
|
239
155
|
disableSlowMode(): Promise<void>;
|
|
240
|
-
/**
|
|
241
|
-
* Context-aware alias for {@link Client.disableTopics}.
|
|
242
|
-
*/
|
|
156
|
+
/** Context-aware alias for {@link Client.disableTopics}. */
|
|
243
157
|
disableTopics(): Promise<void>;
|
|
244
|
-
/**
|
|
245
|
-
* Context-aware alias for {@link Client.editInlineMessageCaption}.
|
|
246
|
-
*/
|
|
158
|
+
/** Context-aware alias for {@link Client.editInlineMessageCaption}. */
|
|
247
159
|
editInlineMessageCaption(params?: EditInlineMessageCaptionParams): Promise<void>;
|
|
248
|
-
/**
|
|
249
|
-
* Context-aware alias for {@link Client.editInlineMessageLiveLocation}.
|
|
250
|
-
*/
|
|
160
|
+
/** Context-aware alias for {@link Client.editInlineMessageLiveLocation}. */
|
|
251
161
|
editInlineMessageLiveLocation(latitude: number, longitude: number, params?: EditMessageLiveLocationParams): Promise<void>;
|
|
252
|
-
/**
|
|
253
|
-
* Context-aware alias for {@link Client.editInlineMessageMedia}.
|
|
254
|
-
*/
|
|
162
|
+
/** Context-aware alias for {@link Client.editInlineMessageMedia}. */
|
|
255
163
|
editInlineMessageMedia(media: InputMedia, params?: EditInlineMessageMediaParams): Promise<void>;
|
|
256
|
-
/**
|
|
257
|
-
* Context-aware alias for {@link Client.editInlineMessageReplyMarkup}.
|
|
258
|
-
*/
|
|
164
|
+
/** Context-aware alias for {@link Client.editInlineMessageReplyMarkup}. */
|
|
259
165
|
editInlineMessageReplyMarkup(params?: EditMessageReplyMarkupParams): Promise<void>;
|
|
260
|
-
/**
|
|
261
|
-
* Context-aware alias for {@link Client.editInlineMessageText}.
|
|
262
|
-
*/
|
|
166
|
+
/** Context-aware alias for {@link Client.editInlineMessageText}. */
|
|
263
167
|
editInlineMessageText(text: string, params?: EditInlineMessageTextParams): Promise<void>;
|
|
264
|
-
/**
|
|
265
|
-
* Context-aware alias for {@link Client.editMessageCaption}.
|
|
266
|
-
*/
|
|
168
|
+
/** Context-aware alias for {@link Client.editMessageCaption}. */
|
|
267
169
|
editMessageCaption(messageId: number, params?: EditMessageCaptionParams): Promise<Message>;
|
|
268
|
-
/**
|
|
269
|
-
* Context-aware alias for {@link Client.editMessageLiveLocation}.
|
|
270
|
-
*/
|
|
170
|
+
/** Context-aware alias for {@link Client.editMessageLiveLocation}. */
|
|
271
171
|
editMessageLiveLocation(messageId: number, latitude: number, longitude: number, params?: EditMessageLiveLocationParams): Promise<Message>;
|
|
272
|
-
/**
|
|
273
|
-
* Context-aware alias for {@link Client.editMessageMedia}.
|
|
274
|
-
*/
|
|
172
|
+
/** Context-aware alias for {@link Client.editMessageMedia}. */
|
|
275
173
|
editMessageMedia(messageId: number, media: InputMedia, params?: EditMessageMediaParams): Promise<Message>;
|
|
276
|
-
/**
|
|
277
|
-
* Context-aware alias for {@link Client.editMessageReplyMarkup}.
|
|
278
|
-
*/
|
|
174
|
+
/** Context-aware alias for {@link Client.editMessageReplyMarkup}. */
|
|
279
175
|
editMessageReplyMarkup(messageId: number, params?: EditMessageReplyMarkupParams): Promise<Message>;
|
|
280
|
-
/**
|
|
281
|
-
* Context-aware alias for {@link Client.editMessageText}.
|
|
282
|
-
*/
|
|
176
|
+
/** Context-aware alias for {@link Client.editMessageText}. */
|
|
283
177
|
editMessageText(messageId: number, text: string, params?: EditMessageTextParams): Promise<MessageText>;
|
|
284
|
-
/**
|
|
285
|
-
* Context-aware alias for {@link Client.editTopic}.
|
|
286
|
-
*/
|
|
178
|
+
/** Context-aware alias for {@link Client.editTopic}. */
|
|
287
179
|
editTopic(topicId: number, title: string, params?: EditTopicParams): Promise<Topic>;
|
|
288
|
-
/**
|
|
289
|
-
* Context-aware alias for {@link Client.enableAntispam}.
|
|
290
|
-
*/
|
|
180
|
+
/** Context-aware alias for {@link Client.enableAntispam}. */
|
|
291
181
|
enableAntispam(): Promise<void>;
|
|
292
|
-
/**
|
|
293
|
-
* Context-aware alias for {@link Client.enableBusinessBots}.
|
|
294
|
-
*/
|
|
182
|
+
/** Context-aware alias for {@link Client.enableBusinessBots}. */
|
|
295
183
|
enableBusinessBots(): Promise<void>;
|
|
296
|
-
/**
|
|
297
|
-
* Context-aware alias for {@link Client.enableJoinRequests}.
|
|
298
|
-
*/
|
|
184
|
+
/** Context-aware alias for {@link Client.enableJoinRequests}. */
|
|
299
185
|
enableJoinRequests(): Promise<void>;
|
|
300
|
-
/**
|
|
301
|
-
* Context-aware alias for {@link Client.enableSharing}.
|
|
302
|
-
*/
|
|
186
|
+
/** Context-aware alias for {@link Client.enableSharing}. */
|
|
303
187
|
enableSharing(): Promise<void>;
|
|
304
|
-
/**
|
|
305
|
-
* Context-aware alias for {@link Client.enableSignatures}.
|
|
306
|
-
*/
|
|
188
|
+
/** Context-aware alias for {@link Client.enableSignatures}. */
|
|
307
189
|
enableSignatures(params?: EnableSignaturesParams): Promise<void>;
|
|
308
|
-
/**
|
|
309
|
-
* Context-aware alias for {@link Client.enableTopics}.
|
|
310
|
-
*/
|
|
190
|
+
/** Context-aware alias for {@link Client.enableTopics}. */
|
|
311
191
|
enableTopics(isShownAsTabs: boolean): Promise<void>;
|
|
312
|
-
/**
|
|
313
|
-
* Context-aware alias for {@link Client.forwardMessage}.
|
|
314
|
-
*/
|
|
192
|
+
/** Context-aware alias for {@link Client.forwardMessage}. */
|
|
315
193
|
forward(to: ID, params?: ForwardMessagesParams): Promise<Message>;
|
|
316
|
-
/**
|
|
317
|
-
* Context-aware alias for {@link Client.forwardMessage}.
|
|
318
|
-
*/
|
|
194
|
+
/** Context-aware alias for {@link Client.forwardMessage}. */
|
|
319
195
|
forwardMessage(to: ID, messageId: number, params?: ForwardMessagesParams): Promise<Message>;
|
|
320
|
-
/**
|
|
321
|
-
* Context-aware alias for {@link Client.forwardMessages}.
|
|
322
|
-
*/
|
|
196
|
+
/** Context-aware alias for {@link Client.forwardMessages}. */
|
|
323
197
|
forwardMessages(to: ID, messageIds: number[], params?: ForwardMessagesParams): Promise<Message[]>;
|
|
324
|
-
/**
|
|
325
|
-
* Context-aware alias for {@link Client.getBusinessConnection}.
|
|
326
|
-
*/
|
|
198
|
+
/** Context-aware alias for {@link Client.getBusinessConnection}. */
|
|
327
199
|
getBusinessConnection(): Promise<BusinessConnection>;
|
|
328
|
-
/**
|
|
329
|
-
* Context-aware alias for {@link Client.getChat}.
|
|
330
|
-
*/
|
|
200
|
+
/** Context-aware alias for {@link Client.getChat}. */
|
|
331
201
|
getChat(): Promise<Chat>;
|
|
332
|
-
/**
|
|
333
|
-
* Context-aware alias for {@link Client.getChatAdministrators}.
|
|
334
|
-
*/
|
|
202
|
+
/** Context-aware alias for {@link Client.getChatAdministrators}. */
|
|
335
203
|
getChatAdministrators(): Promise<ChatMember[]>;
|
|
336
|
-
/**
|
|
337
|
-
* Context-aware alias for {@link Client.getChatMember}.
|
|
338
|
-
*/
|
|
204
|
+
/** Context-aware alias for {@link Client.getChatMember}. */
|
|
339
205
|
getChatMember(userId: ID): Promise<ChatMember>;
|
|
340
|
-
/**
|
|
341
|
-
* Context-aware alias for {@link Client.getChatMembers}.
|
|
342
|
-
*/
|
|
206
|
+
/** Context-aware alias for {@link Client.getChatMembers}. */
|
|
343
207
|
getChatMembers(params?: GetChatMembersParams): Promise<ChatMember[]>;
|
|
344
|
-
/**
|
|
345
|
-
* Context-aware alias for {@link Client.getChatSettings}.
|
|
346
|
-
*/
|
|
208
|
+
/** Context-aware alias for {@link Client.getChatSettings}. */
|
|
347
209
|
getChatSettings(): Promise<ChatSettings>;
|
|
348
|
-
/**
|
|
349
|
-
* Context-aware alias for {@link Client.getClaimedGifts}.
|
|
350
|
-
*/
|
|
210
|
+
/** Context-aware alias for {@link Client.getClaimedGifts}. */
|
|
351
211
|
getClaimedGifts(params?: GetClaimedGiftsParams): Promise<ClaimedGifts>;
|
|
352
|
-
/**
|
|
353
|
-
* Context-aware alias for {@link Client.getChatSettings}.
|
|
354
|
-
*/
|
|
212
|
+
/** Context-aware alias for {@link Client.getChatSettings}. */
|
|
355
213
|
getCommonChats(): Promise<ChatP[]>;
|
|
356
|
-
/**
|
|
357
|
-
* Context-aware alias for {@link Client.getCreatedInviteLinks}.
|
|
358
|
-
*/
|
|
214
|
+
/** Context-aware alias for {@link Client.getCreatedInviteLinks}. */
|
|
359
215
|
getCreatedInviteLinks(params?: GetCreatedInviteLinksParams): Promise<InviteLink[]>;
|
|
360
|
-
/**
|
|
361
|
-
* Context-aware alias for {@link Client.getHistory}.
|
|
362
|
-
*/
|
|
216
|
+
/** Context-aware alias for {@link Client.getHistory}. */
|
|
363
217
|
getHistory(params?: GetHistoryParams): Promise<Message[]>;
|
|
364
|
-
/**
|
|
365
|
-
* Context-aware alias for {@link Client.getJoinRequests}.
|
|
366
|
-
*/
|
|
218
|
+
/** Context-aware alias for {@link Client.getJoinRequests}. */
|
|
367
219
|
getJoinRequests(params?: GetJoinRequestsParams): Promise<JoinRequest[]>;
|
|
368
|
-
/**
|
|
369
|
-
* Context-aware alias for {@link Client.getMessage}.
|
|
370
|
-
*/
|
|
220
|
+
/** Context-aware alias for {@link Client.getMessage}. */
|
|
371
221
|
getMessage(messageId: number): Promise<Message | null>;
|
|
372
|
-
/**
|
|
373
|
-
* Context-aware alias for {@link Client.getMessageReactions}.
|
|
374
|
-
*/
|
|
222
|
+
/** Context-aware alias for {@link Client.getMessageReactions}. */
|
|
375
223
|
getMessageReactions(messageId: number): Promise<MessageReactionList>;
|
|
376
|
-
/**
|
|
377
|
-
* Context-aware alias for {@link Client.getMessages}.
|
|
378
|
-
*/
|
|
224
|
+
/** Context-aware alias for {@link Client.getMessages}. */
|
|
379
225
|
getMessages(messageIds: number[]): Promise<Message[]>;
|
|
380
|
-
/**
|
|
381
|
-
* Context-aware alias for {@link Client.getSavedMessages}.
|
|
382
|
-
*/
|
|
226
|
+
/** Context-aware alias for {@link Client.getSavedMessages}. */
|
|
383
227
|
getSavedMessages(params?: GetSavedMessagesParams): Promise<Message[]>;
|
|
384
|
-
/**
|
|
385
|
-
* Context-aware alias for {@link Client.getSimilarBots}.
|
|
386
|
-
*/
|
|
228
|
+
/** Context-aware alias for {@link Client.getSimilarBots}. */
|
|
387
229
|
getSimilarBots(): Promise<ChatPPrivate[]>;
|
|
388
|
-
/**
|
|
389
|
-
* Context-aware alias for {@link Client.getSimilarChannels}.
|
|
390
|
-
*/
|
|
230
|
+
/** Context-aware alias for {@link Client.getSimilarChannels}. */
|
|
391
231
|
getSimilarChannels(): Promise<ChatPChannel[]>;
|
|
392
|
-
/**
|
|
393
|
-
* Context-aware alias for {@link Client.getStories}.
|
|
394
|
-
*/
|
|
232
|
+
/** Context-aware alias for {@link Client.getStories}. */
|
|
395
233
|
getStories(storyIds: number[]): Promise<Story[]>;
|
|
396
|
-
/**
|
|
397
|
-
* Context-aware alias for {@link Client.getStory}.
|
|
398
|
-
*/
|
|
234
|
+
/** Context-aware alias for {@link Client.getStory}. */
|
|
399
235
|
getStory(storyId: number): Promise<Story | null>;
|
|
400
|
-
/**
|
|
401
|
-
* Context-aware alias for {@link Client.sendGift}.
|
|
402
|
-
*/
|
|
236
|
+
/** Context-aware alias for {@link Client.sendGift}. */
|
|
403
237
|
gift(giftId: string, params?: SendGiftParams): Promise<void>;
|
|
404
|
-
/**
|
|
405
|
-
* Context-aware alias for {@link Client.hideGeneralTopic}.
|
|
406
|
-
*/
|
|
238
|
+
/** Context-aware alias for {@link Client.hideGeneralTopic}. */
|
|
407
239
|
hideGeneralTopic(): Promise<void>;
|
|
408
|
-
/**
|
|
409
|
-
* Context-aware alias for {@link Client.hideMemberList}.
|
|
410
|
-
*/
|
|
240
|
+
/** Context-aware alias for {@link Client.hideMemberList}. */
|
|
411
241
|
hideMemberList(): Promise<void>;
|
|
412
|
-
/**
|
|
413
|
-
* Context-aware alias for {@link Client.kickChatMember}.
|
|
414
|
-
*/
|
|
242
|
+
/** Context-aware alias for {@link Client.kickChatMember}. */
|
|
415
243
|
kickChatMember(memberId: ID): Promise<void>;
|
|
416
|
-
/**
|
|
417
|
-
* Context-aware alias for {@link Client.kickChatMember}.
|
|
418
|
-
*/
|
|
244
|
+
/** Context-aware alias for {@link Client.kickChatMember}. */
|
|
419
245
|
kickSender(): Promise<void>;
|
|
420
|
-
/**
|
|
421
|
-
* Context-aware alias for {@link Client.leaveChat}.
|
|
422
|
-
*/
|
|
246
|
+
/** Context-aware alias for {@link Client.leaveChat}. */
|
|
423
247
|
leaveChat(): Promise<void>;
|
|
424
|
-
/**
|
|
425
|
-
* Context-aware alias for {@link Client.openChat}.
|
|
426
|
-
*/
|
|
248
|
+
/** Context-aware alias for {@link Client.openChat}. */
|
|
427
249
|
open(): Promise<void>;
|
|
428
|
-
/**
|
|
429
|
-
* Context-aware alias for {@link Client.pauseBusinessBotConnection}.
|
|
430
|
-
*/
|
|
250
|
+
/** Context-aware alias for {@link Client.pauseBusinessBotConnection}. */
|
|
431
251
|
pauseBusinessBotConnection(): Promise<void>;
|
|
432
|
-
/**
|
|
433
|
-
* Context-aware alias for {@link Client.pinMessage}.
|
|
434
|
-
*/
|
|
252
|
+
/** Context-aware alias for {@link Client.pinMessage}. */
|
|
435
253
|
pin(params?: PinMessageParams): Promise<void>;
|
|
436
|
-
/**
|
|
437
|
-
* Context-aware alias for {@link Client.pinMessage}.
|
|
438
|
-
*/
|
|
254
|
+
/** Context-aware alias for {@link Client.pinMessage}. */
|
|
439
255
|
pinMessage(messageId: number, params?: PinMessageParams): Promise<void>;
|
|
440
|
-
/**
|
|
441
|
-
* Context-aware alias for {@link Client.pinTopic}.
|
|
442
|
-
*/
|
|
256
|
+
/** Context-aware alias for {@link Client.pinTopic}. */
|
|
443
257
|
pinTopic(topicId: number): Promise<void>;
|
|
444
|
-
/**
|
|
445
|
-
* Context-aware alias for {@link Client.promoteChatMember}.
|
|
446
|
-
*/
|
|
258
|
+
/** Context-aware alias for {@link Client.promoteChatMember}. */
|
|
447
259
|
promoteChatMember(userId: ID, params?: PromoteChatMemberParams): Promise<void>;
|
|
448
|
-
/**
|
|
449
|
-
* Context-aware alias for {@link Client.setReactions}.
|
|
450
|
-
*/
|
|
260
|
+
/** Context-aware alias for {@link Client.setReactions}. */
|
|
451
261
|
react(reactions: Reaction[], params?: SetReactionsParams): Promise<void>;
|
|
452
|
-
/**
|
|
453
|
-
* Context-aware alias for {@link Client.readMessages}.
|
|
454
|
-
*/
|
|
262
|
+
/** Context-aware alias for {@link Client.readMessages}. */
|
|
455
263
|
read(): Promise<void>;
|
|
456
|
-
/**
|
|
457
|
-
* Context-aware alias for {@link Client.refundStarPayment}.
|
|
458
|
-
*/
|
|
264
|
+
/** Context-aware alias for {@link Client.refundStarPayment}. */
|
|
459
265
|
refundStarPayment(telegramPaymentChargeId: string): Promise<void>;
|
|
460
|
-
/**
|
|
461
|
-
* Context-aware alias for {@link Client.deleteContact}.
|
|
462
|
-
*/
|
|
266
|
+
/** Context-aware alias for {@link Client.deleteContact}. */
|
|
463
267
|
removeAsContact(): Promise<void>;
|
|
464
|
-
/**
|
|
465
|
-
* Context-aware alias for {@link Client.removeReaction}.
|
|
466
|
-
*/
|
|
268
|
+
/** Context-aware alias for {@link Client.removeReaction}. */
|
|
467
269
|
removeReaction(messageId: number, reaction: Reaction): Promise<void>;
|
|
468
|
-
/**
|
|
469
|
-
* Context-aware alias for {@link Client.removeStoriesFromHighlights}.
|
|
470
|
-
*/
|
|
270
|
+
/** Context-aware alias for {@link Client.removeStoriesFromHighlights}. */
|
|
471
271
|
removeStoriesFromHighlights(storyIds: number[]): Promise<void>;
|
|
472
|
-
/**
|
|
473
|
-
* Context-aware alias for {@link Client.removeStoryFromHighlights}.
|
|
474
|
-
*/
|
|
272
|
+
/** Context-aware alias for {@link Client.removeStoryFromHighlights}. */
|
|
475
273
|
removeStoryFromHighlights(storyId: number): Promise<void>;
|
|
476
|
-
/**
|
|
477
|
-
* Context-aware alias for {@link Client.reopenTopic}.
|
|
478
|
-
*/
|
|
274
|
+
/** Context-aware alias for {@link Client.reopenTopic}. */
|
|
479
275
|
reopenTopic(topicId: number): Promise<void>;
|
|
480
|
-
/**
|
|
481
|
-
* Context-aware alias for {@link Client.sendMessage}.
|
|
482
|
-
*/
|
|
276
|
+
/** Context-aware alias for {@link Client.sendMessage}. */
|
|
483
277
|
reply(text: string, params?: Omit<SendMessageParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessageText>;
|
|
484
|
-
/**
|
|
485
|
-
* Context-aware alias for {@link Client.sendAnimation}.
|
|
486
|
-
*/
|
|
278
|
+
/** Context-aware alias for {@link Client.sendAnimation}. */
|
|
487
279
|
replyAnimation(animation: FileSource, params?: Omit<SendAnimationParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessageAnimation>;
|
|
488
|
-
/**
|
|
489
|
-
* Context-aware alias for {@link Client.sendAudio}.
|
|
490
|
-
*/
|
|
280
|
+
/** Context-aware alias for {@link Client.sendAudio}. */
|
|
491
281
|
replyAudio(audio: FileSource, params?: Omit<SendAudioParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessageAudio>;
|
|
492
|
-
/**
|
|
493
|
-
* Context-aware alias for {@link Client.sendChecklist}.
|
|
494
|
-
*/
|
|
282
|
+
/** Context-aware alias for {@link Client.sendChecklist}. */
|
|
495
283
|
replyChecklist(title: string, items: InputChecklistItem[], params?: Omit<SendChecklistParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessageChecklist>;
|
|
496
|
-
/**
|
|
497
|
-
* Context-aware alias for {@link Client.sendContact}.
|
|
498
|
-
*/
|
|
284
|
+
/** Context-aware alias for {@link Client.sendContact}. */
|
|
499
285
|
replyContact(firstName: string, number: string, params?: Omit<SendContactParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessageContact>;
|
|
500
|
-
/**
|
|
501
|
-
* Context-aware alias for {@link Client.sendDice}.
|
|
502
|
-
*/
|
|
286
|
+
/** Context-aware alias for {@link Client.sendDice}. */
|
|
503
287
|
replyDice(params?: Omit<SendDiceParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessageDice>;
|
|
504
|
-
/**
|
|
505
|
-
* Context-aware alias for {@link Client.sendDocument}.
|
|
506
|
-
*/
|
|
288
|
+
/** Context-aware alias for {@link Client.sendDocument}. */
|
|
507
289
|
replyDocument(document: FileSource, params?: Omit<SendDocumentParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessageDocument>;
|
|
508
|
-
/**
|
|
509
|
-
* Context-aware alias for {@link Client.sendMessageDraft}.
|
|
510
|
-
*/
|
|
290
|
+
/** Context-aware alias for {@link Client.sendMessageDraft}. */
|
|
511
291
|
replyDraft(draftId: number, text: string, params?: Omit<SendMessageDraftParams, "messageThreadId"> & ReplyParams): Promise<void>;
|
|
512
|
-
/**
|
|
513
|
-
* Context-aware alias for {@link Client.sendInvoice}.
|
|
514
|
-
*/
|
|
292
|
+
/** Context-aware alias for {@link Client.sendInvoice}. */
|
|
515
293
|
replyInvoice(title: string, description: string, payload: string, currency: string, prices: PriceTag[], params?: Omit<SendInvoiceParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessageInvoice>;
|
|
516
|
-
/**
|
|
517
|
-
* Context-aware alias for {@link Client.sendLocation}.
|
|
518
|
-
*/
|
|
294
|
+
/** Context-aware alias for {@link Client.sendLocation}. */
|
|
519
295
|
replyLocation(latitude: number, longitude: number, params?: Omit<SendLocationParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessageLocation>;
|
|
520
|
-
/**
|
|
521
|
-
* Context-aware alias for {@link Client.sendMediaGroup}.
|
|
522
|
-
*/
|
|
296
|
+
/** Context-aware alias for {@link Client.sendMediaGroup}. */
|
|
523
297
|
replyMediaGroup(media: InputMedia[], params?: Omit<SendMediaGroupParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<Message[]>;
|
|
524
|
-
/**
|
|
525
|
-
* Context-aware alias for {@link Client.sendPhoto}.
|
|
526
|
-
*/
|
|
298
|
+
/** Context-aware alias for {@link Client.sendPhoto}. */
|
|
527
299
|
replyPhoto(photo: FileSource, params?: Omit<SendPhotoParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessagePhoto>;
|
|
528
|
-
/**
|
|
529
|
-
* Context-aware alias for {@link Client.sendPoll}.
|
|
530
|
-
*/
|
|
300
|
+
/** Context-aware alias for {@link Client.sendPoll}. */
|
|
531
301
|
replyPoll(question: string, options: InputPollOption[], params?: Omit<SendPollParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessagePoll>;
|
|
532
|
-
/**
|
|
533
|
-
* Context-aware alias for {@link Client.sendSticker}.
|
|
534
|
-
*/
|
|
302
|
+
/** Context-aware alias for {@link Client.sendSticker}. */
|
|
535
303
|
replySticker(sticker: FileSource, params?: Omit<SendStickerParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessageSticker>;
|
|
536
|
-
/**
|
|
537
|
-
* Context-aware alias for {@link Client.sendVenue}.
|
|
538
|
-
*/
|
|
304
|
+
/** Context-aware alias for {@link Client.sendVenue}. */
|
|
539
305
|
replyVenue(latitude: number, longitude: number, title: string, address: string, params?: Omit<SendVenueParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessageVenue>;
|
|
540
|
-
/**
|
|
541
|
-
* Context-aware alias for {@link Client.sendVideo}.
|
|
542
|
-
*/
|
|
306
|
+
/** Context-aware alias for {@link Client.sendVideo}. */
|
|
543
307
|
replyVideo(video: FileSource, params?: Omit<SendVideoParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessageVideo>;
|
|
544
|
-
/**
|
|
545
|
-
* Context-aware alias for {@link Client.sendVideoNote}.
|
|
546
|
-
*/
|
|
308
|
+
/** Context-aware alias for {@link Client.sendVideoNote}. */
|
|
547
309
|
replyVideoNote(videoNote: FileSource, params?: Omit<SendVideoNoteParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessageVideoNote>;
|
|
548
|
-
/**
|
|
549
|
-
* Context-aware alias for {@link Client.sendVoice}.
|
|
550
|
-
*/
|
|
310
|
+
/** Context-aware alias for {@link Client.sendVoice}. */
|
|
551
311
|
replyVoice(voice: FileSource, params?: Omit<SendVoiceParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessageVoice>;
|
|
552
|
-
/**
|
|
553
|
-
* Context-aware alias for {@link Client.resumeBusinessBotConnection}.
|
|
554
|
-
*/
|
|
312
|
+
/** Context-aware alias for {@link Client.resumeBusinessBotConnection}. */
|
|
555
313
|
resumeBusinessBotConnection(): Promise<void>;
|
|
556
|
-
/**
|
|
557
|
-
* Context-aware alias for {@link Client.scheduleVideoChat}.
|
|
558
|
-
*/
|
|
314
|
+
/** Context-aware alias for {@link Client.scheduleVideoChat}. */
|
|
559
315
|
scheduleVideoChat(startAt: number, params?: ScheduleVideoChatParams): Promise<VideoChatScheduled>;
|
|
560
|
-
/**
|
|
561
|
-
* Context-aware alias for {@link Client.searchMessages}.
|
|
562
|
-
*/
|
|
316
|
+
/** Context-aware alias for {@link Client.searchMessages}. */
|
|
563
317
|
searchMessages(params?: Omit<SearchMessagesParams, "chatId">): Promise<MessageList>;
|
|
564
|
-
/**
|
|
565
|
-
* Context-aware alias for {@link Client.sendChatAction}.
|
|
566
|
-
*/
|
|
318
|
+
/** Context-aware alias for {@link Client.sendChatAction}. */
|
|
567
319
|
sendChatAction(action: ChatActionType, params?: {
|
|
568
320
|
messageThreadId?: number;
|
|
569
321
|
}): Promise<void>;
|
|
570
|
-
/**
|
|
571
|
-
* Context-aware alias for {@link Client.sendScheduledMessage}.
|
|
572
|
-
*/
|
|
322
|
+
/** Context-aware alias for {@link Client.sendScheduledMessage}. */
|
|
573
323
|
sendScheduledMessage(messageId: number): Promise<Message>;
|
|
574
|
-
/**
|
|
575
|
-
* Context-aware alias for {@link Client.setAvailableReactions}.
|
|
576
|
-
*/
|
|
324
|
+
/** Context-aware alias for {@link Client.setAvailableReactions}. */
|
|
577
325
|
setAvailableReactions(availableReactions: AvailableReactions): Promise<void>;
|
|
578
|
-
/**
|
|
579
|
-
* Context-aware alias for {@link Client.setBoostsRequiredToCircumventRestrictions}.
|
|
580
|
-
*/
|
|
326
|
+
/** Context-aware alias for {@link Client.setBoostsRequiredToCircumventRestrictions}. */
|
|
581
327
|
setBoostsRequiredToCircumventRestrictions(boosts: number): Promise<void>;
|
|
582
|
-
/**
|
|
583
|
-
* Context-aware alias for {@link Client.setChatDescription}.
|
|
584
|
-
*/
|
|
328
|
+
/** Context-aware alias for {@link Client.setChatDescription}. */
|
|
585
329
|
setChatDescription(description: string): Promise<void>;
|
|
586
|
-
/**
|
|
587
|
-
* Context-aware alias for {@link Client.setChatMemberRights}.
|
|
588
|
-
*/
|
|
330
|
+
/** Context-aware alias for {@link Client.setChatMemberRights}. */
|
|
589
331
|
setChatMemberRights(memberId: ID, params?: SetChatMemberRightsParams): Promise<void>;
|
|
590
|
-
/**
|
|
591
|
-
* Context-aware alias for {@link Client.setChatPhoto}.
|
|
592
|
-
*/
|
|
332
|
+
/** Context-aware alias for {@link Client.setChatPhoto}. */
|
|
593
333
|
setChatPhoto(photo: FileSource, params?: SetChatPhotoParams): Promise<void>;
|
|
594
|
-
/**
|
|
595
|
-
* Context-aware alias for {@link Client.setChatStickerSet}.
|
|
596
|
-
*/
|
|
334
|
+
/** Context-aware alias for {@link Client.setChatStickerSet}. */
|
|
597
335
|
setChatStickerSet(setName: string): Promise<void>;
|
|
598
|
-
/**
|
|
599
|
-
* Context-aware alias for {@link Client.setChatTitle}.
|
|
600
|
-
*/
|
|
336
|
+
/** Context-aware alias for {@link Client.setChatTitle}. */
|
|
601
337
|
setChatTitle(title: string): Promise<void>;
|
|
602
|
-
/**
|
|
603
|
-
* Context-aware alias for {@link Client.setDiscussionChat}.
|
|
604
|
-
*/
|
|
338
|
+
/** Context-aware alias for {@link Client.setDiscussionChat}. */
|
|
605
339
|
setDiscussionChat(discussionChatId: ID): Promise<void>;
|
|
606
|
-
/**
|
|
607
|
-
* Context-aware alias for {@link Client.setChatMemberTag}.
|
|
608
|
-
*/
|
|
340
|
+
/** Context-aware alias for {@link Client.setChatMemberTag}. */
|
|
609
341
|
setMemberTag(params?: SetChatMemberTagParams): Promise<void>;
|
|
610
|
-
/**
|
|
611
|
-
* Context-aware alias for {@link Client.setMessageTtl}.
|
|
612
|
-
*/
|
|
342
|
+
/** Context-aware alias for {@link Client.setMessageTtl}. */
|
|
613
343
|
setMessageTtl(messageTtl: number): Promise<void>;
|
|
614
|
-
/**
|
|
615
|
-
* Context-aware alias for {@link Client.setReactions}.
|
|
616
|
-
*/
|
|
344
|
+
/** Context-aware alias for {@link Client.setReactions}. */
|
|
617
345
|
setReactions(messageId: number, reactions: Reaction[], params?: SetReactionsParams): Promise<void>;
|
|
618
|
-
/**
|
|
619
|
-
* Context-aware alias for {@link Client.setChatMemberRights}.
|
|
620
|
-
*/
|
|
346
|
+
/** Context-aware alias for {@link Client.setChatMemberRights}. */
|
|
621
347
|
setSenderRights(params?: SetChatMemberRightsParams): Promise<void>;
|
|
622
|
-
/**
|
|
623
|
-
* Context-aware alias for {@link Client.setSlowMode}.
|
|
624
|
-
*/
|
|
348
|
+
/** Context-aware alias for {@link Client.setSlowMode}. */
|
|
625
349
|
setSlowMode(duration: SlowModeDuration): Promise<void>;
|
|
626
|
-
/**
|
|
627
|
-
* Context-aware alias for {@link Client.showGeneralTopic}.
|
|
628
|
-
*/
|
|
350
|
+
/** Context-aware alias for {@link Client.showGeneralTopic}. */
|
|
629
351
|
showGeneralTopic(): Promise<void>;
|
|
630
|
-
/**
|
|
631
|
-
* Context-aware alias for {@link Client.showMemberList}.
|
|
632
|
-
*/
|
|
352
|
+
/** Context-aware alias for {@link Client.showMemberList}. */
|
|
633
353
|
showMemberList(): Promise<void>;
|
|
634
|
-
/**
|
|
635
|
-
* Context-aware alias for {@link Client.startVideoChat}.
|
|
636
|
-
*/
|
|
354
|
+
/** Context-aware alias for {@link Client.startVideoChat}. */
|
|
637
355
|
startVideoChat(params?: StartVideoChatParams): Promise<VideoChatActive>;
|
|
638
|
-
/**
|
|
639
|
-
* Context-aware alias for {@link Client.stopPoll}.
|
|
640
|
-
*/
|
|
356
|
+
/** Context-aware alias for {@link Client.stopPoll}. */
|
|
641
357
|
stopPoll(messageId: number, params?: StopPollParams): Promise<Poll>;
|
|
642
|
-
/**
|
|
643
|
-
* Context-aware alias for {@link Client.transcribeVoice}.
|
|
644
|
-
*/
|
|
358
|
+
/** Context-aware alias for {@link Client.transcribeVoice}. */
|
|
645
359
|
transcribeVoice(messageId: number): Promise<VoiceTranscription>;
|
|
646
|
-
/**
|
|
647
|
-
* Context-aware alias for {@link Client.transferChatOwnership}.
|
|
648
|
-
*/
|
|
360
|
+
/** Context-aware alias for {@link Client.transferChatOwnership}. */
|
|
649
361
|
transferOwnership(userId: ID, password: string): Promise<void>;
|
|
650
|
-
/**
|
|
651
|
-
* Context-aware alias for {@link Client.unarchiveChat}.
|
|
652
|
-
*/
|
|
362
|
+
/** Context-aware alias for {@link Client.unarchiveChat}. */
|
|
653
363
|
unarchive(): Promise<void>;
|
|
654
|
-
/**
|
|
655
|
-
* Context-aware alias for {@link Client.unbanChatMember}.
|
|
656
|
-
*/
|
|
364
|
+
/** Context-aware alias for {@link Client.unbanChatMember}. */
|
|
657
365
|
unbanChatMember(memberId: ID): Promise<void>;
|
|
658
|
-
/**
|
|
659
|
-
* Context-aware alias for {@link Client.unblockUser}.
|
|
660
|
-
*/
|
|
366
|
+
/** Context-aware alias for {@link Client.unblockUser}. */
|
|
661
367
|
unblockUser(): Promise<void>;
|
|
662
|
-
/**
|
|
663
|
-
* Context-aware alias for {@link Client.uncheckChecklistItem}.
|
|
664
|
-
*/
|
|
368
|
+
/** Context-aware alias for {@link Client.uncheckChecklistItem}. */
|
|
665
369
|
uncheckChecklistItem(messageId: number, item: number): Promise<void>;
|
|
666
|
-
/**
|
|
667
|
-
* Context-aware alias for {@link Client.uncheckChecklistItems}.
|
|
668
|
-
*/
|
|
370
|
+
/** Context-aware alias for {@link Client.uncheckChecklistItems}. */
|
|
669
371
|
uncheckChecklistItems(messageId: number, items: number[]): Promise<void>;
|
|
670
|
-
/**
|
|
671
|
-
* Context-aware alias for {@link Client.unpinMessage}.
|
|
672
|
-
*/
|
|
372
|
+
/** Context-aware alias for {@link Client.unpinMessage}. */
|
|
673
373
|
unpin(): Promise<void>;
|
|
674
|
-
/**
|
|
675
|
-
* Context-aware alias for {@link Client.unpinMessage}.
|
|
676
|
-
*/
|
|
374
|
+
/** Context-aware alias for {@link Client.unpinMessage}. */
|
|
677
375
|
unpinMessage(messageId: number): Promise<void>;
|
|
678
|
-
/**
|
|
679
|
-
* Context-aware alias for {@link Client.unpinMessages}.
|
|
680
|
-
*/
|
|
376
|
+
/** Context-aware alias for {@link Client.unpinMessages}. */
|
|
681
377
|
unpinMessages(): Promise<void>;
|
|
682
|
-
/**
|
|
683
|
-
* Context-aware alias for {@link Client.unpinTopic}.
|
|
684
|
-
*/
|
|
378
|
+
/** Context-aware alias for {@link Client.unpinTopic}. */
|
|
685
379
|
unpinTopic(topicId: number): Promise<void>;
|
|
686
|
-
/**
|
|
687
|
-
* Context-aware alias for {@link Client.updateChecklist}.
|
|
688
|
-
*/
|
|
380
|
+
/** Context-aware alias for {@link Client.updateChecklist}. */
|
|
689
381
|
updateChecklist(messageId: number, params?: UpdateChecklistParams): Promise<void>;
|
|
690
382
|
}
|
|
691
383
|
export {};
|