docs
Toggle table of contents
37.0.0
common
Target filter
common
Switch theme
Search in API
Skip to content
docs
docs
/
dev.inmo.tgbotapi.types
/
MessageGenerationStopped
Message
Generation
Stopped
@
Serializable
data
class
MessageGenerationStopped
(
val
chat
:
PreviewChat
,
val
messageThreadId
:
MessageThreadId
?
=
null
,
val
draftId
:
DraftId
)
:
WithPreviewChat
(
source
)
Information about a user stopping message generation.
Members
Members & Extensions
Constructors
Message
Generation
Stopped
Link copied to clipboard
constructor
(
chat
:
PreviewChat
,
messageThreadId
:
MessageThreadId
?
=
null
,
draftId
:
DraftId
)
Properties
chat
Link copied to clipboard
@
SerialName
(
value
=
"chat"
)
open
override
val
chat
:
PreviewChat
draft
Id
Link copied to clipboard
@
SerialName
(
value
=
"draft_id"
)
val
draftId
:
DraftId
message
Thread
Id
Link copied to clipboard
@
SerialName
(
value
=
"message_thread_id"
)
val
messageThreadId
:
MessageThreadId
?
Functions
same
Chat
Link copied to clipboard
inline
fun
WithPreviewChat
.
sameChat
(
chatId
:
ChatIdentifier
)
:
Boolean
inline
fun
WithPreviewChat
.
sameChat
(
chat
:
Chat
)
:
Boolean
inline
fun
WithPreviewChat
.
sameChat
(
other
:
Message
)
:
Boolean