MessageGenerationStopped¶
- class pyrogram.types.MessageGenerationStopped[source]¶
A user asked the bot to stop generating a message.
It arrives when the user presses the stop button offered by a draft sent with
can_stop=True.- Parameters:
chat (
Chat) – Chat in which the message is generated.draft_id (
int) – Unique identifier of the message draft which was stopped.message_thread_id (
int, optional) – Unique identifier of the message thread in which the message is generated.