Package dev.inmo.tgbotapi.types.message

Types

AnonymousForwardInfo
Link copied to clipboard
common
data class AnonymousForwardInfo(dateOfOriginal: TelegramDate, senderName: String) : ForwardInfo
AnonymousGroupContentMessageImpl
Link copied to clipboard
common
data class AnonymousGroupContentMessageImpl<T : MessageContent>(chat: GroupChat, messageId: MessageIdentifier, date: DateTime, forwardInfo: ForwardInfo?, editDate: DateTime?, replyTo: Message?, replyMarkup: InlineKeyboardMarkup?, content: T, senderBot: CommonBot?, authorSignature: AuthorSignature?) : AnonymousGroupContentMessage<T>
ChannelContentMessageImpl
Link copied to clipboard
common
data class ChannelContentMessageImpl<T : MessageContent>(messageId: MessageIdentifier, chat: ChannelChat, content: T, date: DateTime, editDate: DateTime?, forwardInfo: ForwardInfo?, replyTo: Message?, replyMarkup: InlineKeyboardMarkup?, senderBot: CommonBot?, authorSignature: AuthorSignature?) : ChannelContentMessage<T>
ChannelEventMessage
Link copied to clipboard
common
data class ChannelEventMessage<T : ChannelEvent>(messageId: MessageIdentifier, chat: ChannelChat, chatEvent: T, date: DateTime) : ChatEventMessage<T>
ChannelMediaGroupMessage
Link copied to clipboard
common
data class ChannelMediaGroupMessage<T : MediaGroupContent>(messageId: MessageIdentifier, chat: Chat, date: DateTime, mediaGroupId: MediaGroupIdentifier, content: T, editDate: DateTime?, forwardInfo: ForwardInfo?, replyTo: Message?, replyMarkup: InlineKeyboardMarkup?) : MediaGroupMessage<T>
CommonGroupContentMessageImpl
Link copied to clipboard
common
data class CommonGroupContentMessageImpl<T : MessageContent>(chat: GroupChat, messageId: MessageIdentifier, user: User, date: DateTime, forwardInfo: ForwardInfo?, editDate: DateTime?, replyTo: Message?, replyMarkup: InlineKeyboardMarkup?, content: T, senderBot: CommonBot?) : CommonGroupContentMessage<T>
CommonGroupEventMessage
Link copied to clipboard
common
data class CommonGroupEventMessage<T : GroupEvent>(messageId: MessageIdentifier, user: User, chat: GroupChat, chatEvent: T, date: DateTime) : GroupEventMessage<T>
CommonMediaGroupMessage
Link copied to clipboard
common
data class CommonMediaGroupMessage<T : MediaGroupContent>(messageId: MessageIdentifier, user: User, chat: Chat, date: DateTime, mediaGroupId: MediaGroupIdentifier, content: T, editDate: DateTime?, forwardInfo: ForwardInfo?, replyTo: Message?, replyMarkup: InlineKeyboardMarkup?) : MediaGroupMessage<T> , FromUserMessage
CommonSupergroupEventMessage
Link copied to clipboard
common
data class CommonSupergroupEventMessage<T : SupergroupEvent>(messageId: MessageIdentifier, user: User, chat: SupergroupChat, chatEvent: T, date: DateTime) : SupergroupEventMessage<T>
ForwardFromChannelInfo
Link copied to clipboard
common
data class ForwardFromChannelInfo(dateOfOriginal: TelegramDate, messageId: MessageIdentifier, 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
FromChannelGroupContentMessageImpl
Link copied to clipboard
common
data class FromChannelGroupContentMessageImpl<T : MessageContent>(chat: GroupChat, channel: ChannelChat, messageId: MessageIdentifier, date: DateTime, forwardInfo: ForwardInfo?, editDate: DateTime?, replyTo: Message?, replyMarkup: InlineKeyboardMarkup?, content: T, senderBot: CommonBot?, authorSignature: AuthorSignature?) : FromChannelGroupContentMessage<T>
PassportMessage
Link copied to clipboard
common
data class PassportMessage(messageId: MessageIdentifier, chat: Chat, user: User, date: DateTime, passportData: PassportData) : Message, FromUserMessage
PrivateContentMessageImpl
Link copied to clipboard
common
data class PrivateContentMessageImpl<T : MessageContent>(messageId: MessageIdentifier, user: User, chat: Chat, content: T, date: DateTime, editDate: DateTime?, forwardInfo: ForwardInfo?, replyTo: Message?, replyMarkup: InlineKeyboardMarkup?, senderBot: CommonBot?, paymentInfo: SuccessfulPaymentInfo?) : PrivateContentMessage<T>
UserForwardInfo
Link copied to clipboard
common
data class UserForwardInfo(dateOfOriginal: TelegramDate, from: User) : ForwardInfo