TelegramChannelMessageEvent

An event about Message from a TelegramChannel (chat.type == "channel")

Author

ForteScarlet

Inherited properties

Link copied to clipboard
open override val authorId: ID

The sender's id

Link copied to clipboard
abstract override val bot: TelegramBot
Link copied to clipboard
Link copied to clipboard
open override val id: ID
Link copied to clipboard
abstract override val messageContent: TelegramMessageContent
Link copied to clipboard
abstract override val sourceContent: Message

The content in StdlibEvent. In BasicTelegramXxxEvent (for example BasicTelegramMessageEvent) is covered by a more specific type (for example Message in BasicTelegramMessageEvent.sourceContent).

Link copied to clipboard
abstract val sourceEvent: StdlibEvent

The source event StdlibEvent.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val time: Timestamp

Functions

Link copied to clipboard
abstract suspend override fun content(): TelegramChannel

Inherited functions

Link copied to clipboard
abstract suspend override fun author(): TelegramMember
Link copied to clipboard
abstract suspend override fun reply(text: String): TelegramMessageReceipt

Reply to this message with text.

abstract suspend override fun reply(message: Message): TelegramMessageReceipt

Reply to this message with message.

abstract suspend override fun reply(messageContent: MessageContent): TelegramMessageReceipt

Reply to this message with messageContent.