Package-level declarations

Types

Link copied to clipboard
data class AnonymousForumContentMessageImpl<T : MessageContent>(val chat: PreviewForumChat, val messageId: MessageId, val threadId: MessageThreadId, val date: DateTime, val forwardOrigin: MessageOrigin?, val editDate: DateTime?, val hasProtectedContent: Boolean, val replyInfo: ReplyInfo?, val replyMarkup: InlineKeyboardMarkup?, val content: T, val senderBot: CommonBot?, val authorSignature: AuthorSignature?, val mediaGroupId: MediaGroupId?, val fromOffline: Boolean) : AnonymousForumContentMessage<T>
Link copied to clipboard
data class AnonymousGroupContentMessageImpl<T : MessageContent>(val chat: PreviewGroupChat, val messageId: MessageId, val date: DateTime, val forwardOrigin: MessageOrigin?, val editDate: DateTime?, val hasProtectedContent: Boolean, val replyInfo: ReplyInfo?, val replyMarkup: InlineKeyboardMarkup?, val content: T, val senderBot: CommonBot?, val authorSignature: AuthorSignature?, val mediaGroupId: MediaGroupId?, val fromOffline: Boolean) : AnonymousGroupContentMessage<T>
Link copied to clipboard
data class BusinessContentMessageImpl<T : MessageContent>(val messageId: MessageId, val from: User, val chat: PreviewBusinessChat, val businessConnectionId: BusinessConnectionId, val content: T, val date: DateTime, val editDate: DateTime?, val hasProtectedContent: Boolean, val forwardOrigin: MessageOrigin?, val replyInfo: ReplyInfo?, val replyMarkup: InlineKeyboardMarkup?, val senderBot: CommonBot?, val mediaGroupId: MediaGroupId?, val senderBusinessBot: PreviewBot?, val fromOffline: Boolean) : BusinessContentMessage<T>
Link copied to clipboard
data class ChannelContentMessageImpl<T : MessageContent>(val messageId: MessageId, val chat: PreviewChannelChat, val content: T, val date: DateTime, val editDate: DateTime?, val hasProtectedContent: Boolean, val forwardOrigin: MessageOrigin?, val replyInfo: ReplyInfo?, val replyMarkup: InlineKeyboardMarkup?, val senderBot: CommonBot?, val authorSignature: AuthorSignature?, val mediaGroupId: MediaGroupId?, val fromOffline: Boolean) : ChannelContentMessage<T>
Link copied to clipboard
data class ChannelEventMessage<T : ChannelEvent>(val messageId: MessageId, val chat: PreviewChannelChat, val chatEvent: T, val date: DateTime) : ChatEventMessage<T>
Link copied to clipboard
data class CommonForumContentMessageImpl<T : MessageContent>(val chat: PreviewForumChat, val messageId: MessageId, val threadId: MessageThreadId, val from: User, val date: DateTime, val forwardOrigin: MessageOrigin?, val editDate: DateTime?, val hasProtectedContent: Boolean, val replyInfo: ReplyInfo?, val replyMarkup: InlineKeyboardMarkup?, val content: T, val senderBot: CommonBot?, val mediaGroupId: MediaGroupId?, val senderBoostsCount: Int?, val fromOffline: Boolean) : CommonForumContentMessage<T>
Link copied to clipboard
data class CommonGroupContentMessageImpl<T : MessageContent>(val chat: PreviewGroupChat, val messageId: MessageId, val from: User, val date: DateTime, val forwardOrigin: MessageOrigin?, val editDate: DateTime?, val hasProtectedContent: Boolean, val replyInfo: ReplyInfo?, val replyMarkup: InlineKeyboardMarkup?, val content: T, val senderBot: CommonBot?, val mediaGroupId: MediaGroupId?, val senderBoostsCount: Int?, val fromOffline: Boolean) : CommonGroupContentMessage<T>
Link copied to clipboard
data class CommonGroupEventMessage<T : GroupEvent>(val messageId: MessageId, val from: User, val chat: PreviewGroupChat, val chatEvent: T, val date: DateTime) : GroupEventMessage<T>
Link copied to clipboard
data class CommonSupergroupEventMessage<T : SupergroupEvent>(val messageId: MessageId, val from: User, val chat: PreviewSupergroupChat, val chatEvent: T, val date: DateTime) : SupergroupEventMessage<T>
data class ConnectedFromChannelGroupContentMessageImpl<T : MessageContent>(val chat: PreviewGroupChat, val channel: PreviewChannelChat, val messageId: MessageId, val date: DateTime, val forwardOrigin: MessageOrigin?, val editDate: DateTime?, val hasProtectedContent: Boolean, val replyInfo: ReplyInfo?, val replyMarkup: InlineKeyboardMarkup?, val content: T, val senderBot: CommonBot?, val authorSignature: AuthorSignature?, val mediaGroupId: MediaGroupId?, val fromOffline: Boolean) : ConnectedFromChannelGroupContentMessage<T>
Link copied to clipboard
sealed interface ForwardInfo
Link copied to clipboard
data class FromChannelForumContentMessageImpl<T : MessageContent>(val chat: PreviewForumChat, val channel: PreviewChannelChat, val messageId: MessageId, val threadId: MessageThreadId, val date: DateTime, val forwardOrigin: MessageOrigin?, val editDate: DateTime?, val hasProtectedContent: Boolean, val replyInfo: ReplyInfo?, val replyMarkup: InlineKeyboardMarkup?, val content: T, val senderBot: CommonBot?, val authorSignature: AuthorSignature?, val mediaGroupId: MediaGroupId?, val fromOffline: Boolean) : FromChannelForumContentMessage<T>
Link copied to clipboard
typealias HTML = HTMLParseMode
Link copied to clipboard
@Serializable(with = ParseModeSerializer::class)
object HTMLParseMode : ParseMode
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Serializable(with = MessageOrigin.Companion::class)
sealed interface MessageOrigin
Link copied to clipboard
@Serializable(with = ParseModeSerializer::class)
sealed interface ParseMode
Link copied to clipboard
object ParseModeSerializer : KSerializer<ParseMode>
Link copied to clipboard
data class PassportMessage(val messageId: MessageId, val chat: PreviewChat, val from: User, val date: DateTime, val passportData: PassportData) : AccessibleMessage, FromUserMessage
Link copied to clipboard
data class PrivateContentMessageImpl<T : MessageContent>(val messageId: MessageId, val from: User, val chat: PreviewPrivateChat, val content: T, val date: DateTime, val editDate: DateTime?, val hasProtectedContent: Boolean, val forwardOrigin: MessageOrigin?, val replyInfo: ReplyInfo?, val replyMarkup: InlineKeyboardMarkup?, val senderBot: CommonBot?, val mediaGroupId: MediaGroupId?, val fromOffline: Boolean) : PrivateContentMessage<T>
Link copied to clipboard
data class PrivateEventMessage<T : PrivateEvent>(val messageId: MessageId, val chat: PreviewPrivateChat, val chatEvent: T, val date: DateTime) : ChatEventMessage<T>
data class UnconnectedFromChannelGroupContentMessageImpl<T : MessageContent>(val chat: PreviewGroupChat, val channel: PreviewChannelChat, val messageId: MessageId, val date: DateTime, val forwardOrigin: MessageOrigin?, val editDate: DateTime?, val hasProtectedContent: Boolean, val replyInfo: ReplyInfo?, val replyMarkup: InlineKeyboardMarkup?, val content: T, val senderBot: CommonBot?, val authorSignature: AuthorSignature?, val mediaGroupId: MediaGroupId?, val fromOffline: Boolean) : UnconnectedFromChannelGroupContentMessage<T>

Properties

Link copied to clipboard

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

Functions

Link copied to clipboard
Link copied to clipboard