Package dev.inmo.tgbotapi.types.message

Types

AnonymousForwardInfo
Link copied to clipboard
common
data class AnonymousForwardInfo(dateOfOriginal: TelegramDate, senderName: String) : ForwardInfo
AnonymousGroupMessageImpl
Link copied to clipboard
common
data class AnonymousGroupMessageImpl<T : MessageContent>(chat: GroupChat, messageId: Long, date: DateTime, forwardInfo: ForwardInfo?, editDate: DateTime?, replyTo: Message?, replyMarkup: InlineKeyboardMarkup?, content: T, senderBot: CommonBot?, authorSignature: String?) : AnonymousGroupMessage<T>
ChannelEventMessage
Link copied to clipboard
common
data class ChannelEventMessage<T : ChannelEvent>(messageId: Long, chat: ChannelChat, chatEvent: T, date: DateTime) : ChatEventMessage<T>
ChannelMediaGroupMessage
Link copied to clipboard
common
data class ChannelMediaGroupMessage(messageId: Long, chat: Chat, date: DateTime, mediaGroupId: String, content: MediaGroupContent, editDate: DateTime?, forwardInfo: ForwardInfo?, replyTo: Message?, replyMarkup: InlineKeyboardMarkup?) : MediaGroupMessage
ChannelMessage
Link copied to clipboard
common
typealias ChannelMessage<T> = ChannelMessageImpl<T>
ChannelMessageImpl
Link copied to clipboard
common
data class ChannelMessageImpl<T : MessageContent>(messageId: Long, chat: ChannelChat, content: T, date: DateTime, editDate: DateTime?, forwardInfo: ForwardInfo?, replyTo: Message?, replyMarkup: InlineKeyboardMarkup?, senderBot: CommonBot?, authorSignature: String?) : ChannelMessage<T>
CommonGroupEventMessage
Link copied to clipboard
common
data class CommonGroupEventMessage<T : GroupEvent>(messageId: Long, user: User, chat: GroupChat, chatEvent: T, date: DateTime) : GroupEventMessage<T>
CommonGroupMessageImpl
Link copied to clipboard
common
data class CommonGroupMessageImpl<T : MessageContent>(chat: GroupChat, messageId: Long, user: User, date: DateTime, forwardInfo: ForwardInfo?, editDate: DateTime?, replyTo: Message?, replyMarkup: InlineKeyboardMarkup?, content: T, senderBot: CommonBot?) : CommonGroupMessage<T>
CommonMediaGroupMessage
Link copied to clipboard
common
data class CommonMediaGroupMessage(messageId: Long, user: User, chat: Chat, date: DateTime, mediaGroupId: String, content: MediaGroupContent, editDate: DateTime?, forwardInfo: ForwardInfo?, replyTo: Message?, replyMarkup: InlineKeyboardMarkup?) : MediaGroupMessage, FromUserMessage
CommonMessageImpl
Link copied to clipboard
common
typealias CommonMessageImpl<T> = PrivateMessageImpl<T>
CommonSupergroupEventMessage
Link copied to clipboard
common
data class CommonSupergroupEventMessage<T : SupergroupEvent>(messageId: Long, user: User, chat: SupergroupChat, chatEvent: T, date: DateTime) : SupergroupEventMessage<T>
ForwardFromChannelInfo
Link copied to clipboard
common
data class ForwardFromChannelInfo(dateOfOriginal: TelegramDate, messageId: Long, channelChat: ChannelChat, signature: String?) : ForwardInfo
ForwardFromSupergroupInfo
Link copied to clipboard
common
data class ForwardFromSupergroupInfo(dateOfOriginal: TelegramDate, group: SupergroupChat) : ForwardInfo
ForwardInfo
Link copied to clipboard
common
sealed class ForwardInfo
FromChannelGroupMessageImpl
Link copied to clipboard
common
data class FromChannelGroupMessageImpl<T : MessageContent>(chat: GroupChat, channel: ChannelChat, messageId: Long, date: DateTime, forwardInfo: ForwardInfo?, editDate: DateTime?, replyTo: Message?, replyMarkup: InlineKeyboardMarkup?, content: T, senderBot: CommonBot?, authorSignature: String?) : FromChannelGroupMessage<T>
GroupEventMessage
Link copied to clipboard
common
typealias GroupEventMessage = CommonGroupEventMessage<*>
PrivateMessageImpl
Link copied to clipboard
common
data class PrivateMessageImpl<T : MessageContent>(messageId: Long, user: User, chat: Chat, content: T, date: DateTime, editDate: DateTime?, forwardInfo: ForwardInfo?, replyTo: Message?, replyMarkup: InlineKeyboardMarkup?, senderBot: CommonBot?, paymentInfo: SuccessfulPaymentInfo?) : PrivateMessage<T>
SupergroupEventMessage
Link copied to clipboard
common
typealias SupergroupEventMessage = CommonSupergroupEventMessage<*>
UserForwardInfo
Link copied to clipboard
common
data class UserForwardInfo(dateOfOriginal: TelegramDate, from: User) : ForwardInfo