Package dev.inmo.tgbotapi.types.message

Types

Link copied to clipboard
data class AnonymousForwardInfo(val dateOfOriginal: TelegramDate, val senderName: String) : ForwardInfo
Link copied to clipboard
data class AnonymousGroupContentMessageImpl<T : MessageContent>(    val chat: GroupChat,     val messageId: MessageIdentifier,     val date: DateTime,     val forwardInfo: ForwardInfo?,     val editDate: DateTime?,     val hasProtectedContent: Boolean,     val replyTo: Message?,     val replyMarkup: InlineKeyboardMarkup?,     val content: T,     val senderBot: CommonBot?,     val authorSignature: AuthorSignature?) : AnonymousGroupContentMessage<T>
Link copied to clipboard
data class ChannelContentMessageImpl<T : MessageContent>(    val messageId: MessageIdentifier,     val chat: ChannelChat,     val content: T,     val date: DateTime,     val editDate: DateTime?,     val hasProtectedContent: Boolean,     val forwardInfo: ForwardInfo?,     val replyTo: Message?,     val replyMarkup: InlineKeyboardMarkup?,     val senderBot: CommonBot?,     val authorSignature: AuthorSignature?) : ChannelContentMessage<T>
Link copied to clipboard
data class ChannelEventMessage<T : ChannelEvent>(    val messageId: MessageIdentifier,     val chat: ChannelChat,     val chatEvent: T,     val date: DateTime) : ChatEventMessage<T>
Link copied to clipboard
data class ChannelMediaGroupMessage<T : MediaGroupContent>(    val messageId: MessageIdentifier,     val chat: Chat,     val date: DateTime,     val mediaGroupId: MediaGroupIdentifier,     val content: T,     val editDate: DateTime?,     val hasProtectedContent: Boolean,     val forwardInfo: ForwardInfo?,     val replyTo: Message?,     val replyMarkup: InlineKeyboardMarkup?) : MediaGroupMessage<T>
Link copied to clipboard
data class CommonGroupContentMessageImpl<T : MessageContent>(    val chat: GroupChat,     val messageId: MessageIdentifier,     val from: User,     val date: DateTime,     val forwardInfo: ForwardInfo?,     val editDate: DateTime?,     val hasProtectedContent: Boolean,     val replyTo: Message?,     val replyMarkup: InlineKeyboardMarkup?,     val content: T,     val senderBot: CommonBot?) : CommonGroupContentMessage<T>
Link copied to clipboard
data class CommonGroupEventMessage<T : GroupEvent>(    val messageId: MessageIdentifier,     val from: User,     val chat: GroupChat,     val chatEvent: T,     val date: DateTime) : GroupEventMessage<T>
Link copied to clipboard
data class CommonMediaGroupMessage<T : MediaGroupContent>(    val messageId: MessageIdentifier,     val from: User,     val chat: Chat,     val date: DateTime,     val mediaGroupId: MediaGroupIdentifier,     val content: T,     val editDate: DateTime?,     val hasProtectedContent: Boolean,     val forwardInfo: ForwardInfo?,     val replyTo: Message?,     val replyMarkup: InlineKeyboardMarkup?) : MediaGroupMessage<T> , FromUserMessage
Link copied to clipboard
data class CommonSupergroupEventMessage<T : SupergroupEvent>(    val messageId: MessageIdentifier,     val from: User,     val chat: SupergroupChat,     val chatEvent: T,     val date: DateTime) : SupergroupEventMessage<T>
data class ConnectedFromChannelGroupContentMessageImpl<T : MessageContent>(    val chat: GroupChat,     val channel: ChannelChat,     val messageId: MessageIdentifier,     val date: DateTime,     val forwardInfo: ForwardInfo?,     val editDate: DateTime?,     val hasProtectedContent: Boolean,     val replyTo: Message?,     val replyMarkup: InlineKeyboardMarkup?,     val content: T,     val senderBot: CommonBot?,     val authorSignature: AuthorSignature?) : ConnectedFromChannelGroupContentMessage<T>
Link copied to clipboard
data class ForwardFromChannelInfo(    val dateOfOriginal: TelegramDate,     val messageId: MessageIdentifier,     val channelChat: ChannelChat,     val signature: String? = null) : ForwardFromPublicChatInfo
Link copied to clipboard
sealed class ForwardFromPublicChatInfo : ForwardInfo
Link copied to clipboard
data class ForwardFromSupergroupInfo(val dateOfOriginal: TelegramDate, val group: SupergroupChat) : ForwardFromPublicChatInfo
Link copied to clipboard
sealed class ForwardInfo
Link copied to clipboard
typealias HTML = HTMLParseMode
Link copied to clipboard
object HTMLParseMode : ParseMode
Link copied to clipboard
typealias Markdown = MarkdownParseMode
Link copied to clipboard
object MarkdownParseMode : ParseMode
Link copied to clipboard
typealias MarkdownV2 = MarkdownV2ParseMode
Link copied to clipboard
object MarkdownV2ParseMode : ParseMode
Link copied to clipboard
interface ParseMode
Link copied to clipboard
object ParseModeSerializer : KSerializer<ParseMode>
Link copied to clipboard
data class PassportMessage(    val messageId: MessageIdentifier,     val chat: Chat,     val from: User,     val date: DateTime,     val passportData: PassportData) : Message, FromUserMessage
Link copied to clipboard
data class PrivateContentMessageImpl<T : MessageContent>(    val messageId: MessageIdentifier,     val from: User,     val chat: Chat,     val content: T,     val date: DateTime,     val editDate: DateTime?,     val hasProtectedContent: Boolean,     val forwardInfo: ForwardInfo?,     val replyTo: Message?,     val replyMarkup: InlineKeyboardMarkup?,     val senderBot: CommonBot?) : PrivateContentMessage<T>
Link copied to clipboard
data class PrivateEventMessage<T : PrivateEvent>(    val messageId: MessageIdentifier,     val chat: PrivateChat,     val chatEvent: T,     val date: DateTime) : ChatEventMessage<T>
data class UnconnectedFromChannelGroupContentMessageImpl<T : MessageContent>(    val chat: GroupChat,     val channel: ChannelChat,     val messageId: MessageIdentifier,     val date: DateTime,     val forwardInfo: ForwardInfo?,     val editDate: DateTime?,     val hasProtectedContent: Boolean,     val replyTo: Message?,     val replyMarkup: InlineKeyboardMarkup?,     val content: T,     val senderBot: CommonBot?,     val authorSignature: AuthorSignature?) : UnconnectedFromChannelGroupContentMessage<T>
Link copied to clipboard
data class UserForwardInfo(val dateOfOriginal: TelegramDate, val from: User) : ForwardInfo, FromUser

Properties

Link copied to clipboard
var defaultParseMode: ParseMode

This variable respects to default parse mode used in places like next: