Channel

@Serializable
data class Channel(val chat: ChannelChat, val messageId: MessageId, val date: TelegramDate, val authorSignature: AuthorSignature? = null) : MessageOrigin.Public

Constructors

Link copied to clipboard
constructor(chat: ChannelChat, messageId: MessageId, date: TelegramDate, authorSignature: AuthorSignature? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
@SerialName(value = "author_signature")
open override val authorSignature: AuthorSignature? = null
Link copied to clipboard
@SerialName(value = "chat")
open override val chat: ChannelChat
Link copied to clipboard
@SerialName(value = "date")
open override val date: TelegramDate
Link copied to clipboard
@SerialName(value = "message_id")
val messageId: MessageId
Link copied to clipboard
@SerialName(value = "type")
@Required
@EncodeDefault
open override val type: String

Functions

Link copied to clipboard