@apicity/telegram 0.5.0 → 0.5.1
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/README.md +3015 -21
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js.map +1 -1
- package/dist/src/telegram.d.ts +2 -2
- package/dist/src/telegram.d.ts.map +1 -1
- package/dist/src/telegram.js +1344 -98
- package/dist/src/telegram.js.map +1 -1
- package/dist/src/types.d.ts +551 -34
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/types.js +0 -1
- package/dist/src/types.js.map +1 -1
- package/dist/src/zod.d.ts +1398 -178
- package/dist/src/zod.d.ts.map +1 -1
- package/dist/src/zod.js +402 -53
- package/dist/src/zod.js.map +1 -1
- package/package.json +2 -2
package/dist/src/zod.d.ts
CHANGED
|
@@ -18,17 +18,901 @@ export declare const TelegramOptionsSchema: z.ZodObject<{
|
|
|
18
18
|
export type TelegramOptions = z.infer<typeof TelegramOptionsSchema>;
|
|
19
19
|
export declare const TelegramChatIdSchema: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
20
20
|
export declare const TelegramRecordSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
21
|
+
export declare const TelegramRecordArraySchema: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
21
22
|
export declare const TelegramEntitiesSchema: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
22
23
|
export declare const TelegramParseModeSchema: z.ZodEnum<["Markdown", "MarkdownV2", "HTML"]>;
|
|
23
24
|
export declare const TelegramInputFileSchema: z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
|
|
25
|
+
export declare const TelegramEmptyRequestSchema: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
26
|
+
export declare const TelegramGenericRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
27
|
+
export declare const TelegramMessageIdListSchema: z.ZodArray<z.ZodNumber, "many">;
|
|
28
|
+
export declare const TelegramReactionTypeSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
29
|
+
export declare const TelegramBotCommandSchema: z.ZodObject<{
|
|
30
|
+
command: z.ZodString;
|
|
31
|
+
description: z.ZodString;
|
|
32
|
+
}, "strip", z.ZodTypeAny, {
|
|
33
|
+
command: string;
|
|
34
|
+
description: string;
|
|
35
|
+
}, {
|
|
36
|
+
command: string;
|
|
37
|
+
description: string;
|
|
38
|
+
}>;
|
|
39
|
+
export declare const TelegramBotCommandScopeSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
40
|
+
export declare const TelegramMenuButtonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
41
|
+
export declare const TelegramChatAdministratorRightsSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
42
|
+
export declare const TelegramChatPermissionsSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
43
|
+
export declare const TelegramInputChecklistSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
44
|
+
export declare const TelegramInputMediaSchema: z.ZodObject<{
|
|
45
|
+
media: z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
|
|
46
|
+
thumbnail: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
|
|
47
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
48
|
+
media: z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
|
|
49
|
+
thumbnail: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
|
|
50
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
51
|
+
media: z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
|
|
52
|
+
thumbnail: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
|
|
53
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
54
|
+
export declare const TelegramInputPaidMediaSchema: z.ZodObject<{
|
|
55
|
+
media: z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
|
|
56
|
+
thumbnail: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
|
|
57
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
58
|
+
media: z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
|
|
59
|
+
thumbnail: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
|
|
60
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
61
|
+
media: z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
|
|
62
|
+
thumbnail: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
|
|
63
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
64
|
+
export declare const TelegramSendMessageBaseSchema: z.ZodObject<{
|
|
65
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
66
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
67
|
+
message_thread_id: z.ZodOptional<z.ZodNumber>;
|
|
68
|
+
direct_messages_topic_id: z.ZodOptional<z.ZodNumber>;
|
|
69
|
+
disable_notification: z.ZodOptional<z.ZodBoolean>;
|
|
70
|
+
protect_content: z.ZodOptional<z.ZodBoolean>;
|
|
71
|
+
allow_paid_broadcast: z.ZodOptional<z.ZodBoolean>;
|
|
72
|
+
message_effect_id: z.ZodOptional<z.ZodString>;
|
|
73
|
+
suggested_post_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
74
|
+
reply_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
75
|
+
reply_markup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
76
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
77
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
78
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
79
|
+
message_thread_id: z.ZodOptional<z.ZodNumber>;
|
|
80
|
+
direct_messages_topic_id: z.ZodOptional<z.ZodNumber>;
|
|
81
|
+
disable_notification: z.ZodOptional<z.ZodBoolean>;
|
|
82
|
+
protect_content: z.ZodOptional<z.ZodBoolean>;
|
|
83
|
+
allow_paid_broadcast: z.ZodOptional<z.ZodBoolean>;
|
|
84
|
+
message_effect_id: z.ZodOptional<z.ZodString>;
|
|
85
|
+
suggested_post_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
86
|
+
reply_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
87
|
+
reply_markup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
88
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
89
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
90
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
91
|
+
message_thread_id: z.ZodOptional<z.ZodNumber>;
|
|
92
|
+
direct_messages_topic_id: z.ZodOptional<z.ZodNumber>;
|
|
93
|
+
disable_notification: z.ZodOptional<z.ZodBoolean>;
|
|
94
|
+
protect_content: z.ZodOptional<z.ZodBoolean>;
|
|
95
|
+
allow_paid_broadcast: z.ZodOptional<z.ZodBoolean>;
|
|
96
|
+
message_effect_id: z.ZodOptional<z.ZodString>;
|
|
97
|
+
suggested_post_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
98
|
+
reply_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
99
|
+
reply_markup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
100
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
101
|
+
export declare const TelegramMediaMessageBaseSchema: z.ZodObject<{
|
|
102
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
103
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
104
|
+
message_thread_id: z.ZodOptional<z.ZodNumber>;
|
|
105
|
+
direct_messages_topic_id: z.ZodOptional<z.ZodNumber>;
|
|
106
|
+
disable_notification: z.ZodOptional<z.ZodBoolean>;
|
|
107
|
+
protect_content: z.ZodOptional<z.ZodBoolean>;
|
|
108
|
+
allow_paid_broadcast: z.ZodOptional<z.ZodBoolean>;
|
|
109
|
+
message_effect_id: z.ZodOptional<z.ZodString>;
|
|
110
|
+
suggested_post_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
111
|
+
reply_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
112
|
+
reply_markup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
113
|
+
} & {
|
|
114
|
+
caption: z.ZodOptional<z.ZodString>;
|
|
115
|
+
parse_mode: z.ZodOptional<z.ZodEnum<["Markdown", "MarkdownV2", "HTML"]>>;
|
|
116
|
+
caption_entities: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
117
|
+
show_caption_above_media: z.ZodOptional<z.ZodBoolean>;
|
|
118
|
+
has_spoiler: z.ZodOptional<z.ZodBoolean>;
|
|
119
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
120
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
121
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
122
|
+
message_thread_id: z.ZodOptional<z.ZodNumber>;
|
|
123
|
+
direct_messages_topic_id: z.ZodOptional<z.ZodNumber>;
|
|
124
|
+
disable_notification: z.ZodOptional<z.ZodBoolean>;
|
|
125
|
+
protect_content: z.ZodOptional<z.ZodBoolean>;
|
|
126
|
+
allow_paid_broadcast: z.ZodOptional<z.ZodBoolean>;
|
|
127
|
+
message_effect_id: z.ZodOptional<z.ZodString>;
|
|
128
|
+
suggested_post_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
129
|
+
reply_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
130
|
+
reply_markup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
131
|
+
} & {
|
|
132
|
+
caption: z.ZodOptional<z.ZodString>;
|
|
133
|
+
parse_mode: z.ZodOptional<z.ZodEnum<["Markdown", "MarkdownV2", "HTML"]>>;
|
|
134
|
+
caption_entities: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
135
|
+
show_caption_above_media: z.ZodOptional<z.ZodBoolean>;
|
|
136
|
+
has_spoiler: z.ZodOptional<z.ZodBoolean>;
|
|
137
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
138
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
139
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
140
|
+
message_thread_id: z.ZodOptional<z.ZodNumber>;
|
|
141
|
+
direct_messages_topic_id: z.ZodOptional<z.ZodNumber>;
|
|
142
|
+
disable_notification: z.ZodOptional<z.ZodBoolean>;
|
|
143
|
+
protect_content: z.ZodOptional<z.ZodBoolean>;
|
|
144
|
+
allow_paid_broadcast: z.ZodOptional<z.ZodBoolean>;
|
|
145
|
+
message_effect_id: z.ZodOptional<z.ZodString>;
|
|
146
|
+
suggested_post_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
147
|
+
reply_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
148
|
+
reply_markup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
149
|
+
} & {
|
|
150
|
+
caption: z.ZodOptional<z.ZodString>;
|
|
151
|
+
parse_mode: z.ZodOptional<z.ZodEnum<["Markdown", "MarkdownV2", "HTML"]>>;
|
|
152
|
+
caption_entities: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
153
|
+
show_caption_above_media: z.ZodOptional<z.ZodBoolean>;
|
|
154
|
+
has_spoiler: z.ZodOptional<z.ZodBoolean>;
|
|
155
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
156
|
+
export declare const TelegramMessageTargetSchema: z.ZodObject<{
|
|
157
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
158
|
+
chat_id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
159
|
+
message_id: z.ZodOptional<z.ZodNumber>;
|
|
160
|
+
inline_message_id: z.ZodOptional<z.ZodString>;
|
|
161
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
162
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
163
|
+
chat_id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
164
|
+
message_id: z.ZodOptional<z.ZodNumber>;
|
|
165
|
+
inline_message_id: z.ZodOptional<z.ZodString>;
|
|
166
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
167
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
168
|
+
chat_id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
169
|
+
message_id: z.ZodOptional<z.ZodNumber>;
|
|
170
|
+
inline_message_id: z.ZodOptional<z.ZodString>;
|
|
171
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
24
172
|
export type TelegramInputFile = z.infer<typeof TelegramInputFileSchema>;
|
|
173
|
+
export type TelegramBotCommand = z.infer<typeof TelegramBotCommandSchema>;
|
|
174
|
+
export type TelegramBotCommandScope = z.infer<typeof TelegramBotCommandScopeSchema>;
|
|
175
|
+
export type TelegramMenuButton = z.infer<typeof TelegramMenuButtonSchema>;
|
|
176
|
+
export type TelegramChatAdministratorRights = z.infer<typeof TelegramChatAdministratorRightsSchema>;
|
|
177
|
+
export type TelegramChatPermissions = z.infer<typeof TelegramChatPermissionsSchema>;
|
|
178
|
+
export type TelegramInputChecklist = z.infer<typeof TelegramInputChecklistSchema>;
|
|
179
|
+
export type TelegramInputMedia = z.infer<typeof TelegramInputMediaSchema>;
|
|
180
|
+
export type TelegramEmptyRequest = z.infer<typeof TelegramEmptyRequestSchema>;
|
|
181
|
+
export type TelegramGenericRequest = z.infer<typeof TelegramGenericRequestSchema>;
|
|
182
|
+
export declare const TelegramAddStickerToSetRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
183
|
+
export type TelegramAddStickerToSetRequest = z.infer<typeof TelegramAddStickerToSetRequestSchema>;
|
|
184
|
+
export declare const TelegramAnswerCallbackQueryRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
185
|
+
export type TelegramAnswerCallbackQueryRequest = z.infer<typeof TelegramAnswerCallbackQueryRequestSchema>;
|
|
186
|
+
export declare const TelegramAnswerChatJoinRequestQueryRequestSchema: z.ZodObject<{
|
|
187
|
+
chat_join_request_query_id: z.ZodString;
|
|
188
|
+
result: z.ZodEnum<["approve", "decline", "queue"]>;
|
|
189
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
190
|
+
chat_join_request_query_id: z.ZodString;
|
|
191
|
+
result: z.ZodEnum<["approve", "decline", "queue"]>;
|
|
192
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
193
|
+
chat_join_request_query_id: z.ZodString;
|
|
194
|
+
result: z.ZodEnum<["approve", "decline", "queue"]>;
|
|
195
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
196
|
+
export type TelegramAnswerChatJoinRequestQueryRequest = z.infer<typeof TelegramAnswerChatJoinRequestQueryRequestSchema>;
|
|
197
|
+
export declare const TelegramAnswerGuestQueryRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
198
|
+
export type TelegramAnswerGuestQueryRequest = z.infer<typeof TelegramAnswerGuestQueryRequestSchema>;
|
|
199
|
+
export declare const TelegramAnswerInlineQueryRequestSchema: z.ZodObject<{
|
|
200
|
+
inline_query_id: z.ZodString;
|
|
201
|
+
results: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
202
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
203
|
+
inline_query_id: z.ZodString;
|
|
204
|
+
results: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
205
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
206
|
+
inline_query_id: z.ZodString;
|
|
207
|
+
results: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
208
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
209
|
+
export type TelegramAnswerInlineQueryRequest = z.infer<typeof TelegramAnswerInlineQueryRequestSchema>;
|
|
210
|
+
export declare const TelegramAnswerPreCheckoutQueryRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
211
|
+
export type TelegramAnswerPreCheckoutQueryRequest = z.infer<typeof TelegramAnswerPreCheckoutQueryRequestSchema>;
|
|
212
|
+
export declare const TelegramAnswerShippingQueryRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
213
|
+
export type TelegramAnswerShippingQueryRequest = z.infer<typeof TelegramAnswerShippingQueryRequestSchema>;
|
|
214
|
+
export declare const TelegramAnswerWebAppQueryRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
215
|
+
export type TelegramAnswerWebAppQueryRequest = z.infer<typeof TelegramAnswerWebAppQueryRequestSchema>;
|
|
216
|
+
export declare const TelegramApproveChatJoinRequestRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
217
|
+
export type TelegramApproveChatJoinRequestRequest = z.infer<typeof TelegramApproveChatJoinRequestRequestSchema>;
|
|
218
|
+
export declare const TelegramBanChatMemberRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
219
|
+
export type TelegramBanChatMemberRequest = z.infer<typeof TelegramBanChatMemberRequestSchema>;
|
|
220
|
+
export declare const TelegramBanChatSenderChatRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
221
|
+
export type TelegramBanChatSenderChatRequest = z.infer<typeof TelegramBanChatSenderChatRequestSchema>;
|
|
222
|
+
export declare const TelegramCloseRequestSchema: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
223
|
+
export type TelegramCloseRequest = z.infer<typeof TelegramCloseRequestSchema>;
|
|
224
|
+
export declare const TelegramCloseForumTopicRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
225
|
+
export type TelegramCloseForumTopicRequest = z.infer<typeof TelegramCloseForumTopicRequestSchema>;
|
|
226
|
+
export declare const TelegramCloseGeneralForumTopicRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
227
|
+
export type TelegramCloseGeneralForumTopicRequest = z.infer<typeof TelegramCloseGeneralForumTopicRequestSchema>;
|
|
228
|
+
export declare const TelegramConvertGiftToStarsRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
229
|
+
export type TelegramConvertGiftToStarsRequest = z.infer<typeof TelegramConvertGiftToStarsRequestSchema>;
|
|
230
|
+
export declare const TelegramCopyMessageRequestSchema: z.ZodObject<{
|
|
231
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
232
|
+
from_chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
233
|
+
message_id: z.ZodNumber;
|
|
234
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
235
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
236
|
+
from_chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
237
|
+
message_id: z.ZodNumber;
|
|
238
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
239
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
240
|
+
from_chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
241
|
+
message_id: z.ZodNumber;
|
|
242
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
243
|
+
export type TelegramCopyMessageRequest = z.infer<typeof TelegramCopyMessageRequestSchema>;
|
|
244
|
+
export declare const TelegramCopyMessagesRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
245
|
+
export type TelegramCopyMessagesRequest = z.infer<typeof TelegramCopyMessagesRequestSchema>;
|
|
246
|
+
export declare const TelegramCreateChatInviteLinkRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
247
|
+
export type TelegramCreateChatInviteLinkRequest = z.infer<typeof TelegramCreateChatInviteLinkRequestSchema>;
|
|
248
|
+
export declare const TelegramCreateChatSubscriptionInviteLinkRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
249
|
+
export type TelegramCreateChatSubscriptionInviteLinkRequest = z.infer<typeof TelegramCreateChatSubscriptionInviteLinkRequestSchema>;
|
|
250
|
+
export declare const TelegramCreateForumTopicRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
251
|
+
export type TelegramCreateForumTopicRequest = z.infer<typeof TelegramCreateForumTopicRequestSchema>;
|
|
252
|
+
export declare const TelegramCreateInvoiceLinkRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
253
|
+
export type TelegramCreateInvoiceLinkRequest = z.infer<typeof TelegramCreateInvoiceLinkRequestSchema>;
|
|
254
|
+
export declare const TelegramCreateNewStickerSetRequestSchema: z.ZodObject<{
|
|
255
|
+
user_id: z.ZodNumber;
|
|
256
|
+
name: z.ZodString;
|
|
257
|
+
title: z.ZodString;
|
|
258
|
+
stickers: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
259
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
260
|
+
user_id: z.ZodNumber;
|
|
261
|
+
name: z.ZodString;
|
|
262
|
+
title: z.ZodString;
|
|
263
|
+
stickers: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
264
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
265
|
+
user_id: z.ZodNumber;
|
|
266
|
+
name: z.ZodString;
|
|
267
|
+
title: z.ZodString;
|
|
268
|
+
stickers: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
269
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
270
|
+
export type TelegramCreateNewStickerSetRequest = z.infer<typeof TelegramCreateNewStickerSetRequestSchema>;
|
|
271
|
+
export declare const TelegramDeclineChatJoinRequestRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
272
|
+
export type TelegramDeclineChatJoinRequestRequest = z.infer<typeof TelegramDeclineChatJoinRequestRequestSchema>;
|
|
273
|
+
export declare const TelegramDeleteAllMessageReactionsRequestSchema: z.ZodObject<{
|
|
274
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
275
|
+
message_id: z.ZodNumber;
|
|
276
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
277
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
278
|
+
message_id: z.ZodNumber;
|
|
279
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
280
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
281
|
+
message_id: z.ZodNumber;
|
|
282
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
283
|
+
export type TelegramDeleteAllMessageReactionsRequest = z.infer<typeof TelegramDeleteAllMessageReactionsRequestSchema>;
|
|
284
|
+
export declare const TelegramDeleteBusinessMessagesRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
285
|
+
export type TelegramDeleteBusinessMessagesRequest = z.infer<typeof TelegramDeleteBusinessMessagesRequestSchema>;
|
|
286
|
+
export declare const TelegramDeleteChatPhotoRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
287
|
+
export type TelegramDeleteChatPhotoRequest = z.infer<typeof TelegramDeleteChatPhotoRequestSchema>;
|
|
288
|
+
export declare const TelegramDeleteChatStickerSetRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
289
|
+
export type TelegramDeleteChatStickerSetRequest = z.infer<typeof TelegramDeleteChatStickerSetRequestSchema>;
|
|
290
|
+
export declare const TelegramDeleteForumTopicRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
291
|
+
export type TelegramDeleteForumTopicRequest = z.infer<typeof TelegramDeleteForumTopicRequestSchema>;
|
|
292
|
+
export declare const TelegramDeleteMessageRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
293
|
+
export type TelegramDeleteMessageRequest = z.infer<typeof TelegramDeleteMessageRequestSchema>;
|
|
294
|
+
export declare const TelegramDeleteMessageReactionRequestSchema: z.ZodObject<{
|
|
295
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
296
|
+
message_id: z.ZodNumber;
|
|
297
|
+
user_id: z.ZodOptional<z.ZodNumber>;
|
|
298
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
299
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
300
|
+
message_id: z.ZodNumber;
|
|
301
|
+
user_id: z.ZodOptional<z.ZodNumber>;
|
|
302
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
303
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
304
|
+
message_id: z.ZodNumber;
|
|
305
|
+
user_id: z.ZodOptional<z.ZodNumber>;
|
|
306
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
307
|
+
export type TelegramDeleteMessageReactionRequest = z.infer<typeof TelegramDeleteMessageReactionRequestSchema>;
|
|
308
|
+
export declare const TelegramDeleteMessagesRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
309
|
+
export type TelegramDeleteMessagesRequest = z.infer<typeof TelegramDeleteMessagesRequestSchema>;
|
|
310
|
+
export declare const TelegramDeleteMyCommandsRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
311
|
+
export type TelegramDeleteMyCommandsRequest = z.infer<typeof TelegramDeleteMyCommandsRequestSchema>;
|
|
312
|
+
export declare const TelegramDeleteStickerFromSetRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
313
|
+
export type TelegramDeleteStickerFromSetRequest = z.infer<typeof TelegramDeleteStickerFromSetRequestSchema>;
|
|
314
|
+
export declare const TelegramDeleteStickerSetRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
315
|
+
export type TelegramDeleteStickerSetRequest = z.infer<typeof TelegramDeleteStickerSetRequestSchema>;
|
|
316
|
+
export declare const TelegramDeleteStoryRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
317
|
+
export type TelegramDeleteStoryRequest = z.infer<typeof TelegramDeleteStoryRequestSchema>;
|
|
318
|
+
export declare const TelegramDeleteWebhookRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
319
|
+
export type TelegramDeleteWebhookRequest = z.infer<typeof TelegramDeleteWebhookRequestSchema>;
|
|
320
|
+
export declare const TelegramEditChatInviteLinkRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
321
|
+
export type TelegramEditChatInviteLinkRequest = z.infer<typeof TelegramEditChatInviteLinkRequestSchema>;
|
|
322
|
+
export declare const TelegramEditChatSubscriptionInviteLinkRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
323
|
+
export type TelegramEditChatSubscriptionInviteLinkRequest = z.infer<typeof TelegramEditChatSubscriptionInviteLinkRequestSchema>;
|
|
324
|
+
export declare const TelegramEditForumTopicRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
325
|
+
export type TelegramEditForumTopicRequest = z.infer<typeof TelegramEditForumTopicRequestSchema>;
|
|
326
|
+
export declare const TelegramEditGeneralForumTopicRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
327
|
+
export type TelegramEditGeneralForumTopicRequest = z.infer<typeof TelegramEditGeneralForumTopicRequestSchema>;
|
|
328
|
+
export declare const TelegramEditMessageCaptionRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
329
|
+
export type TelegramEditMessageCaptionRequest = z.infer<typeof TelegramEditMessageCaptionRequestSchema>;
|
|
330
|
+
export declare const TelegramEditMessageChecklistRequestSchema: z.ZodObject<{
|
|
331
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
332
|
+
chat_id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
333
|
+
message_id: z.ZodOptional<z.ZodNumber>;
|
|
334
|
+
inline_message_id: z.ZodOptional<z.ZodString>;
|
|
335
|
+
checklist: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
336
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
337
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
338
|
+
chat_id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
339
|
+
message_id: z.ZodOptional<z.ZodNumber>;
|
|
340
|
+
inline_message_id: z.ZodOptional<z.ZodString>;
|
|
341
|
+
checklist: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
342
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
343
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
344
|
+
chat_id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
345
|
+
message_id: z.ZodOptional<z.ZodNumber>;
|
|
346
|
+
inline_message_id: z.ZodOptional<z.ZodString>;
|
|
347
|
+
checklist: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
348
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
349
|
+
export type TelegramEditMessageChecklistRequest = z.infer<typeof TelegramEditMessageChecklistRequestSchema>;
|
|
350
|
+
export declare const TelegramEditMessageLiveLocationRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
351
|
+
export type TelegramEditMessageLiveLocationRequest = z.infer<typeof TelegramEditMessageLiveLocationRequestSchema>;
|
|
352
|
+
export declare const TelegramEditMessageMediaRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
353
|
+
export type TelegramEditMessageMediaRequest = z.infer<typeof TelegramEditMessageMediaRequestSchema>;
|
|
354
|
+
export declare const TelegramEditMessageReplyMarkupRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
355
|
+
export type TelegramEditMessageReplyMarkupRequest = z.infer<typeof TelegramEditMessageReplyMarkupRequestSchema>;
|
|
356
|
+
export declare const TelegramEditMessageTextRequestSchema: z.ZodObject<{
|
|
357
|
+
text: z.ZodString;
|
|
358
|
+
} & {
|
|
359
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
360
|
+
chat_id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
361
|
+
message_id: z.ZodOptional<z.ZodNumber>;
|
|
362
|
+
inline_message_id: z.ZodOptional<z.ZodString>;
|
|
363
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
364
|
+
text: z.ZodString;
|
|
365
|
+
} & {
|
|
366
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
367
|
+
chat_id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
368
|
+
message_id: z.ZodOptional<z.ZodNumber>;
|
|
369
|
+
inline_message_id: z.ZodOptional<z.ZodString>;
|
|
370
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
371
|
+
text: z.ZodString;
|
|
372
|
+
} & {
|
|
373
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
374
|
+
chat_id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
375
|
+
message_id: z.ZodOptional<z.ZodNumber>;
|
|
376
|
+
inline_message_id: z.ZodOptional<z.ZodString>;
|
|
377
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
378
|
+
export type TelegramEditMessageTextRequest = z.infer<typeof TelegramEditMessageTextRequestSchema>;
|
|
379
|
+
export declare const TelegramEditStoryRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
380
|
+
export type TelegramEditStoryRequest = z.infer<typeof TelegramEditStoryRequestSchema>;
|
|
381
|
+
export declare const TelegramEditUserStarSubscriptionRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
382
|
+
export type TelegramEditUserStarSubscriptionRequest = z.infer<typeof TelegramEditUserStarSubscriptionRequestSchema>;
|
|
383
|
+
export declare const TelegramExportChatInviteLinkRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
384
|
+
export type TelegramExportChatInviteLinkRequest = z.infer<typeof TelegramExportChatInviteLinkRequestSchema>;
|
|
385
|
+
export declare const TelegramForwardMessageRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
386
|
+
export type TelegramForwardMessageRequest = z.infer<typeof TelegramForwardMessageRequestSchema>;
|
|
387
|
+
export declare const TelegramForwardMessagesRequestSchema: z.ZodObject<{
|
|
388
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
389
|
+
from_chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
390
|
+
message_ids: z.ZodArray<z.ZodNumber, "many">;
|
|
391
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
392
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
393
|
+
from_chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
394
|
+
message_ids: z.ZodArray<z.ZodNumber, "many">;
|
|
395
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
396
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
397
|
+
from_chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
398
|
+
message_ids: z.ZodArray<z.ZodNumber, "many">;
|
|
399
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
400
|
+
export type TelegramForwardMessagesRequest = z.infer<typeof TelegramForwardMessagesRequestSchema>;
|
|
401
|
+
export declare const TelegramGetAvailableGiftsRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
402
|
+
export type TelegramGetAvailableGiftsRequest = z.infer<typeof TelegramGetAvailableGiftsRequestSchema>;
|
|
403
|
+
export declare const TelegramGetBusinessAccountGiftsRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
404
|
+
export type TelegramGetBusinessAccountGiftsRequest = z.infer<typeof TelegramGetBusinessAccountGiftsRequestSchema>;
|
|
405
|
+
export declare const TelegramGetBusinessAccountStarBalanceRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
406
|
+
export type TelegramGetBusinessAccountStarBalanceRequest = z.infer<typeof TelegramGetBusinessAccountStarBalanceRequestSchema>;
|
|
407
|
+
export declare const TelegramGetBusinessConnectionRequestSchema: z.ZodObject<{
|
|
408
|
+
business_connection_id: z.ZodString;
|
|
409
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
410
|
+
business_connection_id: z.ZodString;
|
|
411
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
412
|
+
business_connection_id: z.ZodString;
|
|
413
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
414
|
+
export type TelegramGetBusinessConnectionRequest = z.infer<typeof TelegramGetBusinessConnectionRequestSchema>;
|
|
415
|
+
export declare const TelegramGetChatRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
416
|
+
export type TelegramGetChatRequest = z.infer<typeof TelegramGetChatRequestSchema>;
|
|
417
|
+
export declare const TelegramGetChatAdministratorsRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
418
|
+
export type TelegramGetChatAdministratorsRequest = z.infer<typeof TelegramGetChatAdministratorsRequestSchema>;
|
|
419
|
+
export declare const TelegramGetChatGiftsRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
420
|
+
export type TelegramGetChatGiftsRequest = z.infer<typeof TelegramGetChatGiftsRequestSchema>;
|
|
421
|
+
export declare const TelegramGetChatMemberRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
422
|
+
export type TelegramGetChatMemberRequest = z.infer<typeof TelegramGetChatMemberRequestSchema>;
|
|
423
|
+
export declare const TelegramGetChatMemberCountRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
424
|
+
export type TelegramGetChatMemberCountRequest = z.infer<typeof TelegramGetChatMemberCountRequestSchema>;
|
|
425
|
+
export declare const TelegramGetChatMenuButtonRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
426
|
+
export type TelegramGetChatMenuButtonRequest = z.infer<typeof TelegramGetChatMenuButtonRequestSchema>;
|
|
427
|
+
export declare const TelegramGetCustomEmojiStickersRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
428
|
+
export type TelegramGetCustomEmojiStickersRequest = z.infer<typeof TelegramGetCustomEmojiStickersRequestSchema>;
|
|
429
|
+
export declare const TelegramGetFileRequestSchema: z.ZodObject<{
|
|
430
|
+
file_id: z.ZodString;
|
|
431
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
432
|
+
file_id: z.ZodString;
|
|
433
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
434
|
+
file_id: z.ZodString;
|
|
435
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
436
|
+
export type TelegramGetFileRequest = z.infer<typeof TelegramGetFileRequestSchema>;
|
|
437
|
+
export declare const TelegramGetForumTopicIconStickersRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
438
|
+
export type TelegramGetForumTopicIconStickersRequest = z.infer<typeof TelegramGetForumTopicIconStickersRequestSchema>;
|
|
439
|
+
export declare const TelegramGetGameHighScoresRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
440
|
+
export type TelegramGetGameHighScoresRequest = z.infer<typeof TelegramGetGameHighScoresRequestSchema>;
|
|
441
|
+
export declare const TelegramGetManagedBotAccessSettingsRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
442
|
+
export type TelegramGetManagedBotAccessSettingsRequest = z.infer<typeof TelegramGetManagedBotAccessSettingsRequestSchema>;
|
|
443
|
+
export declare const TelegramGetManagedBotTokenRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
444
|
+
export type TelegramGetManagedBotTokenRequest = z.infer<typeof TelegramGetManagedBotTokenRequestSchema>;
|
|
445
|
+
export declare const TelegramGetMeRequestSchema: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
446
|
+
export type TelegramGetMeRequest = z.infer<typeof TelegramGetMeRequestSchema>;
|
|
447
|
+
export declare const TelegramGetMyCommandsRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
448
|
+
export type TelegramGetMyCommandsRequest = z.infer<typeof TelegramGetMyCommandsRequestSchema>;
|
|
449
|
+
export declare const TelegramGetMyDefaultAdministratorRightsRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
450
|
+
export type TelegramGetMyDefaultAdministratorRightsRequest = z.infer<typeof TelegramGetMyDefaultAdministratorRightsRequestSchema>;
|
|
451
|
+
export declare const TelegramGetMyDescriptionRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
452
|
+
export type TelegramGetMyDescriptionRequest = z.infer<typeof TelegramGetMyDescriptionRequestSchema>;
|
|
453
|
+
export declare const TelegramGetMyNameRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
454
|
+
export type TelegramGetMyNameRequest = z.infer<typeof TelegramGetMyNameRequestSchema>;
|
|
455
|
+
export declare const TelegramGetMyShortDescriptionRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
456
|
+
export type TelegramGetMyShortDescriptionRequest = z.infer<typeof TelegramGetMyShortDescriptionRequestSchema>;
|
|
457
|
+
export declare const TelegramGetMyStarBalanceRequestSchema: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
458
|
+
export type TelegramGetMyStarBalanceRequest = z.infer<typeof TelegramGetMyStarBalanceRequestSchema>;
|
|
459
|
+
export declare const TelegramGetStarTransactionsRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
460
|
+
export type TelegramGetStarTransactionsRequest = z.infer<typeof TelegramGetStarTransactionsRequestSchema>;
|
|
461
|
+
export declare const TelegramGetStickerSetRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
462
|
+
export type TelegramGetStickerSetRequest = z.infer<typeof TelegramGetStickerSetRequestSchema>;
|
|
463
|
+
export declare const TelegramGetUpdatesRequestSchema: z.ZodObject<{
|
|
464
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
465
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
466
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
467
|
+
allowed_updates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
468
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
469
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
470
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
471
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
472
|
+
allowed_updates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
473
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
474
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
475
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
476
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
477
|
+
allowed_updates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
478
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
479
|
+
export type TelegramGetUpdatesRequest = z.infer<typeof TelegramGetUpdatesRequestSchema>;
|
|
480
|
+
export declare const TelegramGetUserChatBoostsRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
481
|
+
export type TelegramGetUserChatBoostsRequest = z.infer<typeof TelegramGetUserChatBoostsRequestSchema>;
|
|
482
|
+
export declare const TelegramGetUserGiftsRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
483
|
+
export type TelegramGetUserGiftsRequest = z.infer<typeof TelegramGetUserGiftsRequestSchema>;
|
|
484
|
+
export declare const TelegramGetUserPersonalChatMessagesRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
485
|
+
export type TelegramGetUserPersonalChatMessagesRequest = z.infer<typeof TelegramGetUserPersonalChatMessagesRequestSchema>;
|
|
486
|
+
export declare const TelegramGetWebhookInfoRequestSchema: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
487
|
+
export type TelegramGetWebhookInfoRequest = z.infer<typeof TelegramGetWebhookInfoRequestSchema>;
|
|
488
|
+
export declare const TelegramGiftPremiumSubscriptionRequestSchema: z.ZodObject<{
|
|
489
|
+
user_id: z.ZodNumber;
|
|
490
|
+
month_count: z.ZodNumber;
|
|
491
|
+
star_count: z.ZodNumber;
|
|
492
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
493
|
+
user_id: z.ZodNumber;
|
|
494
|
+
month_count: z.ZodNumber;
|
|
495
|
+
star_count: z.ZodNumber;
|
|
496
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
497
|
+
user_id: z.ZodNumber;
|
|
498
|
+
month_count: z.ZodNumber;
|
|
499
|
+
star_count: z.ZodNumber;
|
|
500
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
501
|
+
export type TelegramGiftPremiumSubscriptionRequest = z.infer<typeof TelegramGiftPremiumSubscriptionRequestSchema>;
|
|
502
|
+
export declare const TelegramHideGeneralForumTopicRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
503
|
+
export type TelegramHideGeneralForumTopicRequest = z.infer<typeof TelegramHideGeneralForumTopicRequestSchema>;
|
|
504
|
+
export declare const TelegramLeaveChatRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
505
|
+
export type TelegramLeaveChatRequest = z.infer<typeof TelegramLeaveChatRequestSchema>;
|
|
506
|
+
export declare const TelegramLogOutRequestSchema: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
507
|
+
export type TelegramLogOutRequest = z.infer<typeof TelegramLogOutRequestSchema>;
|
|
508
|
+
export declare const TelegramPinChatMessageRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
509
|
+
export type TelegramPinChatMessageRequest = z.infer<typeof TelegramPinChatMessageRequestSchema>;
|
|
510
|
+
export declare const TelegramPostStoryRequestSchema: z.ZodObject<{
|
|
511
|
+
business_connection_id: z.ZodString;
|
|
512
|
+
content: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
513
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
514
|
+
business_connection_id: z.ZodString;
|
|
515
|
+
content: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
516
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
517
|
+
business_connection_id: z.ZodString;
|
|
518
|
+
content: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
519
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
520
|
+
export type TelegramPostStoryRequest = z.infer<typeof TelegramPostStoryRequestSchema>;
|
|
521
|
+
export declare const TelegramPromoteChatMemberRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
522
|
+
export type TelegramPromoteChatMemberRequest = z.infer<typeof TelegramPromoteChatMemberRequestSchema>;
|
|
523
|
+
export declare const TelegramReadBusinessMessageRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
524
|
+
export type TelegramReadBusinessMessageRequest = z.infer<typeof TelegramReadBusinessMessageRequestSchema>;
|
|
525
|
+
export declare const TelegramRefundStarPaymentRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
526
|
+
export type TelegramRefundStarPaymentRequest = z.infer<typeof TelegramRefundStarPaymentRequestSchema>;
|
|
527
|
+
export declare const TelegramRemoveBusinessAccountProfilePhotoRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
528
|
+
export type TelegramRemoveBusinessAccountProfilePhotoRequest = z.infer<typeof TelegramRemoveBusinessAccountProfilePhotoRequestSchema>;
|
|
529
|
+
export declare const TelegramRemoveChatVerificationRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
530
|
+
export type TelegramRemoveChatVerificationRequest = z.infer<typeof TelegramRemoveChatVerificationRequestSchema>;
|
|
531
|
+
export declare const TelegramRemoveUserVerificationRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
532
|
+
export type TelegramRemoveUserVerificationRequest = z.infer<typeof TelegramRemoveUserVerificationRequestSchema>;
|
|
533
|
+
export declare const TelegramReopenForumTopicRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
534
|
+
export type TelegramReopenForumTopicRequest = z.infer<typeof TelegramReopenForumTopicRequestSchema>;
|
|
535
|
+
export declare const TelegramReopenGeneralForumTopicRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
536
|
+
export type TelegramReopenGeneralForumTopicRequest = z.infer<typeof TelegramReopenGeneralForumTopicRequestSchema>;
|
|
537
|
+
export declare const TelegramReplaceManagedBotTokenRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
538
|
+
export type TelegramReplaceManagedBotTokenRequest = z.infer<typeof TelegramReplaceManagedBotTokenRequestSchema>;
|
|
539
|
+
export declare const TelegramReplaceStickerInSetRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
540
|
+
export type TelegramReplaceStickerInSetRequest = z.infer<typeof TelegramReplaceStickerInSetRequestSchema>;
|
|
541
|
+
export declare const TelegramRepostStoryRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
542
|
+
export type TelegramRepostStoryRequest = z.infer<typeof TelegramRepostStoryRequestSchema>;
|
|
543
|
+
export declare const TelegramRestrictChatMemberRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
544
|
+
export type TelegramRestrictChatMemberRequest = z.infer<typeof TelegramRestrictChatMemberRequestSchema>;
|
|
545
|
+
export declare const TelegramRevokeChatInviteLinkRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
546
|
+
export type TelegramRevokeChatInviteLinkRequest = z.infer<typeof TelegramRevokeChatInviteLinkRequestSchema>;
|
|
547
|
+
export declare const TelegramSavePreparedInlineMessageRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
548
|
+
export type TelegramSavePreparedInlineMessageRequest = z.infer<typeof TelegramSavePreparedInlineMessageRequestSchema>;
|
|
549
|
+
export declare const TelegramSavePreparedKeyboardButtonRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
550
|
+
export type TelegramSavePreparedKeyboardButtonRequest = z.infer<typeof TelegramSavePreparedKeyboardButtonRequestSchema>;
|
|
551
|
+
export declare const TelegramSendAnimationRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
552
|
+
export type TelegramSendAnimationRequest = z.infer<typeof TelegramSendAnimationRequestSchema>;
|
|
553
|
+
export declare const TelegramSendAudioRequestSchema: z.ZodObject<{
|
|
554
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
555
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
556
|
+
message_thread_id: z.ZodOptional<z.ZodNumber>;
|
|
557
|
+
direct_messages_topic_id: z.ZodOptional<z.ZodNumber>;
|
|
558
|
+
disable_notification: z.ZodOptional<z.ZodBoolean>;
|
|
559
|
+
protect_content: z.ZodOptional<z.ZodBoolean>;
|
|
560
|
+
allow_paid_broadcast: z.ZodOptional<z.ZodBoolean>;
|
|
561
|
+
message_effect_id: z.ZodOptional<z.ZodString>;
|
|
562
|
+
suggested_post_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
563
|
+
reply_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
564
|
+
reply_markup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
565
|
+
} & {
|
|
566
|
+
caption: z.ZodOptional<z.ZodString>;
|
|
567
|
+
parse_mode: z.ZodOptional<z.ZodEnum<["Markdown", "MarkdownV2", "HTML"]>>;
|
|
568
|
+
caption_entities: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
569
|
+
show_caption_above_media: z.ZodOptional<z.ZodBoolean>;
|
|
570
|
+
has_spoiler: z.ZodOptional<z.ZodBoolean>;
|
|
571
|
+
} & {
|
|
572
|
+
audio: z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
|
|
573
|
+
thumbnail: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
|
|
574
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
575
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
576
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
577
|
+
message_thread_id: z.ZodOptional<z.ZodNumber>;
|
|
578
|
+
direct_messages_topic_id: z.ZodOptional<z.ZodNumber>;
|
|
579
|
+
disable_notification: z.ZodOptional<z.ZodBoolean>;
|
|
580
|
+
protect_content: z.ZodOptional<z.ZodBoolean>;
|
|
581
|
+
allow_paid_broadcast: z.ZodOptional<z.ZodBoolean>;
|
|
582
|
+
message_effect_id: z.ZodOptional<z.ZodString>;
|
|
583
|
+
suggested_post_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
584
|
+
reply_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
585
|
+
reply_markup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
586
|
+
} & {
|
|
587
|
+
caption: z.ZodOptional<z.ZodString>;
|
|
588
|
+
parse_mode: z.ZodOptional<z.ZodEnum<["Markdown", "MarkdownV2", "HTML"]>>;
|
|
589
|
+
caption_entities: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
590
|
+
show_caption_above_media: z.ZodOptional<z.ZodBoolean>;
|
|
591
|
+
has_spoiler: z.ZodOptional<z.ZodBoolean>;
|
|
592
|
+
} & {
|
|
593
|
+
audio: z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
|
|
594
|
+
thumbnail: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
|
|
595
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
596
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
597
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
598
|
+
message_thread_id: z.ZodOptional<z.ZodNumber>;
|
|
599
|
+
direct_messages_topic_id: z.ZodOptional<z.ZodNumber>;
|
|
600
|
+
disable_notification: z.ZodOptional<z.ZodBoolean>;
|
|
601
|
+
protect_content: z.ZodOptional<z.ZodBoolean>;
|
|
602
|
+
allow_paid_broadcast: z.ZodOptional<z.ZodBoolean>;
|
|
603
|
+
message_effect_id: z.ZodOptional<z.ZodString>;
|
|
604
|
+
suggested_post_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
605
|
+
reply_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
606
|
+
reply_markup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
607
|
+
} & {
|
|
608
|
+
caption: z.ZodOptional<z.ZodString>;
|
|
609
|
+
parse_mode: z.ZodOptional<z.ZodEnum<["Markdown", "MarkdownV2", "HTML"]>>;
|
|
610
|
+
caption_entities: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
611
|
+
show_caption_above_media: z.ZodOptional<z.ZodBoolean>;
|
|
612
|
+
has_spoiler: z.ZodOptional<z.ZodBoolean>;
|
|
613
|
+
} & {
|
|
614
|
+
audio: z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
|
|
615
|
+
thumbnail: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
|
|
616
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
617
|
+
export type TelegramSendAudioRequest = z.infer<typeof TelegramSendAudioRequestSchema>;
|
|
618
|
+
export declare const TelegramSendChatActionRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
619
|
+
export type TelegramSendChatActionRequest = z.infer<typeof TelegramSendChatActionRequestSchema>;
|
|
620
|
+
export declare const TelegramSendChatJoinRequestWebAppRequestSchema: z.ZodObject<{
|
|
621
|
+
chat_join_request_query_id: z.ZodString;
|
|
622
|
+
web_app_url: z.ZodString;
|
|
623
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
624
|
+
chat_join_request_query_id: z.ZodString;
|
|
625
|
+
web_app_url: z.ZodString;
|
|
626
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
627
|
+
chat_join_request_query_id: z.ZodString;
|
|
628
|
+
web_app_url: z.ZodString;
|
|
629
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
630
|
+
export type TelegramSendChatJoinRequestWebAppRequest = z.infer<typeof TelegramSendChatJoinRequestWebAppRequestSchema>;
|
|
631
|
+
export declare const TelegramSendChecklistRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
632
|
+
export type TelegramSendChecklistRequest = z.infer<typeof TelegramSendChecklistRequestSchema>;
|
|
633
|
+
export declare const TelegramSendContactRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
634
|
+
export type TelegramSendContactRequest = z.infer<typeof TelegramSendContactRequestSchema>;
|
|
635
|
+
export declare const TelegramSendDiceRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
636
|
+
export type TelegramSendDiceRequest = z.infer<typeof TelegramSendDiceRequestSchema>;
|
|
637
|
+
export declare const TelegramSendDocumentRequestSchema: z.ZodObject<{
|
|
638
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
639
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
640
|
+
message_thread_id: z.ZodOptional<z.ZodNumber>;
|
|
641
|
+
direct_messages_topic_id: z.ZodOptional<z.ZodNumber>;
|
|
642
|
+
disable_notification: z.ZodOptional<z.ZodBoolean>;
|
|
643
|
+
protect_content: z.ZodOptional<z.ZodBoolean>;
|
|
644
|
+
allow_paid_broadcast: z.ZodOptional<z.ZodBoolean>;
|
|
645
|
+
message_effect_id: z.ZodOptional<z.ZodString>;
|
|
646
|
+
suggested_post_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
647
|
+
reply_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
648
|
+
reply_markup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
649
|
+
} & {
|
|
650
|
+
caption: z.ZodOptional<z.ZodString>;
|
|
651
|
+
parse_mode: z.ZodOptional<z.ZodEnum<["Markdown", "MarkdownV2", "HTML"]>>;
|
|
652
|
+
caption_entities: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
653
|
+
show_caption_above_media: z.ZodOptional<z.ZodBoolean>;
|
|
654
|
+
has_spoiler: z.ZodOptional<z.ZodBoolean>;
|
|
655
|
+
} & {
|
|
656
|
+
document: z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
|
|
657
|
+
thumbnail: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
|
|
658
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
659
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
660
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
661
|
+
message_thread_id: z.ZodOptional<z.ZodNumber>;
|
|
662
|
+
direct_messages_topic_id: z.ZodOptional<z.ZodNumber>;
|
|
663
|
+
disable_notification: z.ZodOptional<z.ZodBoolean>;
|
|
664
|
+
protect_content: z.ZodOptional<z.ZodBoolean>;
|
|
665
|
+
allow_paid_broadcast: z.ZodOptional<z.ZodBoolean>;
|
|
666
|
+
message_effect_id: z.ZodOptional<z.ZodString>;
|
|
667
|
+
suggested_post_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
668
|
+
reply_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
669
|
+
reply_markup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
670
|
+
} & {
|
|
671
|
+
caption: z.ZodOptional<z.ZodString>;
|
|
672
|
+
parse_mode: z.ZodOptional<z.ZodEnum<["Markdown", "MarkdownV2", "HTML"]>>;
|
|
673
|
+
caption_entities: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
674
|
+
show_caption_above_media: z.ZodOptional<z.ZodBoolean>;
|
|
675
|
+
has_spoiler: z.ZodOptional<z.ZodBoolean>;
|
|
676
|
+
} & {
|
|
677
|
+
document: z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
|
|
678
|
+
thumbnail: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
|
|
679
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
680
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
681
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
682
|
+
message_thread_id: z.ZodOptional<z.ZodNumber>;
|
|
683
|
+
direct_messages_topic_id: z.ZodOptional<z.ZodNumber>;
|
|
684
|
+
disable_notification: z.ZodOptional<z.ZodBoolean>;
|
|
685
|
+
protect_content: z.ZodOptional<z.ZodBoolean>;
|
|
686
|
+
allow_paid_broadcast: z.ZodOptional<z.ZodBoolean>;
|
|
687
|
+
message_effect_id: z.ZodOptional<z.ZodString>;
|
|
688
|
+
suggested_post_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
689
|
+
reply_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
690
|
+
reply_markup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
691
|
+
} & {
|
|
692
|
+
caption: z.ZodOptional<z.ZodString>;
|
|
693
|
+
parse_mode: z.ZodOptional<z.ZodEnum<["Markdown", "MarkdownV2", "HTML"]>>;
|
|
694
|
+
caption_entities: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
695
|
+
show_caption_above_media: z.ZodOptional<z.ZodBoolean>;
|
|
696
|
+
has_spoiler: z.ZodOptional<z.ZodBoolean>;
|
|
697
|
+
} & {
|
|
698
|
+
document: z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
|
|
699
|
+
thumbnail: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
|
|
700
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
701
|
+
export type TelegramSendDocumentRequest = z.infer<typeof TelegramSendDocumentRequestSchema>;
|
|
702
|
+
export declare const TelegramSendGameRequestSchema: z.ZodObject<{
|
|
703
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
704
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
705
|
+
message_thread_id: z.ZodOptional<z.ZodNumber>;
|
|
706
|
+
direct_messages_topic_id: z.ZodOptional<z.ZodNumber>;
|
|
707
|
+
disable_notification: z.ZodOptional<z.ZodBoolean>;
|
|
708
|
+
protect_content: z.ZodOptional<z.ZodBoolean>;
|
|
709
|
+
allow_paid_broadcast: z.ZodOptional<z.ZodBoolean>;
|
|
710
|
+
message_effect_id: z.ZodOptional<z.ZodString>;
|
|
711
|
+
suggested_post_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
712
|
+
reply_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
713
|
+
reply_markup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
714
|
+
} & {
|
|
715
|
+
game_short_name: z.ZodString;
|
|
716
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
717
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
718
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
719
|
+
message_thread_id: z.ZodOptional<z.ZodNumber>;
|
|
720
|
+
direct_messages_topic_id: z.ZodOptional<z.ZodNumber>;
|
|
721
|
+
disable_notification: z.ZodOptional<z.ZodBoolean>;
|
|
722
|
+
protect_content: z.ZodOptional<z.ZodBoolean>;
|
|
723
|
+
allow_paid_broadcast: z.ZodOptional<z.ZodBoolean>;
|
|
724
|
+
message_effect_id: z.ZodOptional<z.ZodString>;
|
|
725
|
+
suggested_post_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
726
|
+
reply_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
727
|
+
reply_markup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
728
|
+
} & {
|
|
729
|
+
game_short_name: z.ZodString;
|
|
730
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
731
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
732
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
733
|
+
message_thread_id: z.ZodOptional<z.ZodNumber>;
|
|
734
|
+
direct_messages_topic_id: z.ZodOptional<z.ZodNumber>;
|
|
735
|
+
disable_notification: z.ZodOptional<z.ZodBoolean>;
|
|
736
|
+
protect_content: z.ZodOptional<z.ZodBoolean>;
|
|
737
|
+
allow_paid_broadcast: z.ZodOptional<z.ZodBoolean>;
|
|
738
|
+
message_effect_id: z.ZodOptional<z.ZodString>;
|
|
739
|
+
suggested_post_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
740
|
+
reply_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
741
|
+
reply_markup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
742
|
+
} & {
|
|
743
|
+
game_short_name: z.ZodString;
|
|
744
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
745
|
+
export type TelegramSendGameRequest = z.infer<typeof TelegramSendGameRequestSchema>;
|
|
746
|
+
export declare const TelegramSendGiftRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
747
|
+
export type TelegramSendGiftRequest = z.infer<typeof TelegramSendGiftRequestSchema>;
|
|
748
|
+
export declare const TelegramSendInvoiceRequestSchema: z.ZodObject<{
|
|
749
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
750
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
751
|
+
message_thread_id: z.ZodOptional<z.ZodNumber>;
|
|
752
|
+
direct_messages_topic_id: z.ZodOptional<z.ZodNumber>;
|
|
753
|
+
disable_notification: z.ZodOptional<z.ZodBoolean>;
|
|
754
|
+
protect_content: z.ZodOptional<z.ZodBoolean>;
|
|
755
|
+
allow_paid_broadcast: z.ZodOptional<z.ZodBoolean>;
|
|
756
|
+
message_effect_id: z.ZodOptional<z.ZodString>;
|
|
757
|
+
suggested_post_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
758
|
+
reply_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
759
|
+
reply_markup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
760
|
+
} & {
|
|
761
|
+
title: z.ZodString;
|
|
762
|
+
description: z.ZodString;
|
|
763
|
+
payload: z.ZodString;
|
|
764
|
+
currency: z.ZodString;
|
|
765
|
+
prices: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
766
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
767
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
768
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
769
|
+
message_thread_id: z.ZodOptional<z.ZodNumber>;
|
|
770
|
+
direct_messages_topic_id: z.ZodOptional<z.ZodNumber>;
|
|
771
|
+
disable_notification: z.ZodOptional<z.ZodBoolean>;
|
|
772
|
+
protect_content: z.ZodOptional<z.ZodBoolean>;
|
|
773
|
+
allow_paid_broadcast: z.ZodOptional<z.ZodBoolean>;
|
|
774
|
+
message_effect_id: z.ZodOptional<z.ZodString>;
|
|
775
|
+
suggested_post_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
776
|
+
reply_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
777
|
+
reply_markup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
778
|
+
} & {
|
|
779
|
+
title: z.ZodString;
|
|
780
|
+
description: z.ZodString;
|
|
781
|
+
payload: z.ZodString;
|
|
782
|
+
currency: z.ZodString;
|
|
783
|
+
prices: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
784
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
785
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
786
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
787
|
+
message_thread_id: z.ZodOptional<z.ZodNumber>;
|
|
788
|
+
direct_messages_topic_id: z.ZodOptional<z.ZodNumber>;
|
|
789
|
+
disable_notification: z.ZodOptional<z.ZodBoolean>;
|
|
790
|
+
protect_content: z.ZodOptional<z.ZodBoolean>;
|
|
791
|
+
allow_paid_broadcast: z.ZodOptional<z.ZodBoolean>;
|
|
792
|
+
message_effect_id: z.ZodOptional<z.ZodString>;
|
|
793
|
+
suggested_post_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
794
|
+
reply_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
795
|
+
reply_markup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
796
|
+
} & {
|
|
797
|
+
title: z.ZodString;
|
|
798
|
+
description: z.ZodString;
|
|
799
|
+
payload: z.ZodString;
|
|
800
|
+
currency: z.ZodString;
|
|
801
|
+
prices: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
802
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
803
|
+
export type TelegramSendInvoiceRequest = z.infer<typeof TelegramSendInvoiceRequestSchema>;
|
|
804
|
+
export declare const TelegramSendLivePhotoRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
805
|
+
export type TelegramSendLivePhotoRequest = z.infer<typeof TelegramSendLivePhotoRequestSchema>;
|
|
806
|
+
export declare const TelegramSendLocationRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
807
|
+
export type TelegramSendLocationRequest = z.infer<typeof TelegramSendLocationRequestSchema>;
|
|
808
|
+
export declare const TelegramSendMediaGroupRequestSchema: z.ZodObject<{
|
|
809
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
810
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
811
|
+
message_thread_id: z.ZodOptional<z.ZodNumber>;
|
|
812
|
+
direct_messages_topic_id: z.ZodOptional<z.ZodNumber>;
|
|
813
|
+
disable_notification: z.ZodOptional<z.ZodBoolean>;
|
|
814
|
+
protect_content: z.ZodOptional<z.ZodBoolean>;
|
|
815
|
+
allow_paid_broadcast: z.ZodOptional<z.ZodBoolean>;
|
|
816
|
+
message_effect_id: z.ZodOptional<z.ZodString>;
|
|
817
|
+
suggested_post_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
818
|
+
reply_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
819
|
+
reply_markup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
820
|
+
} & {
|
|
821
|
+
media: z.ZodArray<z.ZodObject<{
|
|
822
|
+
media: z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
|
|
823
|
+
thumbnail: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
|
|
824
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
825
|
+
media: z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
|
|
826
|
+
thumbnail: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
|
|
827
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
828
|
+
media: z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
|
|
829
|
+
thumbnail: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
|
|
830
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
831
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
832
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
833
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
834
|
+
message_thread_id: z.ZodOptional<z.ZodNumber>;
|
|
835
|
+
direct_messages_topic_id: z.ZodOptional<z.ZodNumber>;
|
|
836
|
+
disable_notification: z.ZodOptional<z.ZodBoolean>;
|
|
837
|
+
protect_content: z.ZodOptional<z.ZodBoolean>;
|
|
838
|
+
allow_paid_broadcast: z.ZodOptional<z.ZodBoolean>;
|
|
839
|
+
message_effect_id: z.ZodOptional<z.ZodString>;
|
|
840
|
+
suggested_post_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
841
|
+
reply_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
842
|
+
reply_markup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
843
|
+
} & {
|
|
844
|
+
media: z.ZodArray<z.ZodObject<{
|
|
845
|
+
media: z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
|
|
846
|
+
thumbnail: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
|
|
847
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
848
|
+
media: z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
|
|
849
|
+
thumbnail: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
|
|
850
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
851
|
+
media: z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
|
|
852
|
+
thumbnail: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
|
|
853
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
854
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
855
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
856
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
857
|
+
message_thread_id: z.ZodOptional<z.ZodNumber>;
|
|
858
|
+
direct_messages_topic_id: z.ZodOptional<z.ZodNumber>;
|
|
859
|
+
disable_notification: z.ZodOptional<z.ZodBoolean>;
|
|
860
|
+
protect_content: z.ZodOptional<z.ZodBoolean>;
|
|
861
|
+
allow_paid_broadcast: z.ZodOptional<z.ZodBoolean>;
|
|
862
|
+
message_effect_id: z.ZodOptional<z.ZodString>;
|
|
863
|
+
suggested_post_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
864
|
+
reply_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
865
|
+
reply_markup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
866
|
+
} & {
|
|
867
|
+
media: z.ZodArray<z.ZodObject<{
|
|
868
|
+
media: z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
|
|
869
|
+
thumbnail: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
|
|
870
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
871
|
+
media: z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
|
|
872
|
+
thumbnail: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
|
|
873
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
874
|
+
media: z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
|
|
875
|
+
thumbnail: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
|
|
876
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
877
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
878
|
+
export type TelegramSendMediaGroupRequest = z.infer<typeof TelegramSendMediaGroupRequestSchema>;
|
|
25
879
|
export declare const TelegramSendMessageRequestSchema: z.ZodObject<{
|
|
880
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
881
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
882
|
+
message_thread_id: z.ZodOptional<z.ZodNumber>;
|
|
883
|
+
direct_messages_topic_id: z.ZodOptional<z.ZodNumber>;
|
|
884
|
+
disable_notification: z.ZodOptional<z.ZodBoolean>;
|
|
885
|
+
protect_content: z.ZodOptional<z.ZodBoolean>;
|
|
886
|
+
allow_paid_broadcast: z.ZodOptional<z.ZodBoolean>;
|
|
887
|
+
message_effect_id: z.ZodOptional<z.ZodString>;
|
|
888
|
+
suggested_post_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
889
|
+
reply_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
890
|
+
reply_markup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
891
|
+
} & {
|
|
26
892
|
text: z.ZodString;
|
|
27
893
|
parse_mode: z.ZodOptional<z.ZodEnum<["Markdown", "MarkdownV2", "HTML"]>>;
|
|
28
894
|
entities: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
29
895
|
link_preview_options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
896
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
897
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
30
898
|
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
899
|
+
message_thread_id: z.ZodOptional<z.ZodNumber>;
|
|
900
|
+
direct_messages_topic_id: z.ZodOptional<z.ZodNumber>;
|
|
901
|
+
disable_notification: z.ZodOptional<z.ZodBoolean>;
|
|
902
|
+
protect_content: z.ZodOptional<z.ZodBoolean>;
|
|
903
|
+
allow_paid_broadcast: z.ZodOptional<z.ZodBoolean>;
|
|
904
|
+
message_effect_id: z.ZodOptional<z.ZodString>;
|
|
905
|
+
suggested_post_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
906
|
+
reply_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
907
|
+
reply_markup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
908
|
+
} & {
|
|
909
|
+
text: z.ZodString;
|
|
910
|
+
parse_mode: z.ZodOptional<z.ZodEnum<["Markdown", "MarkdownV2", "HTML"]>>;
|
|
911
|
+
entities: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
912
|
+
link_preview_options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
913
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
31
914
|
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
915
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
32
916
|
message_thread_id: z.ZodOptional<z.ZodNumber>;
|
|
33
917
|
direct_messages_topic_id: z.ZodOptional<z.ZodNumber>;
|
|
34
918
|
disable_notification: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -38,49 +922,135 @@ export declare const TelegramSendMessageRequestSchema: z.ZodObject<{
|
|
|
38
922
|
suggested_post_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
39
923
|
reply_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
40
924
|
reply_markup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
41
|
-
}
|
|
42
|
-
text:
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
business_connection_id?: string | undefined;
|
|
48
|
-
message_thread_id?: number | undefined;
|
|
49
|
-
direct_messages_topic_id?: number | undefined;
|
|
50
|
-
disable_notification?: boolean | undefined;
|
|
51
|
-
protect_content?: boolean | undefined;
|
|
52
|
-
allow_paid_broadcast?: boolean | undefined;
|
|
53
|
-
message_effect_id?: string | undefined;
|
|
54
|
-
suggested_post_parameters?: Record<string, unknown> | undefined;
|
|
55
|
-
reply_parameters?: Record<string, unknown> | undefined;
|
|
56
|
-
reply_markup?: Record<string, unknown> | undefined;
|
|
57
|
-
}, {
|
|
58
|
-
text: string;
|
|
59
|
-
chat_id: string | number;
|
|
60
|
-
parse_mode?: "Markdown" | "MarkdownV2" | "HTML" | undefined;
|
|
61
|
-
entities?: Record<string, unknown>[] | undefined;
|
|
62
|
-
link_preview_options?: Record<string, unknown> | undefined;
|
|
63
|
-
business_connection_id?: string | undefined;
|
|
64
|
-
message_thread_id?: number | undefined;
|
|
65
|
-
direct_messages_topic_id?: number | undefined;
|
|
66
|
-
disable_notification?: boolean | undefined;
|
|
67
|
-
protect_content?: boolean | undefined;
|
|
68
|
-
allow_paid_broadcast?: boolean | undefined;
|
|
69
|
-
message_effect_id?: string | undefined;
|
|
70
|
-
suggested_post_parameters?: Record<string, unknown> | undefined;
|
|
71
|
-
reply_parameters?: Record<string, unknown> | undefined;
|
|
72
|
-
reply_markup?: Record<string, unknown> | undefined;
|
|
73
|
-
}>;
|
|
925
|
+
} & {
|
|
926
|
+
text: z.ZodString;
|
|
927
|
+
parse_mode: z.ZodOptional<z.ZodEnum<["Markdown", "MarkdownV2", "HTML"]>>;
|
|
928
|
+
entities: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
929
|
+
link_preview_options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
930
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
74
931
|
export type TelegramSendMessageRequest = z.infer<typeof TelegramSendMessageRequestSchema>;
|
|
932
|
+
export declare const TelegramSendMessageDraftRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
933
|
+
export type TelegramSendMessageDraftRequest = z.infer<typeof TelegramSendMessageDraftRequestSchema>;
|
|
934
|
+
export declare const TelegramSendPaidMediaRequestSchema: z.ZodObject<{
|
|
935
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
936
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
937
|
+
message_thread_id: z.ZodOptional<z.ZodNumber>;
|
|
938
|
+
direct_messages_topic_id: z.ZodOptional<z.ZodNumber>;
|
|
939
|
+
disable_notification: z.ZodOptional<z.ZodBoolean>;
|
|
940
|
+
protect_content: z.ZodOptional<z.ZodBoolean>;
|
|
941
|
+
allow_paid_broadcast: z.ZodOptional<z.ZodBoolean>;
|
|
942
|
+
message_effect_id: z.ZodOptional<z.ZodString>;
|
|
943
|
+
suggested_post_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
944
|
+
reply_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
945
|
+
reply_markup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
946
|
+
} & {
|
|
947
|
+
star_count: z.ZodNumber;
|
|
948
|
+
media: z.ZodArray<z.ZodObject<{
|
|
949
|
+
media: z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
|
|
950
|
+
thumbnail: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
|
|
951
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
952
|
+
media: z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
|
|
953
|
+
thumbnail: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
|
|
954
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
955
|
+
media: z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
|
|
956
|
+
thumbnail: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
|
|
957
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
958
|
+
payload: z.ZodOptional<z.ZodString>;
|
|
959
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
960
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
961
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
962
|
+
message_thread_id: z.ZodOptional<z.ZodNumber>;
|
|
963
|
+
direct_messages_topic_id: z.ZodOptional<z.ZodNumber>;
|
|
964
|
+
disable_notification: z.ZodOptional<z.ZodBoolean>;
|
|
965
|
+
protect_content: z.ZodOptional<z.ZodBoolean>;
|
|
966
|
+
allow_paid_broadcast: z.ZodOptional<z.ZodBoolean>;
|
|
967
|
+
message_effect_id: z.ZodOptional<z.ZodString>;
|
|
968
|
+
suggested_post_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
969
|
+
reply_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
970
|
+
reply_markup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
971
|
+
} & {
|
|
972
|
+
star_count: z.ZodNumber;
|
|
973
|
+
media: z.ZodArray<z.ZodObject<{
|
|
974
|
+
media: z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
|
|
975
|
+
thumbnail: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
|
|
976
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
977
|
+
media: z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
|
|
978
|
+
thumbnail: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
|
|
979
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
980
|
+
media: z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
|
|
981
|
+
thumbnail: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
|
|
982
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
983
|
+
payload: z.ZodOptional<z.ZodString>;
|
|
984
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
985
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
986
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
987
|
+
message_thread_id: z.ZodOptional<z.ZodNumber>;
|
|
988
|
+
direct_messages_topic_id: z.ZodOptional<z.ZodNumber>;
|
|
989
|
+
disable_notification: z.ZodOptional<z.ZodBoolean>;
|
|
990
|
+
protect_content: z.ZodOptional<z.ZodBoolean>;
|
|
991
|
+
allow_paid_broadcast: z.ZodOptional<z.ZodBoolean>;
|
|
992
|
+
message_effect_id: z.ZodOptional<z.ZodString>;
|
|
993
|
+
suggested_post_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
994
|
+
reply_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
995
|
+
reply_markup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
996
|
+
} & {
|
|
997
|
+
star_count: z.ZodNumber;
|
|
998
|
+
media: z.ZodArray<z.ZodObject<{
|
|
999
|
+
media: z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
|
|
1000
|
+
thumbnail: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
|
|
1001
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1002
|
+
media: z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
|
|
1003
|
+
thumbnail: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
|
|
1004
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1005
|
+
media: z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
|
|
1006
|
+
thumbnail: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
|
|
1007
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
1008
|
+
payload: z.ZodOptional<z.ZodString>;
|
|
1009
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
1010
|
+
export type TelegramSendPaidMediaRequest = z.infer<typeof TelegramSendPaidMediaRequestSchema>;
|
|
75
1011
|
export declare const TelegramSendPhotoRequestSchema: z.ZodObject<{
|
|
76
|
-
|
|
1012
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
1013
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
1014
|
+
message_thread_id: z.ZodOptional<z.ZodNumber>;
|
|
1015
|
+
direct_messages_topic_id: z.ZodOptional<z.ZodNumber>;
|
|
1016
|
+
disable_notification: z.ZodOptional<z.ZodBoolean>;
|
|
1017
|
+
protect_content: z.ZodOptional<z.ZodBoolean>;
|
|
1018
|
+
allow_paid_broadcast: z.ZodOptional<z.ZodBoolean>;
|
|
1019
|
+
message_effect_id: z.ZodOptional<z.ZodString>;
|
|
1020
|
+
suggested_post_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1021
|
+
reply_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1022
|
+
reply_markup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1023
|
+
} & {
|
|
77
1024
|
caption: z.ZodOptional<z.ZodString>;
|
|
78
1025
|
parse_mode: z.ZodOptional<z.ZodEnum<["Markdown", "MarkdownV2", "HTML"]>>;
|
|
79
1026
|
caption_entities: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
80
1027
|
show_caption_above_media: z.ZodOptional<z.ZodBoolean>;
|
|
1028
|
+
has_spoiler: z.ZodOptional<z.ZodBoolean>;
|
|
1029
|
+
} & {
|
|
81
1030
|
photo: z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
|
|
1031
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1032
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
82
1033
|
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
1034
|
+
message_thread_id: z.ZodOptional<z.ZodNumber>;
|
|
1035
|
+
direct_messages_topic_id: z.ZodOptional<z.ZodNumber>;
|
|
1036
|
+
disable_notification: z.ZodOptional<z.ZodBoolean>;
|
|
1037
|
+
protect_content: z.ZodOptional<z.ZodBoolean>;
|
|
1038
|
+
allow_paid_broadcast: z.ZodOptional<z.ZodBoolean>;
|
|
1039
|
+
message_effect_id: z.ZodOptional<z.ZodString>;
|
|
1040
|
+
suggested_post_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1041
|
+
reply_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1042
|
+
reply_markup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1043
|
+
} & {
|
|
1044
|
+
caption: z.ZodOptional<z.ZodString>;
|
|
1045
|
+
parse_mode: z.ZodOptional<z.ZodEnum<["Markdown", "MarkdownV2", "HTML"]>>;
|
|
1046
|
+
caption_entities: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
1047
|
+
show_caption_above_media: z.ZodOptional<z.ZodBoolean>;
|
|
1048
|
+
has_spoiler: z.ZodOptional<z.ZodBoolean>;
|
|
1049
|
+
} & {
|
|
1050
|
+
photo: z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
|
|
1051
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
83
1052
|
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
1053
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
84
1054
|
message_thread_id: z.ZodOptional<z.ZodNumber>;
|
|
85
1055
|
direct_messages_topic_id: z.ZodOptional<z.ZodNumber>;
|
|
86
1056
|
disable_notification: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -90,60 +1060,121 @@ export declare const TelegramSendPhotoRequestSchema: z.ZodObject<{
|
|
|
90
1060
|
suggested_post_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
91
1061
|
reply_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
92
1062
|
reply_markup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
allow_paid_broadcast?: boolean | undefined;
|
|
103
|
-
message_effect_id?: string | undefined;
|
|
104
|
-
suggested_post_parameters?: Record<string, unknown> | undefined;
|
|
105
|
-
reply_parameters?: Record<string, unknown> | undefined;
|
|
106
|
-
reply_markup?: Record<string, unknown> | undefined;
|
|
107
|
-
has_spoiler?: boolean | undefined;
|
|
108
|
-
caption?: string | undefined;
|
|
109
|
-
caption_entities?: Record<string, unknown>[] | undefined;
|
|
110
|
-
show_caption_above_media?: boolean | undefined;
|
|
111
|
-
}, {
|
|
112
|
-
chat_id: string | number;
|
|
113
|
-
photo: string | Blob;
|
|
114
|
-
parse_mode?: "Markdown" | "MarkdownV2" | "HTML" | undefined;
|
|
115
|
-
business_connection_id?: string | undefined;
|
|
116
|
-
message_thread_id?: number | undefined;
|
|
117
|
-
direct_messages_topic_id?: number | undefined;
|
|
118
|
-
disable_notification?: boolean | undefined;
|
|
119
|
-
protect_content?: boolean | undefined;
|
|
120
|
-
allow_paid_broadcast?: boolean | undefined;
|
|
121
|
-
message_effect_id?: string | undefined;
|
|
122
|
-
suggested_post_parameters?: Record<string, unknown> | undefined;
|
|
123
|
-
reply_parameters?: Record<string, unknown> | undefined;
|
|
124
|
-
reply_markup?: Record<string, unknown> | undefined;
|
|
125
|
-
has_spoiler?: boolean | undefined;
|
|
126
|
-
caption?: string | undefined;
|
|
127
|
-
caption_entities?: Record<string, unknown>[] | undefined;
|
|
128
|
-
show_caption_above_media?: boolean | undefined;
|
|
129
|
-
}>;
|
|
1063
|
+
} & {
|
|
1064
|
+
caption: z.ZodOptional<z.ZodString>;
|
|
1065
|
+
parse_mode: z.ZodOptional<z.ZodEnum<["Markdown", "MarkdownV2", "HTML"]>>;
|
|
1066
|
+
caption_entities: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
1067
|
+
show_caption_above_media: z.ZodOptional<z.ZodBoolean>;
|
|
1068
|
+
has_spoiler: z.ZodOptional<z.ZodBoolean>;
|
|
1069
|
+
} & {
|
|
1070
|
+
photo: z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
|
|
1071
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
130
1072
|
export type TelegramSendPhotoRequest = z.infer<typeof TelegramSendPhotoRequestSchema>;
|
|
1073
|
+
export declare const TelegramSendPollRequestSchema: z.ZodObject<{
|
|
1074
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
1075
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
1076
|
+
message_thread_id: z.ZodOptional<z.ZodNumber>;
|
|
1077
|
+
direct_messages_topic_id: z.ZodOptional<z.ZodNumber>;
|
|
1078
|
+
disable_notification: z.ZodOptional<z.ZodBoolean>;
|
|
1079
|
+
protect_content: z.ZodOptional<z.ZodBoolean>;
|
|
1080
|
+
allow_paid_broadcast: z.ZodOptional<z.ZodBoolean>;
|
|
1081
|
+
message_effect_id: z.ZodOptional<z.ZodString>;
|
|
1082
|
+
suggested_post_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1083
|
+
reply_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1084
|
+
reply_markup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1085
|
+
} & {
|
|
1086
|
+
question: z.ZodString;
|
|
1087
|
+
options: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
1088
|
+
media: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1089
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1090
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
1091
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
1092
|
+
message_thread_id: z.ZodOptional<z.ZodNumber>;
|
|
1093
|
+
direct_messages_topic_id: z.ZodOptional<z.ZodNumber>;
|
|
1094
|
+
disable_notification: z.ZodOptional<z.ZodBoolean>;
|
|
1095
|
+
protect_content: z.ZodOptional<z.ZodBoolean>;
|
|
1096
|
+
allow_paid_broadcast: z.ZodOptional<z.ZodBoolean>;
|
|
1097
|
+
message_effect_id: z.ZodOptional<z.ZodString>;
|
|
1098
|
+
suggested_post_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1099
|
+
reply_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1100
|
+
reply_markup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1101
|
+
} & {
|
|
1102
|
+
question: z.ZodString;
|
|
1103
|
+
options: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
1104
|
+
media: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1105
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1106
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
1107
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
1108
|
+
message_thread_id: z.ZodOptional<z.ZodNumber>;
|
|
1109
|
+
direct_messages_topic_id: z.ZodOptional<z.ZodNumber>;
|
|
1110
|
+
disable_notification: z.ZodOptional<z.ZodBoolean>;
|
|
1111
|
+
protect_content: z.ZodOptional<z.ZodBoolean>;
|
|
1112
|
+
allow_paid_broadcast: z.ZodOptional<z.ZodBoolean>;
|
|
1113
|
+
message_effect_id: z.ZodOptional<z.ZodString>;
|
|
1114
|
+
suggested_post_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1115
|
+
reply_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1116
|
+
reply_markup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1117
|
+
} & {
|
|
1118
|
+
question: z.ZodString;
|
|
1119
|
+
options: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
1120
|
+
media: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1121
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
1122
|
+
export type TelegramSendPollRequest = z.infer<typeof TelegramSendPollRequestSchema>;
|
|
1123
|
+
export declare const TelegramSendRichMessageRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1124
|
+
export type TelegramSendRichMessageRequest = z.infer<typeof TelegramSendRichMessageRequestSchema>;
|
|
1125
|
+
export declare const TelegramSendRichMessageDraftRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1126
|
+
export type TelegramSendRichMessageDraftRequest = z.infer<typeof TelegramSendRichMessageDraftRequestSchema>;
|
|
1127
|
+
export declare const TelegramSendStickerRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1128
|
+
export type TelegramSendStickerRequest = z.infer<typeof TelegramSendStickerRequestSchema>;
|
|
1129
|
+
export declare const TelegramSendVenueRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1130
|
+
export type TelegramSendVenueRequest = z.infer<typeof TelegramSendVenueRequestSchema>;
|
|
131
1131
|
export declare const TelegramSendVideoRequestSchema: z.ZodObject<{
|
|
132
|
-
|
|
133
|
-
|
|
1132
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
1133
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
1134
|
+
message_thread_id: z.ZodOptional<z.ZodNumber>;
|
|
1135
|
+
direct_messages_topic_id: z.ZodOptional<z.ZodNumber>;
|
|
1136
|
+
disable_notification: z.ZodOptional<z.ZodBoolean>;
|
|
1137
|
+
protect_content: z.ZodOptional<z.ZodBoolean>;
|
|
1138
|
+
allow_paid_broadcast: z.ZodOptional<z.ZodBoolean>;
|
|
1139
|
+
message_effect_id: z.ZodOptional<z.ZodString>;
|
|
1140
|
+
suggested_post_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1141
|
+
reply_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1142
|
+
reply_markup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1143
|
+
} & {
|
|
134
1144
|
caption: z.ZodOptional<z.ZodString>;
|
|
135
1145
|
parse_mode: z.ZodOptional<z.ZodEnum<["Markdown", "MarkdownV2", "HTML"]>>;
|
|
136
1146
|
caption_entities: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
137
1147
|
show_caption_above_media: z.ZodOptional<z.ZodBoolean>;
|
|
1148
|
+
has_spoiler: z.ZodOptional<z.ZodBoolean>;
|
|
1149
|
+
} & {
|
|
138
1150
|
video: z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
|
|
139
|
-
duration: z.ZodOptional<z.ZodNumber>;
|
|
140
|
-
width: z.ZodOptional<z.ZodNumber>;
|
|
141
|
-
height: z.ZodOptional<z.ZodNumber>;
|
|
142
1151
|
thumbnail: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
|
|
143
1152
|
cover: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
|
|
144
|
-
|
|
1153
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1154
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
145
1155
|
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
1156
|
+
message_thread_id: z.ZodOptional<z.ZodNumber>;
|
|
1157
|
+
direct_messages_topic_id: z.ZodOptional<z.ZodNumber>;
|
|
1158
|
+
disable_notification: z.ZodOptional<z.ZodBoolean>;
|
|
1159
|
+
protect_content: z.ZodOptional<z.ZodBoolean>;
|
|
1160
|
+
allow_paid_broadcast: z.ZodOptional<z.ZodBoolean>;
|
|
1161
|
+
message_effect_id: z.ZodOptional<z.ZodString>;
|
|
1162
|
+
suggested_post_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1163
|
+
reply_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1164
|
+
reply_markup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1165
|
+
} & {
|
|
1166
|
+
caption: z.ZodOptional<z.ZodString>;
|
|
1167
|
+
parse_mode: z.ZodOptional<z.ZodEnum<["Markdown", "MarkdownV2", "HTML"]>>;
|
|
1168
|
+
caption_entities: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
1169
|
+
show_caption_above_media: z.ZodOptional<z.ZodBoolean>;
|
|
1170
|
+
has_spoiler: z.ZodOptional<z.ZodBoolean>;
|
|
1171
|
+
} & {
|
|
1172
|
+
video: z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
|
|
1173
|
+
thumbnail: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
|
|
1174
|
+
cover: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
|
|
1175
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
146
1176
|
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
1177
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
147
1178
|
message_thread_id: z.ZodOptional<z.ZodNumber>;
|
|
148
1179
|
direct_messages_topic_id: z.ZodOptional<z.ZodNumber>;
|
|
149
1180
|
disable_notification: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -153,70 +1184,63 @@ export declare const TelegramSendVideoRequestSchema: z.ZodObject<{
|
|
|
153
1184
|
suggested_post_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
154
1185
|
reply_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
155
1186
|
reply_markup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
protect_content?: boolean | undefined;
|
|
165
|
-
allow_paid_broadcast?: boolean | undefined;
|
|
166
|
-
message_effect_id?: string | undefined;
|
|
167
|
-
suggested_post_parameters?: Record<string, unknown> | undefined;
|
|
168
|
-
reply_parameters?: Record<string, unknown> | undefined;
|
|
169
|
-
reply_markup?: Record<string, unknown> | undefined;
|
|
170
|
-
has_spoiler?: boolean | undefined;
|
|
171
|
-
caption?: string | undefined;
|
|
172
|
-
caption_entities?: Record<string, unknown>[] | undefined;
|
|
173
|
-
show_caption_above_media?: boolean | undefined;
|
|
174
|
-
duration?: number | undefined;
|
|
175
|
-
width?: number | undefined;
|
|
176
|
-
height?: number | undefined;
|
|
177
|
-
thumbnail?: string | Blob | undefined;
|
|
178
|
-
cover?: string | Blob | undefined;
|
|
179
|
-
start_timestamp?: number | undefined;
|
|
180
|
-
supports_streaming?: boolean | undefined;
|
|
181
|
-
}, {
|
|
182
|
-
chat_id: string | number;
|
|
183
|
-
video: string | Blob;
|
|
184
|
-
parse_mode?: "Markdown" | "MarkdownV2" | "HTML" | undefined;
|
|
185
|
-
business_connection_id?: string | undefined;
|
|
186
|
-
message_thread_id?: number | undefined;
|
|
187
|
-
direct_messages_topic_id?: number | undefined;
|
|
188
|
-
disable_notification?: boolean | undefined;
|
|
189
|
-
protect_content?: boolean | undefined;
|
|
190
|
-
allow_paid_broadcast?: boolean | undefined;
|
|
191
|
-
message_effect_id?: string | undefined;
|
|
192
|
-
suggested_post_parameters?: Record<string, unknown> | undefined;
|
|
193
|
-
reply_parameters?: Record<string, unknown> | undefined;
|
|
194
|
-
reply_markup?: Record<string, unknown> | undefined;
|
|
195
|
-
has_spoiler?: boolean | undefined;
|
|
196
|
-
caption?: string | undefined;
|
|
197
|
-
caption_entities?: Record<string, unknown>[] | undefined;
|
|
198
|
-
show_caption_above_media?: boolean | undefined;
|
|
199
|
-
duration?: number | undefined;
|
|
200
|
-
width?: number | undefined;
|
|
201
|
-
height?: number | undefined;
|
|
202
|
-
thumbnail?: string | Blob | undefined;
|
|
203
|
-
cover?: string | Blob | undefined;
|
|
204
|
-
start_timestamp?: number | undefined;
|
|
205
|
-
supports_streaming?: boolean | undefined;
|
|
206
|
-
}>;
|
|
207
|
-
export type TelegramSendVideoRequest = z.infer<typeof TelegramSendVideoRequestSchema>;
|
|
208
|
-
export declare const TelegramSendAudioRequestSchema: z.ZodObject<{
|
|
209
|
-
duration: z.ZodOptional<z.ZodNumber>;
|
|
210
|
-
performer: z.ZodOptional<z.ZodString>;
|
|
211
|
-
title: z.ZodOptional<z.ZodString>;
|
|
1187
|
+
} & {
|
|
1188
|
+
caption: z.ZodOptional<z.ZodString>;
|
|
1189
|
+
parse_mode: z.ZodOptional<z.ZodEnum<["Markdown", "MarkdownV2", "HTML"]>>;
|
|
1190
|
+
caption_entities: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
1191
|
+
show_caption_above_media: z.ZodOptional<z.ZodBoolean>;
|
|
1192
|
+
has_spoiler: z.ZodOptional<z.ZodBoolean>;
|
|
1193
|
+
} & {
|
|
1194
|
+
video: z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
|
|
212
1195
|
thumbnail: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
|
|
1196
|
+
cover: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
|
|
1197
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
1198
|
+
export type TelegramSendVideoRequest = z.infer<typeof TelegramSendVideoRequestSchema>;
|
|
1199
|
+
export declare const TelegramSendVideoNoteRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1200
|
+
export type TelegramSendVideoNoteRequest = z.infer<typeof TelegramSendVideoNoteRequestSchema>;
|
|
1201
|
+
export declare const TelegramSendVoiceRequestSchema: z.ZodObject<{
|
|
1202
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
1203
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
1204
|
+
message_thread_id: z.ZodOptional<z.ZodNumber>;
|
|
1205
|
+
direct_messages_topic_id: z.ZodOptional<z.ZodNumber>;
|
|
1206
|
+
disable_notification: z.ZodOptional<z.ZodBoolean>;
|
|
1207
|
+
protect_content: z.ZodOptional<z.ZodBoolean>;
|
|
1208
|
+
allow_paid_broadcast: z.ZodOptional<z.ZodBoolean>;
|
|
1209
|
+
message_effect_id: z.ZodOptional<z.ZodString>;
|
|
1210
|
+
suggested_post_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1211
|
+
reply_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1212
|
+
reply_markup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1213
|
+
} & {
|
|
213
1214
|
caption: z.ZodOptional<z.ZodString>;
|
|
214
1215
|
parse_mode: z.ZodOptional<z.ZodEnum<["Markdown", "MarkdownV2", "HTML"]>>;
|
|
215
1216
|
caption_entities: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
216
1217
|
show_caption_above_media: z.ZodOptional<z.ZodBoolean>;
|
|
217
|
-
|
|
1218
|
+
has_spoiler: z.ZodOptional<z.ZodBoolean>;
|
|
1219
|
+
} & {
|
|
1220
|
+
voice: z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
|
|
1221
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1222
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
218
1223
|
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
1224
|
+
message_thread_id: z.ZodOptional<z.ZodNumber>;
|
|
1225
|
+
direct_messages_topic_id: z.ZodOptional<z.ZodNumber>;
|
|
1226
|
+
disable_notification: z.ZodOptional<z.ZodBoolean>;
|
|
1227
|
+
protect_content: z.ZodOptional<z.ZodBoolean>;
|
|
1228
|
+
allow_paid_broadcast: z.ZodOptional<z.ZodBoolean>;
|
|
1229
|
+
message_effect_id: z.ZodOptional<z.ZodString>;
|
|
1230
|
+
suggested_post_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1231
|
+
reply_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1232
|
+
reply_markup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1233
|
+
} & {
|
|
1234
|
+
caption: z.ZodOptional<z.ZodString>;
|
|
1235
|
+
parse_mode: z.ZodOptional<z.ZodEnum<["Markdown", "MarkdownV2", "HTML"]>>;
|
|
1236
|
+
caption_entities: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
1237
|
+
show_caption_above_media: z.ZodOptional<z.ZodBoolean>;
|
|
1238
|
+
has_spoiler: z.ZodOptional<z.ZodBoolean>;
|
|
1239
|
+
} & {
|
|
1240
|
+
voice: z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
|
|
1241
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
219
1242
|
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
1243
|
+
business_connection_id: z.ZodOptional<z.ZodString>;
|
|
220
1244
|
message_thread_id: z.ZodOptional<z.ZodNumber>;
|
|
221
1245
|
direct_messages_topic_id: z.ZodOptional<z.ZodNumber>;
|
|
222
1246
|
disable_notification: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -226,48 +1250,244 @@ export declare const TelegramSendAudioRequestSchema: z.ZodObject<{
|
|
|
226
1250
|
suggested_post_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
227
1251
|
reply_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
228
1252
|
reply_markup: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
1253
|
+
} & {
|
|
1254
|
+
caption: z.ZodOptional<z.ZodString>;
|
|
1255
|
+
parse_mode: z.ZodOptional<z.ZodEnum<["Markdown", "MarkdownV2", "HTML"]>>;
|
|
1256
|
+
caption_entities: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
1257
|
+
show_caption_above_media: z.ZodOptional<z.ZodBoolean>;
|
|
1258
|
+
has_spoiler: z.ZodOptional<z.ZodBoolean>;
|
|
1259
|
+
} & {
|
|
1260
|
+
voice: z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>;
|
|
1261
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
1262
|
+
export type TelegramSendVoiceRequest = z.infer<typeof TelegramSendVoiceRequestSchema>;
|
|
1263
|
+
export declare const TelegramSetBusinessAccountBioRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1264
|
+
export type TelegramSetBusinessAccountBioRequest = z.infer<typeof TelegramSetBusinessAccountBioRequestSchema>;
|
|
1265
|
+
export declare const TelegramSetBusinessAccountGiftSettingsRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1266
|
+
export type TelegramSetBusinessAccountGiftSettingsRequest = z.infer<typeof TelegramSetBusinessAccountGiftSettingsRequestSchema>;
|
|
1267
|
+
export declare const TelegramSetBusinessAccountNameRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1268
|
+
export type TelegramSetBusinessAccountNameRequest = z.infer<typeof TelegramSetBusinessAccountNameRequestSchema>;
|
|
1269
|
+
export declare const TelegramSetBusinessAccountProfilePhotoRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1270
|
+
export type TelegramSetBusinessAccountProfilePhotoRequest = z.infer<typeof TelegramSetBusinessAccountProfilePhotoRequestSchema>;
|
|
1271
|
+
export declare const TelegramSetBusinessAccountUsernameRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1272
|
+
export type TelegramSetBusinessAccountUsernameRequest = z.infer<typeof TelegramSetBusinessAccountUsernameRequestSchema>;
|
|
1273
|
+
export declare const TelegramSetChatAdministratorCustomTitleRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1274
|
+
export type TelegramSetChatAdministratorCustomTitleRequest = z.infer<typeof TelegramSetChatAdministratorCustomTitleRequestSchema>;
|
|
1275
|
+
export declare const TelegramSetChatDescriptionRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1276
|
+
export type TelegramSetChatDescriptionRequest = z.infer<typeof TelegramSetChatDescriptionRequestSchema>;
|
|
1277
|
+
export declare const TelegramSetChatMemberTagRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1278
|
+
export type TelegramSetChatMemberTagRequest = z.infer<typeof TelegramSetChatMemberTagRequestSchema>;
|
|
1279
|
+
export declare const TelegramSetChatMenuButtonRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1280
|
+
export type TelegramSetChatMenuButtonRequest = z.infer<typeof TelegramSetChatMenuButtonRequestSchema>;
|
|
1281
|
+
export declare const TelegramSetChatPermissionsRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1282
|
+
export type TelegramSetChatPermissionsRequest = z.infer<typeof TelegramSetChatPermissionsRequestSchema>;
|
|
1283
|
+
export declare const TelegramSetChatPhotoRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1284
|
+
export type TelegramSetChatPhotoRequest = z.infer<typeof TelegramSetChatPhotoRequestSchema>;
|
|
1285
|
+
export declare const TelegramSetChatStickerSetRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1286
|
+
export type TelegramSetChatStickerSetRequest = z.infer<typeof TelegramSetChatStickerSetRequestSchema>;
|
|
1287
|
+
export declare const TelegramSetChatTitleRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1288
|
+
export type TelegramSetChatTitleRequest = z.infer<typeof TelegramSetChatTitleRequestSchema>;
|
|
1289
|
+
export declare const TelegramSetCustomEmojiStickerSetThumbnailRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1290
|
+
export type TelegramSetCustomEmojiStickerSetThumbnailRequest = z.infer<typeof TelegramSetCustomEmojiStickerSetThumbnailRequestSchema>;
|
|
1291
|
+
export declare const TelegramSetGameScoreRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1292
|
+
export type TelegramSetGameScoreRequest = z.infer<typeof TelegramSetGameScoreRequestSchema>;
|
|
1293
|
+
export declare const TelegramSetManagedBotAccessSettingsRequestSchema: z.ZodObject<{
|
|
1294
|
+
user_id: z.ZodNumber;
|
|
1295
|
+
is_access_restricted: z.ZodBoolean;
|
|
1296
|
+
added_user_ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1297
|
+
removed_user_ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1298
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1299
|
+
user_id: z.ZodNumber;
|
|
1300
|
+
is_access_restricted: z.ZodBoolean;
|
|
1301
|
+
added_user_ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1302
|
+
removed_user_ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1303
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1304
|
+
user_id: z.ZodNumber;
|
|
1305
|
+
is_access_restricted: z.ZodBoolean;
|
|
1306
|
+
added_user_ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1307
|
+
removed_user_ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1308
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
1309
|
+
export type TelegramSetManagedBotAccessSettingsRequest = z.infer<typeof TelegramSetManagedBotAccessSettingsRequestSchema>;
|
|
1310
|
+
export declare const TelegramSetMessageReactionRequestSchema: z.ZodObject<{
|
|
1311
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
1312
|
+
message_id: z.ZodNumber;
|
|
1313
|
+
reaction: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
1314
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1315
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
1316
|
+
message_id: z.ZodNumber;
|
|
1317
|
+
reaction: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
1318
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1319
|
+
chat_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
1320
|
+
message_id: z.ZodNumber;
|
|
1321
|
+
reaction: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
1322
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
1323
|
+
export type TelegramSetMessageReactionRequest = z.infer<typeof TelegramSetMessageReactionRequestSchema>;
|
|
1324
|
+
export declare const TelegramSetMyCommandsRequestSchema: z.ZodObject<{
|
|
1325
|
+
commands: z.ZodArray<z.ZodObject<{
|
|
1326
|
+
command: z.ZodString;
|
|
1327
|
+
description: z.ZodString;
|
|
1328
|
+
}, "strip", z.ZodTypeAny, {
|
|
1329
|
+
command: string;
|
|
1330
|
+
description: string;
|
|
1331
|
+
}, {
|
|
1332
|
+
command: string;
|
|
1333
|
+
description: string;
|
|
1334
|
+
}>, "many">;
|
|
1335
|
+
scope: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1336
|
+
language_code: z.ZodOptional<z.ZodString>;
|
|
1337
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1338
|
+
commands: z.ZodArray<z.ZodObject<{
|
|
1339
|
+
command: z.ZodString;
|
|
1340
|
+
description: z.ZodString;
|
|
1341
|
+
}, "strip", z.ZodTypeAny, {
|
|
1342
|
+
command: string;
|
|
1343
|
+
description: string;
|
|
1344
|
+
}, {
|
|
1345
|
+
command: string;
|
|
1346
|
+
description: string;
|
|
1347
|
+
}>, "many">;
|
|
1348
|
+
scope: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1349
|
+
language_code: z.ZodOptional<z.ZodString>;
|
|
1350
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1351
|
+
commands: z.ZodArray<z.ZodObject<{
|
|
1352
|
+
command: z.ZodString;
|
|
1353
|
+
description: z.ZodString;
|
|
1354
|
+
}, "strip", z.ZodTypeAny, {
|
|
1355
|
+
command: string;
|
|
1356
|
+
description: string;
|
|
1357
|
+
}, {
|
|
1358
|
+
command: string;
|
|
1359
|
+
description: string;
|
|
1360
|
+
}>, "many">;
|
|
1361
|
+
scope: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1362
|
+
language_code: z.ZodOptional<z.ZodString>;
|
|
1363
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
1364
|
+
export type TelegramSetMyCommandsRequest = z.infer<typeof TelegramSetMyCommandsRequestSchema>;
|
|
1365
|
+
export declare const TelegramSetMyDefaultAdministratorRightsRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1366
|
+
export type TelegramSetMyDefaultAdministratorRightsRequest = z.infer<typeof TelegramSetMyDefaultAdministratorRightsRequestSchema>;
|
|
1367
|
+
export declare const TelegramSetMyDescriptionRequestSchema: z.ZodObject<{
|
|
1368
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1369
|
+
language_code: z.ZodOptional<z.ZodString>;
|
|
1370
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1371
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1372
|
+
language_code: z.ZodOptional<z.ZodString>;
|
|
1373
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1374
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1375
|
+
language_code: z.ZodOptional<z.ZodString>;
|
|
1376
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
1377
|
+
export type TelegramSetMyDescriptionRequest = z.infer<typeof TelegramSetMyDescriptionRequestSchema>;
|
|
1378
|
+
export declare const TelegramSetMyNameRequestSchema: z.ZodObject<{
|
|
1379
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1380
|
+
language_code: z.ZodOptional<z.ZodString>;
|
|
1381
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1382
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1383
|
+
language_code: z.ZodOptional<z.ZodString>;
|
|
1384
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1385
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1386
|
+
language_code: z.ZodOptional<z.ZodString>;
|
|
1387
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
1388
|
+
export type TelegramSetMyNameRequest = z.infer<typeof TelegramSetMyNameRequestSchema>;
|
|
1389
|
+
export declare const TelegramSetMyShortDescriptionRequestSchema: z.ZodObject<{
|
|
1390
|
+
short_description: z.ZodOptional<z.ZodString>;
|
|
1391
|
+
language_code: z.ZodOptional<z.ZodString>;
|
|
1392
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1393
|
+
short_description: z.ZodOptional<z.ZodString>;
|
|
1394
|
+
language_code: z.ZodOptional<z.ZodString>;
|
|
1395
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1396
|
+
short_description: z.ZodOptional<z.ZodString>;
|
|
1397
|
+
language_code: z.ZodOptional<z.ZodString>;
|
|
1398
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
1399
|
+
export type TelegramSetMyShortDescriptionRequest = z.infer<typeof TelegramSetMyShortDescriptionRequestSchema>;
|
|
1400
|
+
export declare const TelegramSetPassportDataErrorsRequestSchema: z.ZodObject<{
|
|
1401
|
+
user_id: z.ZodNumber;
|
|
1402
|
+
errors: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
1403
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1404
|
+
user_id: z.ZodNumber;
|
|
1405
|
+
errors: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
1406
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1407
|
+
user_id: z.ZodNumber;
|
|
1408
|
+
errors: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
1409
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
1410
|
+
export type TelegramSetPassportDataErrorsRequest = z.infer<typeof TelegramSetPassportDataErrorsRequestSchema>;
|
|
1411
|
+
export declare const TelegramSetStickerEmojiListRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1412
|
+
export type TelegramSetStickerEmojiListRequest = z.infer<typeof TelegramSetStickerEmojiListRequestSchema>;
|
|
1413
|
+
export declare const TelegramSetStickerKeywordsRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1414
|
+
export type TelegramSetStickerKeywordsRequest = z.infer<typeof TelegramSetStickerKeywordsRequestSchema>;
|
|
1415
|
+
export declare const TelegramSetStickerMaskPositionRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1416
|
+
export type TelegramSetStickerMaskPositionRequest = z.infer<typeof TelegramSetStickerMaskPositionRequestSchema>;
|
|
1417
|
+
export declare const TelegramSetStickerPositionInSetRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1418
|
+
export type TelegramSetStickerPositionInSetRequest = z.infer<typeof TelegramSetStickerPositionInSetRequestSchema>;
|
|
1419
|
+
export declare const TelegramSetStickerSetThumbnailRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1420
|
+
export type TelegramSetStickerSetThumbnailRequest = z.infer<typeof TelegramSetStickerSetThumbnailRequestSchema>;
|
|
1421
|
+
export declare const TelegramSetStickerSetTitleRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1422
|
+
export type TelegramSetStickerSetTitleRequest = z.infer<typeof TelegramSetStickerSetTitleRequestSchema>;
|
|
1423
|
+
export declare const TelegramSetUserEmojiStatusRequestSchema: z.ZodObject<{
|
|
1424
|
+
user_id: z.ZodNumber;
|
|
1425
|
+
emoji_status_custom_emoji_id: z.ZodOptional<z.ZodString>;
|
|
1426
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1427
|
+
user_id: z.ZodNumber;
|
|
1428
|
+
emoji_status_custom_emoji_id: z.ZodOptional<z.ZodString>;
|
|
1429
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1430
|
+
user_id: z.ZodNumber;
|
|
1431
|
+
emoji_status_custom_emoji_id: z.ZodOptional<z.ZodString>;
|
|
1432
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
1433
|
+
export type TelegramSetUserEmojiStatusRequest = z.infer<typeof TelegramSetUserEmojiStatusRequestSchema>;
|
|
1434
|
+
export declare const TelegramSetWebhookRequestSchema: z.ZodObject<{
|
|
1435
|
+
url: z.ZodString;
|
|
1436
|
+
certificate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
|
|
1437
|
+
allowed_updates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1438
|
+
secret_token: z.ZodOptional<z.ZodString>;
|
|
1439
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1440
|
+
url: z.ZodString;
|
|
1441
|
+
certificate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
|
|
1442
|
+
allowed_updates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1443
|
+
secret_token: z.ZodOptional<z.ZodString>;
|
|
1444
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1445
|
+
url: z.ZodString;
|
|
1446
|
+
certificate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>]>>;
|
|
1447
|
+
allowed_updates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1448
|
+
secret_token: z.ZodOptional<z.ZodString>;
|
|
1449
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
1450
|
+
export type TelegramSetWebhookRequest = z.infer<typeof TelegramSetWebhookRequestSchema>;
|
|
1451
|
+
export declare const TelegramStopMessageLiveLocationRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1452
|
+
export type TelegramStopMessageLiveLocationRequest = z.infer<typeof TelegramStopMessageLiveLocationRequestSchema>;
|
|
1453
|
+
export declare const TelegramStopPollRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1454
|
+
export type TelegramStopPollRequest = z.infer<typeof TelegramStopPollRequestSchema>;
|
|
1455
|
+
export declare const TelegramTransferBusinessAccountStarsRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1456
|
+
export type TelegramTransferBusinessAccountStarsRequest = z.infer<typeof TelegramTransferBusinessAccountStarsRequestSchema>;
|
|
1457
|
+
export declare const TelegramTransferGiftRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1458
|
+
export type TelegramTransferGiftRequest = z.infer<typeof TelegramTransferGiftRequestSchema>;
|
|
1459
|
+
export declare const TelegramUnbanChatMemberRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1460
|
+
export type TelegramUnbanChatMemberRequest = z.infer<typeof TelegramUnbanChatMemberRequestSchema>;
|
|
1461
|
+
export declare const TelegramUnbanChatSenderChatRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1462
|
+
export type TelegramUnbanChatSenderChatRequest = z.infer<typeof TelegramUnbanChatSenderChatRequestSchema>;
|
|
1463
|
+
export declare const TelegramUnhideGeneralForumTopicRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1464
|
+
export type TelegramUnhideGeneralForumTopicRequest = z.infer<typeof TelegramUnhideGeneralForumTopicRequestSchema>;
|
|
1465
|
+
export declare const TelegramUnpinAllChatMessagesRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1466
|
+
export type TelegramUnpinAllChatMessagesRequest = z.infer<typeof TelegramUnpinAllChatMessagesRequestSchema>;
|
|
1467
|
+
export declare const TelegramUnpinAllForumTopicMessagesRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1468
|
+
export type TelegramUnpinAllForumTopicMessagesRequest = z.infer<typeof TelegramUnpinAllForumTopicMessagesRequestSchema>;
|
|
1469
|
+
export declare const TelegramUnpinAllGeneralForumTopicMessagesRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1470
|
+
export type TelegramUnpinAllGeneralForumTopicMessagesRequest = z.infer<typeof TelegramUnpinAllGeneralForumTopicMessagesRequestSchema>;
|
|
1471
|
+
export declare const TelegramUnpinChatMessageRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1472
|
+
export type TelegramUnpinChatMessageRequest = z.infer<typeof TelegramUnpinChatMessageRequestSchema>;
|
|
1473
|
+
export declare const TelegramUpgradeGiftRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1474
|
+
export type TelegramUpgradeGiftRequest = z.infer<typeof TelegramUpgradeGiftRequestSchema>;
|
|
1475
|
+
export declare const TelegramUploadStickerFileRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1476
|
+
export type TelegramUploadStickerFileRequest = z.infer<typeof TelegramUploadStickerFileRequestSchema>;
|
|
1477
|
+
export declare const TelegramVerifyChatRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1478
|
+
export type TelegramVerifyChatRequest = z.infer<typeof TelegramVerifyChatRequestSchema>;
|
|
1479
|
+
export declare const TelegramVerifyUserRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1480
|
+
export type TelegramVerifyUserRequest = z.infer<typeof TelegramVerifyUserRequestSchema>;
|
|
1481
|
+
export declare const TelegramApproveSuggestedPostRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1482
|
+
export type TelegramApproveSuggestedPostRequest = z.infer<typeof TelegramApproveSuggestedPostRequestSchema>;
|
|
1483
|
+
export declare const TelegramDeclineSuggestedPostRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1484
|
+
export type TelegramDeclineSuggestedPostRequest = z.infer<typeof TelegramDeclineSuggestedPostRequestSchema>;
|
|
1485
|
+
export declare const TelegramGetUserProfileAudiosRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1486
|
+
export type TelegramGetUserProfileAudiosRequest = z.infer<typeof TelegramGetUserProfileAudiosRequestSchema>;
|
|
1487
|
+
export declare const TelegramGetUserProfilePhotosRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1488
|
+
export type TelegramGetUserProfilePhotosRequest = z.infer<typeof TelegramGetUserProfilePhotosRequestSchema>;
|
|
1489
|
+
export declare const TelegramRemoveMyProfilePhotoRequestSchema: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
1490
|
+
export type TelegramRemoveMyProfilePhotoRequest = z.infer<typeof TelegramRemoveMyProfilePhotoRequestSchema>;
|
|
1491
|
+
export declare const TelegramSetMyProfilePhotoRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
1492
|
+
export type TelegramSetMyProfilePhotoRequest = z.infer<typeof TelegramSetMyProfilePhotoRequestSchema>;
|
|
273
1493
|
//# sourceMappingURL=zod.d.ts.map
|