# dev.inmo.tgbotapi.types.message

docs

# Package dev.inmo.tgbotapi.types.message

## Types

AnonymousForwardInfo
Link copied to clipboard
data class AnonymousForwardInfo (val dateOfOriginal: TelegramDate , val senderName: String ) : ForwardInfo
Content copied to clipboard
AnonymousGroupContentMessageImpl
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 >
Content copied to clipboard
ChannelContentMessageImpl
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 >
Content copied to clipboard
ChannelEventMessage
Link copied to clipboard
data class ChannelEventMessage < T : ChannelEvent >( val messageId: MessageIdentifier , val chat: ChannelChat , val chatEvent: T , val date: DateTime) : ChatEventMessage < T >
Content copied to clipboard
ChannelMediaGroupMessage
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 >
Content copied to clipboard
CommonGroupContentMessageImpl
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 >
Content copied to clipboard
CommonGroupEventMessage
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 >
Content copied to clipboard
CommonMediaGroupMessage
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
Content copied to clipboard
CommonSupergroupEventMessage
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 >
Content copied to clipboard
ConnectedFromChannelGroupContentMessageImpl
Link copied to clipboard
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 >
Content copied to clipboard
ForwardFromChannelInfo
Link copied to clipboard
data class ForwardFromChannelInfo ( val dateOfOriginal: TelegramDate , val messageId: MessageIdentifier , val channelChat: ChannelChat , val signature: String ? = null) : ForwardFromPublicChatInfo
Content copied to clipboard
ForwardFromPublicChatInfo
Link copied to clipboard
sealed class ForwardFromPublicChatInfo : ForwardInfo
Content copied to clipboard
ForwardFromSupergroupInfo
Link copied to clipboard
data class ForwardFromSupergroupInfo (val dateOfOriginal: TelegramDate , val group: SupergroupChat ) : ForwardFromPublicChatInfo
Content copied to clipboard
ForwardInfo
Link copied to clipboard
sealed class ForwardInfo
Content copied to clipboard
HTML
Link copied to clipboard
typealias HTML = HTMLParseMode
Content copied to clipboard
HTMLParseMode
Link copied to clipboard
object HTMLParseMode : ParseMode
Content copied to clipboard
Markdown
Link copied to clipboard
typealias Markdown = MarkdownParseMode
Content copied to clipboard
MarkdownParseMode
Link copied to clipboard
object MarkdownParseMode : ParseMode
Content copied to clipboard
MarkdownV2
Link copied to clipboard
typealias MarkdownV2 = MarkdownV2ParseMode
Content copied to clipboard
MarkdownV2ParseMode
Link copied to clipboard
object MarkdownV2ParseMode : ParseMode
Content copied to clipboard
ParseMode
Link copied to clipboard
interface ParseMode
Content copied to clipboard
ParseModeSerializer
Link copied to clipboard
object ParseModeSerializer : KSerializer< ParseMode >
Content copied to clipboard
PassportMessage
Link copied to clipboard
data class PassportMessage ( val messageId: MessageIdentifier , val chat: Chat , val from: User , val date: DateTime, val passportData: PassportData ) : Message, FromUserMessage
Content copied to clipboard
PrivateContentMessageImpl
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 >
Content copied to clipboard
PrivateEventMessage
Link copied to clipboard
data class PrivateEventMessage < T : PrivateEvent >( val messageId: MessageIdentifier , val chat: PrivateChat , val chatEvent: T , val date: DateTime) : ChatEventMessage < T >
Content copied to clipboard
UnconnectedFromChannelGroupContentMessageImpl
Link copied to clipboard
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 >
Content copied to clipboard
UserForwardInfo
Link copied to clipboard
data class UserForwardInfo (val dateOfOriginal: TelegramDate , val from: User ) : ForwardInfo, FromUser
Content copied to clipboard

## Properties

defaultParseMode
Link copied to clipboard
var defaultParseMode : ParseMode
Content copied to clipboard

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