Functions

Link copied to clipboard
open override fun method(): String

Properties

Link copied to clipboard
open override val allowSendingWithoutReply: Boolean? = null
Link copied to clipboard
val audio: String? = null
Link copied to clipboard
open override val chatId: ChatIdentifier
Link copied to clipboard
open override val disableNotification: Boolean = false
Link copied to clipboard
open override val duration: Long? = null

Duration of media, usually in seconds

Link copied to clipboard
Link copied to clipboard
open override val parseMode: ParseMode? = null
Link copied to clipboard
open override val performer: String? = null
Link copied to clipboard
open override val protectContent: Boolean = false
Link copied to clipboard
open override val replyMarkup: KeyboardMarkup? = null
Link copied to clipboard
open override val replyToMessageId: MessageId? = null
Link copied to clipboard
open override val requestSerializer: SerializationStrategy<*>
Link copied to clipboard
open override val resultDeserializer: DeserializationStrategy<ContentMessage<AudioContent>>
Link copied to clipboard
open override val text: String? = null
Link copied to clipboard
open override val textSources: List<TextSource>?

Full list of TextSources

Link copied to clipboard
open override val threadId: MessageThreadId? = null
Link copied to clipboard
open override val thumb: String? = null
Link copied to clipboard
open override val title: String? = null

Extensions

Link copied to clipboard
fun TextedWithTextSources.parseCommandsWithParams(argsSeparator: Regex = defaultArgsSeparator): Map<String, Array<String>>

Parse commands and their args. Logic will find command, get all subsequent data as args until new command