GramIO API Reference / @gramio/contexts/dist / MessageGenerationStopped
Class: MessageGenerationStopped
Defined in: contexts/index.d.ts:4725
Information about a message draft whose generation was stopped by the user.
Extended by
Constructors
Constructor
new MessageGenerationStopped(
payload):MessageGenerationStopped
Defined in: contexts/index.d.ts:4727
Parameters
| Parameter | Type |
|---|---|
payload | TelegramMessageGenerationStopped |
Returns
MessageGenerationStopped
Properties
| Property | Type | Defined in |
|---|---|---|
payload | TelegramMessageGenerationStopped | contexts/index.d.ts:4726 |
Accessors
[toStringTag]
Get Signature
get [toStringTag]():
string
Defined in: contexts/index.d.ts:4728
Returns
string
chat
Get Signature
get chat():
Chat
Defined in: contexts/index.d.ts:4730
Chat in which the message was being generated.
Returns
chatId
Get Signature
get chatId():
number
Defined in: contexts/index.d.ts:4732
Unique identifier of the chat.
Returns
number
chatType
Get Signature
get chatType():
TelegramChatType
Defined in: contexts/index.d.ts:4734
Type of the chat.
Returns
draftId
Get Signature
get draftId():
number
Defined in: contexts/index.d.ts:4738
Unique identifier of the message draft which was stopped.
Returns
number
threadId
Get Signature
get threadId():
number
Defined in: contexts/index.d.ts:4736
Unique identifier of the message thread, if the draft belongs to one.
Returns
number