MessageOriginChannel

@SerialName(value = "channel")
data class MessageOriginChannel(val date: Int, val chat: Chat, val messageId: Int, val authorSignature: String? = null) : MessageOrigin(source)

MessageOriginChannel

The message was originally sent to a channel chat.

(auto-generated)

Author

ForteScarlet

Constructors

Link copied to clipboard
constructor(date: Int, chat: Chat, messageId: Int, authorSignature: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "author_signature")
val authorSignature: String? = null

Optional. Signature of the original post author

Link copied to clipboard
val chat: Chat

Channel chat to which the message was originally sent

Link copied to clipboard
val date: Int

Date the message was sent originally in Unix time

Link copied to clipboard
@SerialName(value = "message_id")
val messageId: Int

Unique message identifier inside the chat