You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/internal/botApi.gen.ts
+39-8Lines changed: 39 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -82,7 +82,7 @@ export interface BotApi {
82
82
sendChecklist: BotApiMethod<'sendChecklist'>
83
83
/** Use this method to send an animated emoji that will display a random value. On success, the sent [Message](https://core.telegram.org/bots/api#message) is returned. */
84
84
sendDice: BotApiMethod<'sendDice'>
85
-
/** Use this method to stream a partial message to a user while the message is being generated; supported only for bots with forum topic mode enabled. Returns _True_ on success. */
85
+
/** Use this method to stream a partial message to a user while the message is being generated. Returns _True_ on success. */
* Use this method when you need to tell the user that something is happening on the bot's side. The status is set for 5 seconds or less (when a message arrives from your bot, Telegram clients clear its typing status). Returns _True_ on success.
/** Use this method to set a tag for a regular member in a group or a supergroup. The bot must be an administrator in the chat for this to work and must have the _can\_manage\_tags_ administrator right. Returns _True_ on success. */
/** Use this method to ban a channel chat in a supergroup or a channel. Until the chat is [unbanned](https://core.telegram.org/bots/api#unbanchatsenderchat), the owner of the banned chat won't be able to send messages on behalf of **any of their channels**. The bot must be an administrator in the supergroup or channel for this to work and must have the appropriate administrator rights. Returns _True_ on success. */
/** Use this method to unban a previously banned channel chat in a supergroup or channel. The bot must be an administrator for this to work and must have the appropriate administrator rights. Returns _True_ on success. */
/** The bot that actually sent the message on behalf of the business account. Available only for outgoing messages sent on behalf of the connected business account. */
669
671
sender_business_bot?: Types.User
672
+
/** Tag or custom title of the sender of the message; for supergroups only */
673
+
sender_tag?: string
670
674
/** Date the message was sent in Unix time. It is always a positive number, representing a valid date. */
671
675
date: number
672
676
/** Unique identifier of the business connection from which the message was received. If non-empty, the message belongs to a chat of the corresponding business account that is independent from any potential bot chat which might share the same identifier. */
/** Inline keyboard attached to the message. `login_url` buttons are represented as ordinary `url` buttons. */
868
+
/** [Inline keyboard](https://core.telegram.org/bots/features#inline-keyboards) attached to the message. `login_url` buttons are represented as ordinary `url` buttons. */
/** For “custom\_emoji” only, unique identifier of the custom emoji. Use [getCustomEmojiStickers](https://core.telegram.org/bots/api#getcustomemojistickers) to get full information about the sticker */
907
911
custom_emoji_id?: string
912
+
/** For “date\_time” only, the Unix time associated with the entity */
913
+
unix_time?: number
914
+
/** For “date\_time” only, the string that defines the formatting of the date and time. See [date-time entity formatting](https://core.telegram.org/bots/api#date-time-entity-formatting) for more details. */
915
+
date_time_format?: string
908
916
}
909
917
910
918
/** This object contains information about the quoted part of a message that is replied to by the given message. */
/** _True_, if the administrator can manage direct messages of the channel and decline suggested posts; for channels only */
2206
2214
can_manage_direct_messages?: boolean
2215
+
/** _True_, if the administrator can edit the tags of regular members; for groups and supergroups only. If omitted defaults to the value of can\_pin\_messages. */
2216
+
can_manage_tags?: boolean
2207
2217
}
2208
2218
2209
2219
/** This object represents changes in the status of a chat member. */
/** _True_, if the administrator can manage direct messages of the channel and decline suggested posts; for channels only */
2292
2302
can_manage_direct_messages?: boolean
2303
+
/** _True_, if the administrator can edit the tags of regular members; for groups and supergroups only. If omitted defaults to the value of can\_pin\_messages. */
0 commit comments