Package dev. inmo. tgbotapi. types. message
Types
Anonymous Forward Info
Link copied to clipboard
data class AnonymousForwardInfo(dateOfOriginal: TelegramDate, senderName: String) : ForwardInfo
Content copied to clipboard
Anonymous Group Content Message Impl
Link copied to clipboard
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>
Content copied to clipboard
Channel Content Message Impl
Link copied to clipboard
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>
Content copied to clipboard
Channel Event Message
Link copied to clipboard
data class ChannelEventMessage<T : ChannelEvent>(messageId: MessageIdentifier, chat: ChannelChat, chatEvent: T, date: DateTime) : ChatEventMessage<T>
Content copied to clipboard
Channel Media Group Message
Link copied to clipboard
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>
Content copied to clipboard
Common Group Content Message Impl
Link copied to clipboard
data class CommonGroupContentMessageImpl<T : MessageContent>(chat: GroupChat, messageId: MessageIdentifier, from: User, date: DateTime, forwardInfo: ForwardInfo?, editDate: DateTime?, replyTo: Message?, replyMarkup: InlineKeyboardMarkup?, content: T, senderBot: CommonBot?) : CommonGroupContentMessage<T>
Content copied to clipboard
Common Group Event Message
Link copied to clipboard
data class CommonGroupEventMessage<T : GroupEvent>(messageId: MessageIdentifier, from: User, chat: GroupChat, chatEvent: T, date: DateTime) : GroupEventMessage<T>
Content copied to clipboard
Common Media Group Message
Link copied to clipboard
data class CommonMediaGroupMessage<T : MediaGroupContent>(messageId: MessageIdentifier, from: User, chat: Chat, date: DateTime, mediaGroupId: MediaGroupIdentifier, content: T, editDate: DateTime?, forwardInfo: ForwardInfo?, replyTo: Message?, replyMarkup: InlineKeyboardMarkup?) : MediaGroupMessage<T> , FromUserMessage
Content copied to clipboard
Common Supergroup Event Message
Link copied to clipboard
data class CommonSupergroupEventMessage<T : SupergroupEvent>(messageId: MessageIdentifier, from: User, chat: SupergroupChat, chatEvent: T, date: DateTime) : SupergroupEventMessage<T>
Content copied to clipboard
Forward From Channel Info
Link copied to clipboard
data class ForwardFromChannelInfo(dateOfOriginal: TelegramDate, messageId: MessageIdentifier, channelChat: ChannelChat, signature: String?) : ForwardInfo
Content copied to clipboard
Forward From Supergroup Info
Link copied to clipboard
data class ForwardFromSupergroupInfo(dateOfOriginal: TelegramDate, group: SupergroupChat) : ForwardInfo
Content copied to clipboard
Forward Info
Link copied to clipboard
sealed class ForwardInfo
Content copied to clipboard
From Channel Group Content Message Impl
Link copied to clipboard
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>
Content copied to clipboard
Passport Message
Link copied to clipboard
data class PassportMessage(messageId: MessageIdentifier, chat: Chat, from: User, date: DateTime, passportData: PassportData) : Message, FromUserMessage
Content copied to clipboard
Private Content Message Impl
Link copied to clipboard
data class PrivateContentMessageImpl<T : MessageContent>(messageId: MessageIdentifier, from: User, chat: Chat, content: T, date: DateTime, editDate: DateTime?, forwardInfo: ForwardInfo?, replyTo: Message?, replyMarkup: InlineKeyboardMarkup?, senderBot: CommonBot?) : PrivateContentMessage<T>
Content copied to clipboard
Private Event Message
Link copied to clipboard
data class PrivateEventMessage<T : PrivateEvent>(messageId: MessageIdentifier, chat: PrivateChat, chatEvent: T, date: DateTime) : ChatEventMessage<T>
Content copied to clipboard
User Forward Info
Link copied to clipboard
data class UserForwardInfo(dateOfOriginal: TelegramDate, from: User) : ForwardInfo, FromUser
Content copied to clipboard