1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-23 10:38:43 +00:00
tgbotapi/docs/dev.inmo.tgbotapi.types.message/index.md
2021-03-17 15:18:37 +00:00

18 KiB

//docs/dev.inmo.tgbotapi.types.message

Package dev.inmo.tgbotapi.types.message

Types

Name Summary
AnonymousForwardInfo [common]
Content
data class AnonymousForwardInfo(dateOfOriginal: TelegramDate, senderName: String) : ForwardInfo


AnonymousGroupContentMessageImpl [common]
Content
data class AnonymousGroupContentMessageImpl<T : MessageContent>(chat: GroupChat, messageId: MessageIdentifier, date: , forwardInfo: ForwardInfo?, editDate: ?, replyTo: Message?, replyMarkup: InlineKeyboardMarkup?, content: T, senderBot: CommonBot?, authorSignature: AuthorSignature?) : AnonymousGroupContentMessage<T>


ChannelContentMessageImpl [common]
Content
data class ChannelContentMessageImpl<T : MessageContent>(messageId: MessageIdentifier, chat: ChannelChat, content: T, date: , editDate: ?, forwardInfo: ForwardInfo?, replyTo: Message?, replyMarkup: InlineKeyboardMarkup?, senderBot: CommonBot?, authorSignature: AuthorSignature?) : ChannelContentMessage<T>


ChannelEventMessage [common]
Content
data class ChannelEventMessage<T : ChannelEvent>(messageId: MessageIdentifier, chat: ChannelChat, chatEvent: T, date: ) : ChatEventMessage<T>


ChannelMediaGroupMessage [common]
Content
data class ChannelMediaGroupMessage<T : MediaGroupContent>(messageId: MessageIdentifier, chat: Chat, date: , mediaGroupId: MediaGroupIdentifier, content: T, editDate: ?, forwardInfo: ForwardInfo?, replyTo: Message?, replyMarkup: InlineKeyboardMarkup?) : MediaGroupMessage<T>


CommonGroupContentMessageImpl [common]
Content
data class CommonGroupContentMessageImpl<T : MessageContent>(chat: GroupChat, messageId: MessageIdentifier, user: User, date: , forwardInfo: ForwardInfo?, editDate: ?, replyTo: Message?, replyMarkup: InlineKeyboardMarkup?, content: T, senderBot: CommonBot?) : CommonGroupContentMessage<T>


CommonGroupEventMessage [common]
Content
data class CommonGroupEventMessage<T : GroupEvent>(messageId: MessageIdentifier, user: User, chat: GroupChat, chatEvent: T, date: ) : GroupEventMessage<T>


CommonMediaGroupMessage [common]
Content
data class CommonMediaGroupMessage<T : MediaGroupContent>(messageId: MessageIdentifier, user: User, chat: Chat, date: , mediaGroupId: MediaGroupIdentifier, content: T, editDate: ?, forwardInfo: ForwardInfo?, replyTo: Message?, replyMarkup: InlineKeyboardMarkup?) : MediaGroupMessage<T> , FromUserMessage


CommonSupergroupEventMessage [common]
Content
data class CommonSupergroupEventMessage<T : SupergroupEvent>(messageId: MessageIdentifier, user: User, chat: SupergroupChat, chatEvent: T, date: ) : SupergroupEventMessage<T>


ForwardFromChannelInfo [common]
Content
data class ForwardFromChannelInfo(dateOfOriginal: TelegramDate, messageId: MessageIdentifier, channelChat: ChannelChat, signature: String?) : ForwardInfo


ForwardFromSupergroupInfo [common]
Content
data class ForwardFromSupergroupInfo(dateOfOriginal: TelegramDate, group: SupergroupChat) : ForwardInfo


ForwardInfo [common]
Content
sealed class ForwardInfo


FromChannelGroupContentMessageImpl [common]
Content
data class FromChannelGroupContentMessageImpl<T : MessageContent>(chat: GroupChat, channel: ChannelChat, messageId: MessageIdentifier, date: , forwardInfo: ForwardInfo?, editDate: ?, replyTo: Message?, replyMarkup: InlineKeyboardMarkup?, content: T, senderBot: CommonBot?, authorSignature: AuthorSignature?) : FromChannelGroupContentMessage<T>


PassportMessage [common]
Content
data class PassportMessage(messageId: MessageIdentifier, chat: Chat, user: User, date: , passportData: PassportData) : Message, FromUserMessage


PrivateContentMessageImpl [common]
Content
data class PrivateContentMessageImpl<T : MessageContent>(messageId: MessageIdentifier, user: User, chat: Chat, content: T, date: , editDate: ?, forwardInfo: ForwardInfo?, replyTo: Message?, replyMarkup: InlineKeyboardMarkup?, senderBot: CommonBot?, paymentInfo: SuccessfulPaymentInfo?) : PrivateContentMessage<T>


UserForwardInfo [common]
Content
data class UserForwardInfo(dateOfOriginal: TelegramDate, from: User) : ForwardInfo