@apicity/telegram 0.5.0 → 0.5.2

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.
@@ -1,6 +1,6 @@
1
1
  import type { z } from "zod";
2
- import type { TelegramSendAudioRequest, TelegramSendMessageRequest, TelegramSendPhotoRequest, TelegramSendVideoRequest } from "./zod.js";
3
- export type { TelegramInputFile, TelegramOptions, TelegramSendAudioRequest, TelegramSendMessageRequest, TelegramSendPhotoRequest, TelegramSendVideoRequest, } from "./zod.js";
2
+ import type * as TelegramZod from "./zod.js";
3
+ export type * from "./zod.js";
4
4
  export declare class TelegramError extends Error {
5
5
  readonly status: number;
6
6
  readonly body: unknown;
@@ -24,7 +24,7 @@ export interface TelegramUser {
24
24
  last_name?: string;
25
25
  username?: string;
26
26
  language_code?: string;
27
- is_premium?: boolean;
27
+ [key: string]: unknown;
28
28
  }
29
29
  export interface TelegramChat {
30
30
  id: number;
@@ -33,52 +33,569 @@ export interface TelegramChat {
33
33
  username?: string;
34
34
  first_name?: string;
35
35
  last_name?: string;
36
+ [key: string]: unknown;
36
37
  }
37
38
  export interface TelegramMessage {
38
39
  message_id: number;
39
- message_thread_id?: number;
40
- from?: TelegramUser;
41
- sender_chat?: TelegramChat;
42
40
  date: number;
43
41
  chat: TelegramChat;
44
42
  text?: string;
45
43
  caption?: string;
46
- photo?: Array<Record<string, unknown>>;
47
- video?: Record<string, unknown>;
48
- audio?: Record<string, unknown>;
49
44
  [key: string]: unknown;
50
45
  }
51
- export type TelegramSendMessageResponse = TelegramApiResponse<TelegramMessage>;
52
- export type TelegramSendPhotoResponse = TelegramApiResponse<TelegramMessage>;
53
- export type TelegramSendVideoResponse = TelegramApiResponse<TelegramMessage>;
54
- export type TelegramSendAudioResponse = TelegramApiResponse<TelegramMessage>;
55
- export interface TelegramSendMessageMethod {
56
- (req: TelegramSendMessageRequest, signal?: AbortSignal): Promise<TelegramSendMessageResponse>;
57
- schema: z.ZodType<TelegramSendMessageRequest>;
58
- }
59
- export interface TelegramSendPhotoMethod {
60
- (req: TelegramSendPhotoRequest, signal?: AbortSignal): Promise<TelegramSendPhotoResponse>;
61
- schema: z.ZodType<TelegramSendPhotoRequest>;
62
- }
63
- export interface TelegramSendVideoMethod {
64
- (req: TelegramSendVideoRequest, signal?: AbortSignal): Promise<TelegramSendVideoResponse>;
65
- schema: z.ZodType<TelegramSendVideoRequest>;
66
- }
67
- export interface TelegramSendAudioMethod {
68
- (req: TelegramSendAudioRequest, signal?: AbortSignal): Promise<TelegramSendAudioResponse>;
69
- schema: z.ZodType<TelegramSendAudioRequest>;
46
+ export interface TelegramMethod<TRequest, TResponse> {
47
+ (req?: TRequest, signal?: AbortSignal): Promise<TResponse>;
48
+ schema: z.ZodType<TRequest>;
49
+ example?: unknown;
70
50
  }
51
+ export type TelegramRecordResponse = TelegramApiResponse<Record<string, unknown>>;
52
+ export type TelegramBooleanResponse = TelegramApiResponse<boolean>;
53
+ export type TelegramStringResponse = TelegramApiResponse<string>;
54
+ export type TelegramMessagesResponse = TelegramApiResponse<TelegramMessage[]>;
55
+ export type TelegramTrueResponse = TelegramApiResponse<true>;
56
+ export type TelegramApproveSuggestedPostResponse = TelegramRecordResponse;
57
+ export type TelegramDeclineSuggestedPostResponse = TelegramRecordResponse;
58
+ export type TelegramGetUserProfileAudiosResponse = TelegramRecordResponse;
59
+ export type TelegramGetUserProfilePhotosResponse = TelegramRecordResponse;
60
+ export type TelegramRemoveMyProfilePhotoResponse = TelegramRecordResponse;
61
+ export type TelegramSetMyProfilePhotoResponse = TelegramRecordResponse;
62
+ export type TelegramAddStickerToSetResponse = TelegramRecordResponse;
63
+ export type TelegramAnswerCallbackQueryResponse = TelegramRecordResponse;
64
+ export type TelegramAnswerChatJoinRequestQueryResponse = TelegramRecordResponse;
65
+ export type TelegramAnswerGuestQueryResponse = TelegramRecordResponse;
66
+ export type TelegramAnswerInlineQueryResponse = TelegramRecordResponse;
67
+ export type TelegramAnswerPreCheckoutQueryResponse = TelegramRecordResponse;
68
+ export type TelegramAnswerShippingQueryResponse = TelegramRecordResponse;
69
+ export type TelegramAnswerWebAppQueryResponse = TelegramRecordResponse;
70
+ export type TelegramApproveChatJoinRequestResponse = TelegramRecordResponse;
71
+ export type TelegramBanChatMemberResponse = TelegramRecordResponse;
72
+ export type TelegramBanChatSenderChatResponse = TelegramRecordResponse;
73
+ export type TelegramCloseResponse = TelegramRecordResponse;
74
+ export type TelegramCloseForumTopicResponse = TelegramRecordResponse;
75
+ export type TelegramCloseGeneralForumTopicResponse = TelegramRecordResponse;
76
+ export type TelegramConvertGiftToStarsResponse = TelegramRecordResponse;
77
+ export type TelegramCopyMessageResponse = TelegramRecordResponse;
78
+ export type TelegramCopyMessagesResponse = TelegramRecordResponse;
79
+ export type TelegramCreateChatInviteLinkResponse = TelegramRecordResponse;
80
+ export type TelegramCreateChatSubscriptionInviteLinkResponse = TelegramRecordResponse;
81
+ export type TelegramCreateForumTopicResponse = TelegramRecordResponse;
82
+ export type TelegramCreateInvoiceLinkResponse = TelegramRecordResponse;
83
+ export type TelegramCreateNewStickerSetResponse = TelegramRecordResponse;
84
+ export type TelegramDeclineChatJoinRequestResponse = TelegramRecordResponse;
85
+ export type TelegramDeleteAllMessageReactionsResponse = TelegramRecordResponse;
86
+ export type TelegramDeleteBusinessMessagesResponse = TelegramRecordResponse;
87
+ export type TelegramDeleteChatPhotoResponse = TelegramRecordResponse;
88
+ export type TelegramDeleteChatStickerSetResponse = TelegramRecordResponse;
89
+ export type TelegramDeleteForumTopicResponse = TelegramRecordResponse;
90
+ export type TelegramDeleteMessageResponse = TelegramRecordResponse;
91
+ export type TelegramDeleteMessageReactionResponse = TelegramRecordResponse;
92
+ export type TelegramDeleteMessagesResponse = TelegramRecordResponse;
93
+ export type TelegramDeleteMyCommandsResponse = TelegramRecordResponse;
94
+ export type TelegramDeleteStickerFromSetResponse = TelegramRecordResponse;
95
+ export type TelegramDeleteStickerSetResponse = TelegramRecordResponse;
96
+ export type TelegramDeleteStoryResponse = TelegramRecordResponse;
97
+ export type TelegramDeleteWebhookResponse = TelegramRecordResponse;
98
+ export type TelegramEditChatInviteLinkResponse = TelegramRecordResponse;
99
+ export type TelegramEditChatSubscriptionInviteLinkResponse = TelegramRecordResponse;
100
+ export type TelegramEditForumTopicResponse = TelegramRecordResponse;
101
+ export type TelegramEditGeneralForumTopicResponse = TelegramRecordResponse;
102
+ export type TelegramEditMessageCaptionResponse = TelegramRecordResponse;
103
+ export type TelegramEditMessageChecklistResponse = TelegramRecordResponse;
104
+ export type TelegramEditMessageLiveLocationResponse = TelegramRecordResponse;
105
+ export type TelegramEditMessageMediaResponse = TelegramRecordResponse;
106
+ export type TelegramEditMessageReplyMarkupResponse = TelegramRecordResponse;
107
+ export type TelegramEditMessageTextResponse = TelegramRecordResponse;
108
+ export type TelegramEditStoryResponse = TelegramRecordResponse;
109
+ export type TelegramEditUserStarSubscriptionResponse = TelegramRecordResponse;
110
+ export type TelegramExportChatInviteLinkResponse = TelegramRecordResponse;
111
+ export type TelegramForwardMessageResponse = TelegramRecordResponse;
112
+ export type TelegramForwardMessagesResponse = TelegramRecordResponse;
113
+ export type TelegramGetAvailableGiftsResponse = TelegramRecordResponse;
114
+ export type TelegramGetBusinessAccountGiftsResponse = TelegramRecordResponse;
115
+ export type TelegramGetBusinessAccountStarBalanceResponse = TelegramRecordResponse;
116
+ export type TelegramGetBusinessConnectionResponse = TelegramRecordResponse;
117
+ export type TelegramGetChatResponse = TelegramRecordResponse;
118
+ export type TelegramGetChatAdministratorsResponse = TelegramRecordResponse;
119
+ export type TelegramGetChatGiftsResponse = TelegramRecordResponse;
120
+ export type TelegramGetChatMemberResponse = TelegramRecordResponse;
121
+ export type TelegramGetChatMemberCountResponse = TelegramRecordResponse;
122
+ export type TelegramGetChatMenuButtonResponse = TelegramRecordResponse;
123
+ export type TelegramGetCustomEmojiStickersResponse = TelegramRecordResponse;
124
+ export type TelegramGetFileResponse = TelegramRecordResponse;
125
+ export type TelegramGetForumTopicIconStickersResponse = TelegramRecordResponse;
126
+ export type TelegramGetGameHighScoresResponse = TelegramRecordResponse;
127
+ export type TelegramGetManagedBotAccessSettingsResponse = TelegramRecordResponse;
128
+ export type TelegramGetManagedBotTokenResponse = TelegramRecordResponse;
129
+ export type TelegramGetMeResponse = TelegramRecordResponse;
130
+ export type TelegramGetMyCommandsResponse = TelegramRecordResponse;
131
+ export type TelegramGetMyDefaultAdministratorRightsResponse = TelegramRecordResponse;
132
+ export type TelegramGetMyDescriptionResponse = TelegramRecordResponse;
133
+ export type TelegramGetMyNameResponse = TelegramRecordResponse;
134
+ export type TelegramGetMyShortDescriptionResponse = TelegramRecordResponse;
135
+ export type TelegramGetMyStarBalanceResponse = TelegramRecordResponse;
136
+ export type TelegramGetStarTransactionsResponse = TelegramRecordResponse;
137
+ export type TelegramGetStickerSetResponse = TelegramRecordResponse;
138
+ export type TelegramGetUpdatesResponse = TelegramRecordResponse;
139
+ export type TelegramGetUserChatBoostsResponse = TelegramRecordResponse;
140
+ export type TelegramGetUserGiftsResponse = TelegramRecordResponse;
141
+ export type TelegramGetUserPersonalChatMessagesResponse = TelegramRecordResponse;
142
+ export type TelegramGetWebhookInfoResponse = TelegramRecordResponse;
143
+ export type TelegramGiftPremiumSubscriptionResponse = TelegramRecordResponse;
144
+ export type TelegramHideGeneralForumTopicResponse = TelegramRecordResponse;
145
+ export type TelegramLeaveChatResponse = TelegramRecordResponse;
146
+ export type TelegramLogOutResponse = TelegramRecordResponse;
147
+ export type TelegramPinChatMessageResponse = TelegramRecordResponse;
148
+ export type TelegramPostStoryResponse = TelegramRecordResponse;
149
+ export type TelegramPromoteChatMemberResponse = TelegramRecordResponse;
150
+ export type TelegramReadBusinessMessageResponse = TelegramRecordResponse;
151
+ export type TelegramRefundStarPaymentResponse = TelegramRecordResponse;
152
+ export type TelegramRemoveBusinessAccountProfilePhotoResponse = TelegramRecordResponse;
153
+ export type TelegramRemoveChatVerificationResponse = TelegramRecordResponse;
154
+ export type TelegramRemoveUserVerificationResponse = TelegramRecordResponse;
155
+ export type TelegramReopenForumTopicResponse = TelegramRecordResponse;
156
+ export type TelegramReopenGeneralForumTopicResponse = TelegramRecordResponse;
157
+ export type TelegramReplaceManagedBotTokenResponse = TelegramRecordResponse;
158
+ export type TelegramReplaceStickerInSetResponse = TelegramRecordResponse;
159
+ export type TelegramRepostStoryResponse = TelegramRecordResponse;
160
+ export type TelegramRestrictChatMemberResponse = TelegramRecordResponse;
161
+ export type TelegramRevokeChatInviteLinkResponse = TelegramRecordResponse;
162
+ export type TelegramSavePreparedInlineMessageResponse = TelegramRecordResponse;
163
+ export type TelegramSavePreparedKeyboardButtonResponse = TelegramRecordResponse;
164
+ export type TelegramSendAnimationResponse = TelegramRecordResponse;
165
+ export type TelegramSendAudioResponse = TelegramRecordResponse;
166
+ export type TelegramSendChatActionResponse = TelegramRecordResponse;
167
+ export type TelegramSendChatJoinRequestWebAppResponse = TelegramRecordResponse;
168
+ export type TelegramSendChecklistResponse = TelegramRecordResponse;
169
+ export type TelegramSendContactResponse = TelegramRecordResponse;
170
+ export type TelegramSendDiceResponse = TelegramRecordResponse;
171
+ export type TelegramSendDocumentResponse = TelegramRecordResponse;
172
+ export type TelegramSendGameResponse = TelegramRecordResponse;
173
+ export type TelegramSendGiftResponse = TelegramRecordResponse;
174
+ export type TelegramSendInvoiceResponse = TelegramRecordResponse;
175
+ export type TelegramSendLivePhotoResponse = TelegramRecordResponse;
176
+ export type TelegramSendLocationResponse = TelegramRecordResponse;
177
+ export type TelegramSendMediaGroupResponse = TelegramRecordResponse;
178
+ export type TelegramSendMessageResponse = TelegramRecordResponse;
179
+ export type TelegramSendMessageDraftResponse = TelegramRecordResponse;
180
+ export type TelegramSendPaidMediaResponse = TelegramRecordResponse;
181
+ export type TelegramSendPhotoResponse = TelegramRecordResponse;
182
+ export type TelegramSendPollResponse = TelegramRecordResponse;
183
+ export type TelegramSendRichMessageResponse = TelegramRecordResponse;
184
+ export type TelegramSendRichMessageDraftResponse = TelegramRecordResponse;
185
+ export type TelegramSendStickerResponse = TelegramRecordResponse;
186
+ export type TelegramSendVenueResponse = TelegramRecordResponse;
187
+ export type TelegramSendVideoResponse = TelegramRecordResponse;
188
+ export type TelegramSendVideoNoteResponse = TelegramRecordResponse;
189
+ export type TelegramSendVoiceResponse = TelegramRecordResponse;
190
+ export type TelegramSetBusinessAccountBioResponse = TelegramRecordResponse;
191
+ export type TelegramSetBusinessAccountGiftSettingsResponse = TelegramRecordResponse;
192
+ export type TelegramSetBusinessAccountNameResponse = TelegramRecordResponse;
193
+ export type TelegramSetBusinessAccountProfilePhotoResponse = TelegramRecordResponse;
194
+ export type TelegramSetBusinessAccountUsernameResponse = TelegramRecordResponse;
195
+ export type TelegramSetChatAdministratorCustomTitleResponse = TelegramRecordResponse;
196
+ export type TelegramSetChatDescriptionResponse = TelegramRecordResponse;
197
+ export type TelegramSetChatMemberTagResponse = TelegramRecordResponse;
198
+ export type TelegramSetChatMenuButtonResponse = TelegramRecordResponse;
199
+ export type TelegramSetChatPermissionsResponse = TelegramRecordResponse;
200
+ export type TelegramSetChatPhotoResponse = TelegramRecordResponse;
201
+ export type TelegramSetChatStickerSetResponse = TelegramRecordResponse;
202
+ export type TelegramSetChatTitleResponse = TelegramRecordResponse;
203
+ export type TelegramSetCustomEmojiStickerSetThumbnailResponse = TelegramRecordResponse;
204
+ export type TelegramSetGameScoreResponse = TelegramRecordResponse;
205
+ export type TelegramSetManagedBotAccessSettingsResponse = TelegramRecordResponse;
206
+ export type TelegramSetMessageReactionResponse = TelegramRecordResponse;
207
+ export type TelegramSetMyCommandsResponse = TelegramRecordResponse;
208
+ export type TelegramSetMyDefaultAdministratorRightsResponse = TelegramRecordResponse;
209
+ export type TelegramSetMyDescriptionResponse = TelegramRecordResponse;
210
+ export type TelegramSetMyNameResponse = TelegramRecordResponse;
211
+ export type TelegramSetMyShortDescriptionResponse = TelegramRecordResponse;
212
+ export type TelegramSetPassportDataErrorsResponse = TelegramRecordResponse;
213
+ export type TelegramSetStickerEmojiListResponse = TelegramRecordResponse;
214
+ export type TelegramSetStickerKeywordsResponse = TelegramRecordResponse;
215
+ export type TelegramSetStickerMaskPositionResponse = TelegramRecordResponse;
216
+ export type TelegramSetStickerPositionInSetResponse = TelegramRecordResponse;
217
+ export type TelegramSetStickerSetThumbnailResponse = TelegramRecordResponse;
218
+ export type TelegramSetStickerSetTitleResponse = TelegramRecordResponse;
219
+ export type TelegramSetUserEmojiStatusResponse = TelegramRecordResponse;
220
+ export type TelegramSetWebhookResponse = TelegramRecordResponse;
221
+ export type TelegramStopMessageLiveLocationResponse = TelegramRecordResponse;
222
+ export type TelegramStopPollResponse = TelegramRecordResponse;
223
+ export type TelegramTransferBusinessAccountStarsResponse = TelegramRecordResponse;
224
+ export type TelegramTransferGiftResponse = TelegramRecordResponse;
225
+ export type TelegramUnbanChatMemberResponse = TelegramRecordResponse;
226
+ export type TelegramUnbanChatSenderChatResponse = TelegramRecordResponse;
227
+ export type TelegramUnhideGeneralForumTopicResponse = TelegramRecordResponse;
228
+ export type TelegramUnpinAllChatMessagesResponse = TelegramRecordResponse;
229
+ export type TelegramUnpinAllForumTopicMessagesResponse = TelegramRecordResponse;
230
+ export type TelegramUnpinAllGeneralForumTopicMessagesResponse = TelegramRecordResponse;
231
+ export type TelegramUnpinChatMessageResponse = TelegramRecordResponse;
232
+ export type TelegramUpgradeGiftResponse = TelegramRecordResponse;
233
+ export type TelegramUploadStickerFileResponse = TelegramRecordResponse;
234
+ export type TelegramVerifyChatResponse = TelegramRecordResponse;
235
+ export type TelegramVerifyUserResponse = TelegramRecordResponse;
236
+ export type TelegramApproveSuggestedPostMethod = TelegramMethod<TelegramZod.TelegramApproveSuggestedPostRequest, TelegramApproveSuggestedPostResponse>;
237
+ export type TelegramDeclineSuggestedPostMethod = TelegramMethod<TelegramZod.TelegramDeclineSuggestedPostRequest, TelegramDeclineSuggestedPostResponse>;
238
+ export type TelegramGetUserProfileAudiosMethod = TelegramMethod<TelegramZod.TelegramGetUserProfileAudiosRequest, TelegramGetUserProfileAudiosResponse>;
239
+ export type TelegramGetUserProfilePhotosMethod = TelegramMethod<TelegramZod.TelegramGetUserProfilePhotosRequest, TelegramGetUserProfilePhotosResponse>;
240
+ export type TelegramRemoveMyProfilePhotoMethod = TelegramMethod<TelegramZod.TelegramRemoveMyProfilePhotoRequest, TelegramRemoveMyProfilePhotoResponse>;
241
+ export type TelegramSetMyProfilePhotoMethod = TelegramMethod<TelegramZod.TelegramSetMyProfilePhotoRequest, TelegramSetMyProfilePhotoResponse>;
242
+ export type TelegramAddStickerToSetMethod = TelegramMethod<TelegramZod.TelegramAddStickerToSetRequest, TelegramAddStickerToSetResponse>;
243
+ export type TelegramAnswerCallbackQueryMethod = TelegramMethod<TelegramZod.TelegramAnswerCallbackQueryRequest, TelegramAnswerCallbackQueryResponse>;
244
+ export type TelegramAnswerChatJoinRequestQueryMethod = TelegramMethod<TelegramZod.TelegramAnswerChatJoinRequestQueryRequest, TelegramAnswerChatJoinRequestQueryResponse>;
245
+ export type TelegramAnswerGuestQueryMethod = TelegramMethod<TelegramZod.TelegramAnswerGuestQueryRequest, TelegramAnswerGuestQueryResponse>;
246
+ export type TelegramAnswerInlineQueryMethod = TelegramMethod<TelegramZod.TelegramAnswerInlineQueryRequest, TelegramAnswerInlineQueryResponse>;
247
+ export type TelegramAnswerPreCheckoutQueryMethod = TelegramMethod<TelegramZod.TelegramAnswerPreCheckoutQueryRequest, TelegramAnswerPreCheckoutQueryResponse>;
248
+ export type TelegramAnswerShippingQueryMethod = TelegramMethod<TelegramZod.TelegramAnswerShippingQueryRequest, TelegramAnswerShippingQueryResponse>;
249
+ export type TelegramAnswerWebAppQueryMethod = TelegramMethod<TelegramZod.TelegramAnswerWebAppQueryRequest, TelegramAnswerWebAppQueryResponse>;
250
+ export type TelegramApproveChatJoinRequestMethod = TelegramMethod<TelegramZod.TelegramApproveChatJoinRequestRequest, TelegramApproveChatJoinRequestResponse>;
251
+ export type TelegramBanChatMemberMethod = TelegramMethod<TelegramZod.TelegramBanChatMemberRequest, TelegramBanChatMemberResponse>;
252
+ export type TelegramBanChatSenderChatMethod = TelegramMethod<TelegramZod.TelegramBanChatSenderChatRequest, TelegramBanChatSenderChatResponse>;
253
+ export type TelegramCloseMethod = TelegramMethod<TelegramZod.TelegramCloseRequest, TelegramCloseResponse>;
254
+ export type TelegramCloseForumTopicMethod = TelegramMethod<TelegramZod.TelegramCloseForumTopicRequest, TelegramCloseForumTopicResponse>;
255
+ export type TelegramCloseGeneralForumTopicMethod = TelegramMethod<TelegramZod.TelegramCloseGeneralForumTopicRequest, TelegramCloseGeneralForumTopicResponse>;
256
+ export type TelegramConvertGiftToStarsMethod = TelegramMethod<TelegramZod.TelegramConvertGiftToStarsRequest, TelegramConvertGiftToStarsResponse>;
257
+ export type TelegramCopyMessageMethod = TelegramMethod<TelegramZod.TelegramCopyMessageRequest, TelegramCopyMessageResponse>;
258
+ export type TelegramCopyMessagesMethod = TelegramMethod<TelegramZod.TelegramCopyMessagesRequest, TelegramCopyMessagesResponse>;
259
+ export type TelegramCreateChatInviteLinkMethod = TelegramMethod<TelegramZod.TelegramCreateChatInviteLinkRequest, TelegramCreateChatInviteLinkResponse>;
260
+ export type TelegramCreateChatSubscriptionInviteLinkMethod = TelegramMethod<TelegramZod.TelegramCreateChatSubscriptionInviteLinkRequest, TelegramCreateChatSubscriptionInviteLinkResponse>;
261
+ export type TelegramCreateForumTopicMethod = TelegramMethod<TelegramZod.TelegramCreateForumTopicRequest, TelegramCreateForumTopicResponse>;
262
+ export type TelegramCreateInvoiceLinkMethod = TelegramMethod<TelegramZod.TelegramCreateInvoiceLinkRequest, TelegramCreateInvoiceLinkResponse>;
263
+ export type TelegramCreateNewStickerSetMethod = TelegramMethod<TelegramZod.TelegramCreateNewStickerSetRequest, TelegramCreateNewStickerSetResponse>;
264
+ export type TelegramDeclineChatJoinRequestMethod = TelegramMethod<TelegramZod.TelegramDeclineChatJoinRequestRequest, TelegramDeclineChatJoinRequestResponse>;
265
+ export type TelegramDeleteAllMessageReactionsMethod = TelegramMethod<TelegramZod.TelegramDeleteAllMessageReactionsRequest, TelegramDeleteAllMessageReactionsResponse>;
266
+ export type TelegramDeleteBusinessMessagesMethod = TelegramMethod<TelegramZod.TelegramDeleteBusinessMessagesRequest, TelegramDeleteBusinessMessagesResponse>;
267
+ export type TelegramDeleteChatPhotoMethod = TelegramMethod<TelegramZod.TelegramDeleteChatPhotoRequest, TelegramDeleteChatPhotoResponse>;
268
+ export type TelegramDeleteChatStickerSetMethod = TelegramMethod<TelegramZod.TelegramDeleteChatStickerSetRequest, TelegramDeleteChatStickerSetResponse>;
269
+ export type TelegramDeleteForumTopicMethod = TelegramMethod<TelegramZod.TelegramDeleteForumTopicRequest, TelegramDeleteForumTopicResponse>;
270
+ export type TelegramDeleteMessageMethod = TelegramMethod<TelegramZod.TelegramDeleteMessageRequest, TelegramDeleteMessageResponse>;
271
+ export type TelegramDeleteMessageReactionMethod = TelegramMethod<TelegramZod.TelegramDeleteMessageReactionRequest, TelegramDeleteMessageReactionResponse>;
272
+ export type TelegramDeleteMessagesMethod = TelegramMethod<TelegramZod.TelegramDeleteMessagesRequest, TelegramDeleteMessagesResponse>;
273
+ export type TelegramDeleteMyCommandsMethod = TelegramMethod<TelegramZod.TelegramDeleteMyCommandsRequest, TelegramDeleteMyCommandsResponse>;
274
+ export type TelegramDeleteStickerFromSetMethod = TelegramMethod<TelegramZod.TelegramDeleteStickerFromSetRequest, TelegramDeleteStickerFromSetResponse>;
275
+ export type TelegramDeleteStickerSetMethod = TelegramMethod<TelegramZod.TelegramDeleteStickerSetRequest, TelegramDeleteStickerSetResponse>;
276
+ export type TelegramDeleteStoryMethod = TelegramMethod<TelegramZod.TelegramDeleteStoryRequest, TelegramDeleteStoryResponse>;
277
+ export type TelegramDeleteWebhookMethod = TelegramMethod<TelegramZod.TelegramDeleteWebhookRequest, TelegramDeleteWebhookResponse>;
278
+ export type TelegramEditChatInviteLinkMethod = TelegramMethod<TelegramZod.TelegramEditChatInviteLinkRequest, TelegramEditChatInviteLinkResponse>;
279
+ export type TelegramEditChatSubscriptionInviteLinkMethod = TelegramMethod<TelegramZod.TelegramEditChatSubscriptionInviteLinkRequest, TelegramEditChatSubscriptionInviteLinkResponse>;
280
+ export type TelegramEditForumTopicMethod = TelegramMethod<TelegramZod.TelegramEditForumTopicRequest, TelegramEditForumTopicResponse>;
281
+ export type TelegramEditGeneralForumTopicMethod = TelegramMethod<TelegramZod.TelegramEditGeneralForumTopicRequest, TelegramEditGeneralForumTopicResponse>;
282
+ export type TelegramEditMessageCaptionMethod = TelegramMethod<TelegramZod.TelegramEditMessageCaptionRequest, TelegramEditMessageCaptionResponse>;
283
+ export type TelegramEditMessageChecklistMethod = TelegramMethod<TelegramZod.TelegramEditMessageChecklistRequest, TelegramEditMessageChecklistResponse>;
284
+ export type TelegramEditMessageLiveLocationMethod = TelegramMethod<TelegramZod.TelegramEditMessageLiveLocationRequest, TelegramEditMessageLiveLocationResponse>;
285
+ export type TelegramEditMessageMediaMethod = TelegramMethod<TelegramZod.TelegramEditMessageMediaRequest, TelegramEditMessageMediaResponse>;
286
+ export type TelegramEditMessageReplyMarkupMethod = TelegramMethod<TelegramZod.TelegramEditMessageReplyMarkupRequest, TelegramEditMessageReplyMarkupResponse>;
287
+ export type TelegramEditMessageTextMethod = TelegramMethod<TelegramZod.TelegramEditMessageTextRequest, TelegramEditMessageTextResponse>;
288
+ export type TelegramEditStoryMethod = TelegramMethod<TelegramZod.TelegramEditStoryRequest, TelegramEditStoryResponse>;
289
+ export type TelegramEditUserStarSubscriptionMethod = TelegramMethod<TelegramZod.TelegramEditUserStarSubscriptionRequest, TelegramEditUserStarSubscriptionResponse>;
290
+ export type TelegramExportChatInviteLinkMethod = TelegramMethod<TelegramZod.TelegramExportChatInviteLinkRequest, TelegramExportChatInviteLinkResponse>;
291
+ export type TelegramForwardMessageMethod = TelegramMethod<TelegramZod.TelegramForwardMessageRequest, TelegramForwardMessageResponse>;
292
+ export type TelegramForwardMessagesMethod = TelegramMethod<TelegramZod.TelegramForwardMessagesRequest, TelegramForwardMessagesResponse>;
293
+ export type TelegramGetAvailableGiftsMethod = TelegramMethod<TelegramZod.TelegramGetAvailableGiftsRequest, TelegramGetAvailableGiftsResponse>;
294
+ export type TelegramGetBusinessAccountGiftsMethod = TelegramMethod<TelegramZod.TelegramGetBusinessAccountGiftsRequest, TelegramGetBusinessAccountGiftsResponse>;
295
+ export type TelegramGetBusinessAccountStarBalanceMethod = TelegramMethod<TelegramZod.TelegramGetBusinessAccountStarBalanceRequest, TelegramGetBusinessAccountStarBalanceResponse>;
296
+ export type TelegramGetBusinessConnectionMethod = TelegramMethod<TelegramZod.TelegramGetBusinessConnectionRequest, TelegramGetBusinessConnectionResponse>;
297
+ export type TelegramGetChatMethod = TelegramMethod<TelegramZod.TelegramGetChatRequest, TelegramGetChatResponse>;
298
+ export type TelegramGetChatAdministratorsMethod = TelegramMethod<TelegramZod.TelegramGetChatAdministratorsRequest, TelegramGetChatAdministratorsResponse>;
299
+ export type TelegramGetChatGiftsMethod = TelegramMethod<TelegramZod.TelegramGetChatGiftsRequest, TelegramGetChatGiftsResponse>;
300
+ export type TelegramGetChatMemberMethod = TelegramMethod<TelegramZod.TelegramGetChatMemberRequest, TelegramGetChatMemberResponse>;
301
+ export type TelegramGetChatMemberCountMethod = TelegramMethod<TelegramZod.TelegramGetChatMemberCountRequest, TelegramGetChatMemberCountResponse>;
302
+ export type TelegramGetChatMenuButtonMethod = TelegramMethod<TelegramZod.TelegramGetChatMenuButtonRequest, TelegramGetChatMenuButtonResponse>;
303
+ export type TelegramGetCustomEmojiStickersMethod = TelegramMethod<TelegramZod.TelegramGetCustomEmojiStickersRequest, TelegramGetCustomEmojiStickersResponse>;
304
+ export type TelegramGetFileMethod = TelegramMethod<TelegramZod.TelegramGetFileRequest, TelegramGetFileResponse>;
305
+ export type TelegramGetForumTopicIconStickersMethod = TelegramMethod<TelegramZod.TelegramGetForumTopicIconStickersRequest, TelegramGetForumTopicIconStickersResponse>;
306
+ export type TelegramGetGameHighScoresMethod = TelegramMethod<TelegramZod.TelegramGetGameHighScoresRequest, TelegramGetGameHighScoresResponse>;
307
+ export type TelegramGetManagedBotAccessSettingsMethod = TelegramMethod<TelegramZod.TelegramGetManagedBotAccessSettingsRequest, TelegramGetManagedBotAccessSettingsResponse>;
308
+ export type TelegramGetManagedBotTokenMethod = TelegramMethod<TelegramZod.TelegramGetManagedBotTokenRequest, TelegramGetManagedBotTokenResponse>;
309
+ export type TelegramGetMeMethod = TelegramMethod<TelegramZod.TelegramGetMeRequest, TelegramGetMeResponse>;
310
+ export type TelegramGetMyCommandsMethod = TelegramMethod<TelegramZod.TelegramGetMyCommandsRequest, TelegramGetMyCommandsResponse>;
311
+ export type TelegramGetMyDefaultAdministratorRightsMethod = TelegramMethod<TelegramZod.TelegramGetMyDefaultAdministratorRightsRequest, TelegramGetMyDefaultAdministratorRightsResponse>;
312
+ export type TelegramGetMyDescriptionMethod = TelegramMethod<TelegramZod.TelegramGetMyDescriptionRequest, TelegramGetMyDescriptionResponse>;
313
+ export type TelegramGetMyNameMethod = TelegramMethod<TelegramZod.TelegramGetMyNameRequest, TelegramGetMyNameResponse>;
314
+ export type TelegramGetMyShortDescriptionMethod = TelegramMethod<TelegramZod.TelegramGetMyShortDescriptionRequest, TelegramGetMyShortDescriptionResponse>;
315
+ export type TelegramGetMyStarBalanceMethod = TelegramMethod<TelegramZod.TelegramGetMyStarBalanceRequest, TelegramGetMyStarBalanceResponse>;
316
+ export type TelegramGetStarTransactionsMethod = TelegramMethod<TelegramZod.TelegramGetStarTransactionsRequest, TelegramGetStarTransactionsResponse>;
317
+ export type TelegramGetStickerSetMethod = TelegramMethod<TelegramZod.TelegramGetStickerSetRequest, TelegramGetStickerSetResponse>;
318
+ export type TelegramGetUpdatesMethod = TelegramMethod<TelegramZod.TelegramGetUpdatesRequest, TelegramGetUpdatesResponse>;
319
+ export type TelegramGetUserChatBoostsMethod = TelegramMethod<TelegramZod.TelegramGetUserChatBoostsRequest, TelegramGetUserChatBoostsResponse>;
320
+ export type TelegramGetUserGiftsMethod = TelegramMethod<TelegramZod.TelegramGetUserGiftsRequest, TelegramGetUserGiftsResponse>;
321
+ export type TelegramGetUserPersonalChatMessagesMethod = TelegramMethod<TelegramZod.TelegramGetUserPersonalChatMessagesRequest, TelegramGetUserPersonalChatMessagesResponse>;
322
+ export type TelegramGetWebhookInfoMethod = TelegramMethod<TelegramZod.TelegramGetWebhookInfoRequest, TelegramGetWebhookInfoResponse>;
323
+ export type TelegramGiftPremiumSubscriptionMethod = TelegramMethod<TelegramZod.TelegramGiftPremiumSubscriptionRequest, TelegramGiftPremiumSubscriptionResponse>;
324
+ export type TelegramHideGeneralForumTopicMethod = TelegramMethod<TelegramZod.TelegramHideGeneralForumTopicRequest, TelegramHideGeneralForumTopicResponse>;
325
+ export type TelegramLeaveChatMethod = TelegramMethod<TelegramZod.TelegramLeaveChatRequest, TelegramLeaveChatResponse>;
326
+ export type TelegramLogOutMethod = TelegramMethod<TelegramZod.TelegramLogOutRequest, TelegramLogOutResponse>;
327
+ export type TelegramPinChatMessageMethod = TelegramMethod<TelegramZod.TelegramPinChatMessageRequest, TelegramPinChatMessageResponse>;
328
+ export type TelegramPostStoryMethod = TelegramMethod<TelegramZod.TelegramPostStoryRequest, TelegramPostStoryResponse>;
329
+ export type TelegramPromoteChatMemberMethod = TelegramMethod<TelegramZod.TelegramPromoteChatMemberRequest, TelegramPromoteChatMemberResponse>;
330
+ export type TelegramReadBusinessMessageMethod = TelegramMethod<TelegramZod.TelegramReadBusinessMessageRequest, TelegramReadBusinessMessageResponse>;
331
+ export type TelegramRefundStarPaymentMethod = TelegramMethod<TelegramZod.TelegramRefundStarPaymentRequest, TelegramRefundStarPaymentResponse>;
332
+ export type TelegramRemoveBusinessAccountProfilePhotoMethod = TelegramMethod<TelegramZod.TelegramRemoveBusinessAccountProfilePhotoRequest, TelegramRemoveBusinessAccountProfilePhotoResponse>;
333
+ export type TelegramRemoveChatVerificationMethod = TelegramMethod<TelegramZod.TelegramRemoveChatVerificationRequest, TelegramRemoveChatVerificationResponse>;
334
+ export type TelegramRemoveUserVerificationMethod = TelegramMethod<TelegramZod.TelegramRemoveUserVerificationRequest, TelegramRemoveUserVerificationResponse>;
335
+ export type TelegramReopenForumTopicMethod = TelegramMethod<TelegramZod.TelegramReopenForumTopicRequest, TelegramReopenForumTopicResponse>;
336
+ export type TelegramReopenGeneralForumTopicMethod = TelegramMethod<TelegramZod.TelegramReopenGeneralForumTopicRequest, TelegramReopenGeneralForumTopicResponse>;
337
+ export type TelegramReplaceManagedBotTokenMethod = TelegramMethod<TelegramZod.TelegramReplaceManagedBotTokenRequest, TelegramReplaceManagedBotTokenResponse>;
338
+ export type TelegramReplaceStickerInSetMethod = TelegramMethod<TelegramZod.TelegramReplaceStickerInSetRequest, TelegramReplaceStickerInSetResponse>;
339
+ export type TelegramRepostStoryMethod = TelegramMethod<TelegramZod.TelegramRepostStoryRequest, TelegramRepostStoryResponse>;
340
+ export type TelegramRestrictChatMemberMethod = TelegramMethod<TelegramZod.TelegramRestrictChatMemberRequest, TelegramRestrictChatMemberResponse>;
341
+ export type TelegramRevokeChatInviteLinkMethod = TelegramMethod<TelegramZod.TelegramRevokeChatInviteLinkRequest, TelegramRevokeChatInviteLinkResponse>;
342
+ export type TelegramSavePreparedInlineMessageMethod = TelegramMethod<TelegramZod.TelegramSavePreparedInlineMessageRequest, TelegramSavePreparedInlineMessageResponse>;
343
+ export type TelegramSavePreparedKeyboardButtonMethod = TelegramMethod<TelegramZod.TelegramSavePreparedKeyboardButtonRequest, TelegramSavePreparedKeyboardButtonResponse>;
344
+ export type TelegramSendAnimationMethod = TelegramMethod<TelegramZod.TelegramSendAnimationRequest, TelegramSendAnimationResponse>;
345
+ export type TelegramSendAudioMethod = TelegramMethod<TelegramZod.TelegramSendAudioRequest, TelegramSendAudioResponse>;
346
+ export type TelegramSendChatActionMethod = TelegramMethod<TelegramZod.TelegramSendChatActionRequest, TelegramSendChatActionResponse>;
347
+ export type TelegramSendChatJoinRequestWebAppMethod = TelegramMethod<TelegramZod.TelegramSendChatJoinRequestWebAppRequest, TelegramSendChatJoinRequestWebAppResponse>;
348
+ export type TelegramSendChecklistMethod = TelegramMethod<TelegramZod.TelegramSendChecklistRequest, TelegramSendChecklistResponse>;
349
+ export type TelegramSendContactMethod = TelegramMethod<TelegramZod.TelegramSendContactRequest, TelegramSendContactResponse>;
350
+ export type TelegramSendDiceMethod = TelegramMethod<TelegramZod.TelegramSendDiceRequest, TelegramSendDiceResponse>;
351
+ export type TelegramSendDocumentMethod = TelegramMethod<TelegramZod.TelegramSendDocumentRequest, TelegramSendDocumentResponse>;
352
+ export type TelegramSendGameMethod = TelegramMethod<TelegramZod.TelegramSendGameRequest, TelegramSendGameResponse>;
353
+ export type TelegramSendGiftMethod = TelegramMethod<TelegramZod.TelegramSendGiftRequest, TelegramSendGiftResponse>;
354
+ export type TelegramSendInvoiceMethod = TelegramMethod<TelegramZod.TelegramSendInvoiceRequest, TelegramSendInvoiceResponse>;
355
+ export type TelegramSendLivePhotoMethod = TelegramMethod<TelegramZod.TelegramSendLivePhotoRequest, TelegramSendLivePhotoResponse>;
356
+ export type TelegramSendLocationMethod = TelegramMethod<TelegramZod.TelegramSendLocationRequest, TelegramSendLocationResponse>;
357
+ export type TelegramSendMediaGroupMethod = TelegramMethod<TelegramZod.TelegramSendMediaGroupRequest, TelegramSendMediaGroupResponse>;
358
+ export type TelegramSendMessageMethod = TelegramMethod<TelegramZod.TelegramSendMessageRequest, TelegramSendMessageResponse>;
359
+ export type TelegramSendMessageDraftMethod = TelegramMethod<TelegramZod.TelegramSendMessageDraftRequest, TelegramSendMessageDraftResponse>;
360
+ export type TelegramSendPaidMediaMethod = TelegramMethod<TelegramZod.TelegramSendPaidMediaRequest, TelegramSendPaidMediaResponse>;
361
+ export type TelegramSendPhotoMethod = TelegramMethod<TelegramZod.TelegramSendPhotoRequest, TelegramSendPhotoResponse>;
362
+ export type TelegramSendPollMethod = TelegramMethod<TelegramZod.TelegramSendPollRequest, TelegramSendPollResponse>;
363
+ export type TelegramSendRichMessageMethod = TelegramMethod<TelegramZod.TelegramSendRichMessageRequest, TelegramSendRichMessageResponse>;
364
+ export type TelegramSendRichMessageDraftMethod = TelegramMethod<TelegramZod.TelegramSendRichMessageDraftRequest, TelegramSendRichMessageDraftResponse>;
365
+ export type TelegramSendStickerMethod = TelegramMethod<TelegramZod.TelegramSendStickerRequest, TelegramSendStickerResponse>;
366
+ export type TelegramSendVenueMethod = TelegramMethod<TelegramZod.TelegramSendVenueRequest, TelegramSendVenueResponse>;
367
+ export type TelegramSendVideoMethod = TelegramMethod<TelegramZod.TelegramSendVideoRequest, TelegramSendVideoResponse>;
368
+ export type TelegramSendVideoNoteMethod = TelegramMethod<TelegramZod.TelegramSendVideoNoteRequest, TelegramSendVideoNoteResponse>;
369
+ export type TelegramSendVoiceMethod = TelegramMethod<TelegramZod.TelegramSendVoiceRequest, TelegramSendVoiceResponse>;
370
+ export type TelegramSetBusinessAccountBioMethod = TelegramMethod<TelegramZod.TelegramSetBusinessAccountBioRequest, TelegramSetBusinessAccountBioResponse>;
371
+ export type TelegramSetBusinessAccountGiftSettingsMethod = TelegramMethod<TelegramZod.TelegramSetBusinessAccountGiftSettingsRequest, TelegramSetBusinessAccountGiftSettingsResponse>;
372
+ export type TelegramSetBusinessAccountNameMethod = TelegramMethod<TelegramZod.TelegramSetBusinessAccountNameRequest, TelegramSetBusinessAccountNameResponse>;
373
+ export type TelegramSetBusinessAccountProfilePhotoMethod = TelegramMethod<TelegramZod.TelegramSetBusinessAccountProfilePhotoRequest, TelegramSetBusinessAccountProfilePhotoResponse>;
374
+ export type TelegramSetBusinessAccountUsernameMethod = TelegramMethod<TelegramZod.TelegramSetBusinessAccountUsernameRequest, TelegramSetBusinessAccountUsernameResponse>;
375
+ export type TelegramSetChatAdministratorCustomTitleMethod = TelegramMethod<TelegramZod.TelegramSetChatAdministratorCustomTitleRequest, TelegramSetChatAdministratorCustomTitleResponse>;
376
+ export type TelegramSetChatDescriptionMethod = TelegramMethod<TelegramZod.TelegramSetChatDescriptionRequest, TelegramSetChatDescriptionResponse>;
377
+ export type TelegramSetChatMemberTagMethod = TelegramMethod<TelegramZod.TelegramSetChatMemberTagRequest, TelegramSetChatMemberTagResponse>;
378
+ export type TelegramSetChatMenuButtonMethod = TelegramMethod<TelegramZod.TelegramSetChatMenuButtonRequest, TelegramSetChatMenuButtonResponse>;
379
+ export type TelegramSetChatPermissionsMethod = TelegramMethod<TelegramZod.TelegramSetChatPermissionsRequest, TelegramSetChatPermissionsResponse>;
380
+ export type TelegramSetChatPhotoMethod = TelegramMethod<TelegramZod.TelegramSetChatPhotoRequest, TelegramSetChatPhotoResponse>;
381
+ export type TelegramSetChatStickerSetMethod = TelegramMethod<TelegramZod.TelegramSetChatStickerSetRequest, TelegramSetChatStickerSetResponse>;
382
+ export type TelegramSetChatTitleMethod = TelegramMethod<TelegramZod.TelegramSetChatTitleRequest, TelegramSetChatTitleResponse>;
383
+ export type TelegramSetCustomEmojiStickerSetThumbnailMethod = TelegramMethod<TelegramZod.TelegramSetCustomEmojiStickerSetThumbnailRequest, TelegramSetCustomEmojiStickerSetThumbnailResponse>;
384
+ export type TelegramSetGameScoreMethod = TelegramMethod<TelegramZod.TelegramSetGameScoreRequest, TelegramSetGameScoreResponse>;
385
+ export type TelegramSetManagedBotAccessSettingsMethod = TelegramMethod<TelegramZod.TelegramSetManagedBotAccessSettingsRequest, TelegramSetManagedBotAccessSettingsResponse>;
386
+ export type TelegramSetMessageReactionMethod = TelegramMethod<TelegramZod.TelegramSetMessageReactionRequest, TelegramSetMessageReactionResponse>;
387
+ export type TelegramSetMyCommandsMethod = TelegramMethod<TelegramZod.TelegramSetMyCommandsRequest, TelegramSetMyCommandsResponse>;
388
+ export type TelegramSetMyDefaultAdministratorRightsMethod = TelegramMethod<TelegramZod.TelegramSetMyDefaultAdministratorRightsRequest, TelegramSetMyDefaultAdministratorRightsResponse>;
389
+ export type TelegramSetMyDescriptionMethod = TelegramMethod<TelegramZod.TelegramSetMyDescriptionRequest, TelegramSetMyDescriptionResponse>;
390
+ export type TelegramSetMyNameMethod = TelegramMethod<TelegramZod.TelegramSetMyNameRequest, TelegramSetMyNameResponse>;
391
+ export type TelegramSetMyShortDescriptionMethod = TelegramMethod<TelegramZod.TelegramSetMyShortDescriptionRequest, TelegramSetMyShortDescriptionResponse>;
392
+ export type TelegramSetPassportDataErrorsMethod = TelegramMethod<TelegramZod.TelegramSetPassportDataErrorsRequest, TelegramSetPassportDataErrorsResponse>;
393
+ export type TelegramSetStickerEmojiListMethod = TelegramMethod<TelegramZod.TelegramSetStickerEmojiListRequest, TelegramSetStickerEmojiListResponse>;
394
+ export type TelegramSetStickerKeywordsMethod = TelegramMethod<TelegramZod.TelegramSetStickerKeywordsRequest, TelegramSetStickerKeywordsResponse>;
395
+ export type TelegramSetStickerMaskPositionMethod = TelegramMethod<TelegramZod.TelegramSetStickerMaskPositionRequest, TelegramSetStickerMaskPositionResponse>;
396
+ export type TelegramSetStickerPositionInSetMethod = TelegramMethod<TelegramZod.TelegramSetStickerPositionInSetRequest, TelegramSetStickerPositionInSetResponse>;
397
+ export type TelegramSetStickerSetThumbnailMethod = TelegramMethod<TelegramZod.TelegramSetStickerSetThumbnailRequest, TelegramSetStickerSetThumbnailResponse>;
398
+ export type TelegramSetStickerSetTitleMethod = TelegramMethod<TelegramZod.TelegramSetStickerSetTitleRequest, TelegramSetStickerSetTitleResponse>;
399
+ export type TelegramSetUserEmojiStatusMethod = TelegramMethod<TelegramZod.TelegramSetUserEmojiStatusRequest, TelegramSetUserEmojiStatusResponse>;
400
+ export type TelegramSetWebhookMethod = TelegramMethod<TelegramZod.TelegramSetWebhookRequest, TelegramSetWebhookResponse>;
401
+ export type TelegramStopMessageLiveLocationMethod = TelegramMethod<TelegramZod.TelegramStopMessageLiveLocationRequest, TelegramStopMessageLiveLocationResponse>;
402
+ export type TelegramStopPollMethod = TelegramMethod<TelegramZod.TelegramStopPollRequest, TelegramStopPollResponse>;
403
+ export type TelegramTransferBusinessAccountStarsMethod = TelegramMethod<TelegramZod.TelegramTransferBusinessAccountStarsRequest, TelegramTransferBusinessAccountStarsResponse>;
404
+ export type TelegramTransferGiftMethod = TelegramMethod<TelegramZod.TelegramTransferGiftRequest, TelegramTransferGiftResponse>;
405
+ export type TelegramUnbanChatMemberMethod = TelegramMethod<TelegramZod.TelegramUnbanChatMemberRequest, TelegramUnbanChatMemberResponse>;
406
+ export type TelegramUnbanChatSenderChatMethod = TelegramMethod<TelegramZod.TelegramUnbanChatSenderChatRequest, TelegramUnbanChatSenderChatResponse>;
407
+ export type TelegramUnhideGeneralForumTopicMethod = TelegramMethod<TelegramZod.TelegramUnhideGeneralForumTopicRequest, TelegramUnhideGeneralForumTopicResponse>;
408
+ export type TelegramUnpinAllChatMessagesMethod = TelegramMethod<TelegramZod.TelegramUnpinAllChatMessagesRequest, TelegramUnpinAllChatMessagesResponse>;
409
+ export type TelegramUnpinAllForumTopicMessagesMethod = TelegramMethod<TelegramZod.TelegramUnpinAllForumTopicMessagesRequest, TelegramUnpinAllForumTopicMessagesResponse>;
410
+ export type TelegramUnpinAllGeneralForumTopicMessagesMethod = TelegramMethod<TelegramZod.TelegramUnpinAllGeneralForumTopicMessagesRequest, TelegramUnpinAllGeneralForumTopicMessagesResponse>;
411
+ export type TelegramUnpinChatMessageMethod = TelegramMethod<TelegramZod.TelegramUnpinChatMessageRequest, TelegramUnpinChatMessageResponse>;
412
+ export type TelegramUpgradeGiftMethod = TelegramMethod<TelegramZod.TelegramUpgradeGiftRequest, TelegramUpgradeGiftResponse>;
413
+ export type TelegramUploadStickerFileMethod = TelegramMethod<TelegramZod.TelegramUploadStickerFileRequest, TelegramUploadStickerFileResponse>;
414
+ export type TelegramVerifyChatMethod = TelegramMethod<TelegramZod.TelegramVerifyChatRequest, TelegramVerifyChatResponse>;
415
+ export type TelegramVerifyUserMethod = TelegramMethod<TelegramZod.TelegramVerifyUserRequest, TelegramVerifyUserResponse>;
71
416
  export interface TelegramPostNamespace {
72
- sendMessage: TelegramSendMessageMethod;
73
- sendPhoto: TelegramSendPhotoMethod;
74
- sendVideo: TelegramSendVideoMethod;
417
+ approveSuggestedPost: TelegramApproveSuggestedPostMethod;
418
+ declineSuggestedPost: TelegramDeclineSuggestedPostMethod;
419
+ getUserProfileAudios: TelegramGetUserProfileAudiosMethod;
420
+ getUserProfilePhotos: TelegramGetUserProfilePhotosMethod;
421
+ removeMyProfilePhoto: TelegramRemoveMyProfilePhotoMethod;
422
+ setMyProfilePhoto: TelegramSetMyProfilePhotoMethod;
423
+ addStickerToSet: TelegramAddStickerToSetMethod;
424
+ answerCallbackQuery: TelegramAnswerCallbackQueryMethod;
425
+ answerChatJoinRequestQuery: TelegramAnswerChatJoinRequestQueryMethod;
426
+ answerGuestQuery: TelegramAnswerGuestQueryMethod;
427
+ answerInlineQuery: TelegramAnswerInlineQueryMethod;
428
+ answerPreCheckoutQuery: TelegramAnswerPreCheckoutQueryMethod;
429
+ answerShippingQuery: TelegramAnswerShippingQueryMethod;
430
+ answerWebAppQuery: TelegramAnswerWebAppQueryMethod;
431
+ approveChatJoinRequest: TelegramApproveChatJoinRequestMethod;
432
+ banChatMember: TelegramBanChatMemberMethod;
433
+ banChatSenderChat: TelegramBanChatSenderChatMethod;
434
+ close: TelegramCloseMethod;
435
+ closeForumTopic: TelegramCloseForumTopicMethod;
436
+ closeGeneralForumTopic: TelegramCloseGeneralForumTopicMethod;
437
+ convertGiftToStars: TelegramConvertGiftToStarsMethod;
438
+ copyMessage: TelegramCopyMessageMethod;
439
+ copyMessages: TelegramCopyMessagesMethod;
440
+ createChatInviteLink: TelegramCreateChatInviteLinkMethod;
441
+ createChatSubscriptionInviteLink: TelegramCreateChatSubscriptionInviteLinkMethod;
442
+ createForumTopic: TelegramCreateForumTopicMethod;
443
+ createInvoiceLink: TelegramCreateInvoiceLinkMethod;
444
+ createNewStickerSet: TelegramCreateNewStickerSetMethod;
445
+ declineChatJoinRequest: TelegramDeclineChatJoinRequestMethod;
446
+ deleteAllMessageReactions: TelegramDeleteAllMessageReactionsMethod;
447
+ deleteBusinessMessages: TelegramDeleteBusinessMessagesMethod;
448
+ deleteChatPhoto: TelegramDeleteChatPhotoMethod;
449
+ deleteChatStickerSet: TelegramDeleteChatStickerSetMethod;
450
+ deleteForumTopic: TelegramDeleteForumTopicMethod;
451
+ deleteMessage: TelegramDeleteMessageMethod;
452
+ deleteMessageReaction: TelegramDeleteMessageReactionMethod;
453
+ deleteMessages: TelegramDeleteMessagesMethod;
454
+ deleteMyCommands: TelegramDeleteMyCommandsMethod;
455
+ deleteStickerFromSet: TelegramDeleteStickerFromSetMethod;
456
+ deleteStickerSet: TelegramDeleteStickerSetMethod;
457
+ deleteStory: TelegramDeleteStoryMethod;
458
+ deleteWebhook: TelegramDeleteWebhookMethod;
459
+ editChatInviteLink: TelegramEditChatInviteLinkMethod;
460
+ editChatSubscriptionInviteLink: TelegramEditChatSubscriptionInviteLinkMethod;
461
+ editForumTopic: TelegramEditForumTopicMethod;
462
+ editGeneralForumTopic: TelegramEditGeneralForumTopicMethod;
463
+ editMessageCaption: TelegramEditMessageCaptionMethod;
464
+ editMessageChecklist: TelegramEditMessageChecklistMethod;
465
+ editMessageLiveLocation: TelegramEditMessageLiveLocationMethod;
466
+ editMessageMedia: TelegramEditMessageMediaMethod;
467
+ editMessageReplyMarkup: TelegramEditMessageReplyMarkupMethod;
468
+ editMessageText: TelegramEditMessageTextMethod;
469
+ editStory: TelegramEditStoryMethod;
470
+ editUserStarSubscription: TelegramEditUserStarSubscriptionMethod;
471
+ exportChatInviteLink: TelegramExportChatInviteLinkMethod;
472
+ forwardMessage: TelegramForwardMessageMethod;
473
+ forwardMessages: TelegramForwardMessagesMethod;
474
+ getAvailableGifts: TelegramGetAvailableGiftsMethod;
475
+ getBusinessAccountGifts: TelegramGetBusinessAccountGiftsMethod;
476
+ getBusinessAccountStarBalance: TelegramGetBusinessAccountStarBalanceMethod;
477
+ getBusinessConnection: TelegramGetBusinessConnectionMethod;
478
+ getChat: TelegramGetChatMethod;
479
+ getChatAdministrators: TelegramGetChatAdministratorsMethod;
480
+ getChatGifts: TelegramGetChatGiftsMethod;
481
+ getChatMember: TelegramGetChatMemberMethod;
482
+ getChatMemberCount: TelegramGetChatMemberCountMethod;
483
+ getChatMenuButton: TelegramGetChatMenuButtonMethod;
484
+ getCustomEmojiStickers: TelegramGetCustomEmojiStickersMethod;
485
+ getFile: TelegramGetFileMethod;
486
+ getForumTopicIconStickers: TelegramGetForumTopicIconStickersMethod;
487
+ getGameHighScores: TelegramGetGameHighScoresMethod;
488
+ getManagedBotAccessSettings: TelegramGetManagedBotAccessSettingsMethod;
489
+ getManagedBotToken: TelegramGetManagedBotTokenMethod;
490
+ getMe: TelegramGetMeMethod;
491
+ getMyCommands: TelegramGetMyCommandsMethod;
492
+ getMyDefaultAdministratorRights: TelegramGetMyDefaultAdministratorRightsMethod;
493
+ getMyDescription: TelegramGetMyDescriptionMethod;
494
+ getMyName: TelegramGetMyNameMethod;
495
+ getMyShortDescription: TelegramGetMyShortDescriptionMethod;
496
+ getMyStarBalance: TelegramGetMyStarBalanceMethod;
497
+ getStarTransactions: TelegramGetStarTransactionsMethod;
498
+ getStickerSet: TelegramGetStickerSetMethod;
499
+ getUpdates: TelegramGetUpdatesMethod;
500
+ getUserChatBoosts: TelegramGetUserChatBoostsMethod;
501
+ getUserGifts: TelegramGetUserGiftsMethod;
502
+ getUserPersonalChatMessages: TelegramGetUserPersonalChatMessagesMethod;
503
+ getWebhookInfo: TelegramGetWebhookInfoMethod;
504
+ giftPremiumSubscription: TelegramGiftPremiumSubscriptionMethod;
505
+ hideGeneralForumTopic: TelegramHideGeneralForumTopicMethod;
506
+ leaveChat: TelegramLeaveChatMethod;
507
+ logOut: TelegramLogOutMethod;
508
+ pinChatMessage: TelegramPinChatMessageMethod;
509
+ postStory: TelegramPostStoryMethod;
510
+ promoteChatMember: TelegramPromoteChatMemberMethod;
511
+ readBusinessMessage: TelegramReadBusinessMessageMethod;
512
+ refundStarPayment: TelegramRefundStarPaymentMethod;
513
+ removeBusinessAccountProfilePhoto: TelegramRemoveBusinessAccountProfilePhotoMethod;
514
+ removeChatVerification: TelegramRemoveChatVerificationMethod;
515
+ removeUserVerification: TelegramRemoveUserVerificationMethod;
516
+ reopenForumTopic: TelegramReopenForumTopicMethod;
517
+ reopenGeneralForumTopic: TelegramReopenGeneralForumTopicMethod;
518
+ replaceManagedBotToken: TelegramReplaceManagedBotTokenMethod;
519
+ replaceStickerInSet: TelegramReplaceStickerInSetMethod;
520
+ repostStory: TelegramRepostStoryMethod;
521
+ restrictChatMember: TelegramRestrictChatMemberMethod;
522
+ revokeChatInviteLink: TelegramRevokeChatInviteLinkMethod;
523
+ savePreparedInlineMessage: TelegramSavePreparedInlineMessageMethod;
524
+ savePreparedKeyboardButton: TelegramSavePreparedKeyboardButtonMethod;
525
+ sendAnimation: TelegramSendAnimationMethod;
75
526
  sendAudio: TelegramSendAudioMethod;
76
- }
77
- export interface TelegramProvider {
527
+ sendChatAction: TelegramSendChatActionMethod;
528
+ sendChatJoinRequestWebApp: TelegramSendChatJoinRequestWebAppMethod;
529
+ sendChecklist: TelegramSendChecklistMethod;
530
+ sendContact: TelegramSendContactMethod;
531
+ sendDice: TelegramSendDiceMethod;
532
+ sendDocument: TelegramSendDocumentMethod;
533
+ sendGame: TelegramSendGameMethod;
534
+ sendGift: TelegramSendGiftMethod;
535
+ sendInvoice: TelegramSendInvoiceMethod;
536
+ sendLivePhoto: TelegramSendLivePhotoMethod;
537
+ sendLocation: TelegramSendLocationMethod;
538
+ sendMediaGroup: TelegramSendMediaGroupMethod;
78
539
  sendMessage: TelegramSendMessageMethod;
540
+ sendMessageDraft: TelegramSendMessageDraftMethod;
541
+ sendPaidMedia: TelegramSendPaidMediaMethod;
79
542
  sendPhoto: TelegramSendPhotoMethod;
543
+ sendPoll: TelegramSendPollMethod;
544
+ sendRichMessage: TelegramSendRichMessageMethod;
545
+ sendRichMessageDraft: TelegramSendRichMessageDraftMethod;
546
+ sendSticker: TelegramSendStickerMethod;
547
+ sendVenue: TelegramSendVenueMethod;
80
548
  sendVideo: TelegramSendVideoMethod;
81
- sendAudio: TelegramSendAudioMethod;
549
+ sendVideoNote: TelegramSendVideoNoteMethod;
550
+ sendVoice: TelegramSendVoiceMethod;
551
+ setBusinessAccountBio: TelegramSetBusinessAccountBioMethod;
552
+ setBusinessAccountGiftSettings: TelegramSetBusinessAccountGiftSettingsMethod;
553
+ setBusinessAccountName: TelegramSetBusinessAccountNameMethod;
554
+ setBusinessAccountProfilePhoto: TelegramSetBusinessAccountProfilePhotoMethod;
555
+ setBusinessAccountUsername: TelegramSetBusinessAccountUsernameMethod;
556
+ setChatAdministratorCustomTitle: TelegramSetChatAdministratorCustomTitleMethod;
557
+ setChatDescription: TelegramSetChatDescriptionMethod;
558
+ setChatMemberTag: TelegramSetChatMemberTagMethod;
559
+ setChatMenuButton: TelegramSetChatMenuButtonMethod;
560
+ setChatPermissions: TelegramSetChatPermissionsMethod;
561
+ setChatPhoto: TelegramSetChatPhotoMethod;
562
+ setChatStickerSet: TelegramSetChatStickerSetMethod;
563
+ setChatTitle: TelegramSetChatTitleMethod;
564
+ setCustomEmojiStickerSetThumbnail: TelegramSetCustomEmojiStickerSetThumbnailMethod;
565
+ setGameScore: TelegramSetGameScoreMethod;
566
+ setManagedBotAccessSettings: TelegramSetManagedBotAccessSettingsMethod;
567
+ setMessageReaction: TelegramSetMessageReactionMethod;
568
+ setMyCommands: TelegramSetMyCommandsMethod;
569
+ setMyDefaultAdministratorRights: TelegramSetMyDefaultAdministratorRightsMethod;
570
+ setMyDescription: TelegramSetMyDescriptionMethod;
571
+ setMyName: TelegramSetMyNameMethod;
572
+ setMyShortDescription: TelegramSetMyShortDescriptionMethod;
573
+ setPassportDataErrors: TelegramSetPassportDataErrorsMethod;
574
+ setStickerEmojiList: TelegramSetStickerEmojiListMethod;
575
+ setStickerKeywords: TelegramSetStickerKeywordsMethod;
576
+ setStickerMaskPosition: TelegramSetStickerMaskPositionMethod;
577
+ setStickerPositionInSet: TelegramSetStickerPositionInSetMethod;
578
+ setStickerSetThumbnail: TelegramSetStickerSetThumbnailMethod;
579
+ setStickerSetTitle: TelegramSetStickerSetTitleMethod;
580
+ setUserEmojiStatus: TelegramSetUserEmojiStatusMethod;
581
+ setWebhook: TelegramSetWebhookMethod;
582
+ stopMessageLiveLocation: TelegramStopMessageLiveLocationMethod;
583
+ stopPoll: TelegramStopPollMethod;
584
+ transferBusinessAccountStars: TelegramTransferBusinessAccountStarsMethod;
585
+ transferGift: TelegramTransferGiftMethod;
586
+ unbanChatMember: TelegramUnbanChatMemberMethod;
587
+ unbanChatSenderChat: TelegramUnbanChatSenderChatMethod;
588
+ unhideGeneralForumTopic: TelegramUnhideGeneralForumTopicMethod;
589
+ unpinAllChatMessages: TelegramUnpinAllChatMessagesMethod;
590
+ unpinAllForumTopicMessages: TelegramUnpinAllForumTopicMessagesMethod;
591
+ unpinAllGeneralForumTopicMessages: TelegramUnpinAllGeneralForumTopicMessagesMethod;
592
+ unpinChatMessage: TelegramUnpinChatMessageMethod;
593
+ upgradeGift: TelegramUpgradeGiftMethod;
594
+ uploadStickerFile: TelegramUploadStickerFileMethod;
595
+ verifyChat: TelegramVerifyChatMethod;
596
+ verifyUser: TelegramVerifyUserMethod;
597
+ }
598
+ export interface TelegramProvider extends TelegramPostNamespace {
82
599
  post: TelegramPostNamespace;
83
600
  }
84
601
  //# sourceMappingURL=types.d.ts.map