telegram-bot-api-nodejs 1.0.42 → 1.0.43
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/index.d.ts +6 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -208,6 +208,11 @@ export interface Chat {
|
|
|
208
208
|
can_set_sticker_set?: boolean;
|
|
209
209
|
sticker_set_name?: string;
|
|
210
210
|
}
|
|
211
|
+
export interface WriteAccessAllowed {
|
|
212
|
+
from_request?: boolean;
|
|
213
|
+
web_app_name?: string;
|
|
214
|
+
from_attachment_menu?: boolean;
|
|
215
|
+
}
|
|
211
216
|
export interface ChatBoostAdded {
|
|
212
217
|
boost_count: number;
|
|
213
218
|
}
|
|
@@ -302,6 +307,7 @@ export interface Message {
|
|
|
302
307
|
passport_data?: PassportData;
|
|
303
308
|
reply_markup?: InlineKeyboardMarkup;
|
|
304
309
|
sender_chat?: Chat;
|
|
310
|
+
write_access_allowed: WriteAccessAllowed;
|
|
305
311
|
boost_added?: ChatBoostAdded;
|
|
306
312
|
forum_topic_created?: ForumTopicCreated;
|
|
307
313
|
forum_topic_edited?: ForumTopicEdited;
|