Message

data class Message(val chatId: Long, val text: String) : Input

Constructors

Link copied to clipboard
constructor(chatId: Long, text: String)

Properties

Link copied to clipboard
open override val chatId: Long
Link copied to clipboard

Functions

Link copied to clipboard

Parses Message.text as a command, or returns null when it is not one.