Package dev. inmo. tgbotapi. types. message
Types
Link copied to clipboard
data class AnonymousGroupContentMessageImpl<T : MessageContent>( val chat: GroupChat, val messageId: MessageId, val date: DateTime, val forwardInfo: ForwardInfo?, val editDate: DateTime?, val hasProtectedContent: Boolean, val replyTo: Message?, val replyMarkup: InlineKeyboardMarkup?, val content: T, val senderBot: CommonBot?, val authorSignature: AuthorSignature?) : AnonymousGroupContentMessage<T>
Content copied to clipboard
Link copied to clipboard
data class ChannelContentMessageImpl<T : MessageContent>( val messageId: MessageId, val chat: ChannelChat, val content: T, val date: DateTime, val editDate: DateTime?, val hasProtectedContent: Boolean, val forwardInfo: ForwardInfo?, val replyTo: Message?, val replyMarkup: InlineKeyboardMarkup?, val senderBot: CommonBot?, val authorSignature: AuthorSignature?) : ChannelContentMessage<T>
Content copied to clipboard
Link copied to clipboard
data class ChannelEventMessage<T : ChannelEvent>( val messageId: MessageId, val chat: ChannelChat, val chatEvent: T, val date: DateTime) : ChatEventMessage<T>
Content copied to clipboard
Link copied to clipboard
data class ChannelMediaGroupMessage<T : MediaGroupContent>( val messageId: MessageId, val chat: Chat, val date: DateTime, val mediaGroupId: MediaGroupIdentifier, val content: T, val editDate: DateTime?, val hasProtectedContent: Boolean, val forwardInfo: ForwardInfo?, val replyTo: Message?, val replyMarkup: InlineKeyboardMarkup?) : MediaGroupMessage<T>
Content copied to clipboard
Link copied to clipboard
data class CommonGroupContentMessageImpl<T : MessageContent>( val chat: GroupChat, val messageId: MessageId, val from: User, val date: DateTime, val forwardInfo: ForwardInfo?, val editDate: DateTime?, val hasProtectedContent: Boolean, val replyTo: Message?, val replyMarkup: InlineKeyboardMarkup?, val content: T, val senderBot: CommonBot?) : CommonGroupContentMessage<T>
Content copied to clipboard
Link copied to clipboard
data class CommonGroupEventMessage<T : GroupEvent>( val messageId: MessageId, val from: User, val chat: GroupChat, val chatEvent: T, val date: DateTime) : GroupEventMessage<T>
Content copied to clipboard
Link copied to clipboard
data class CommonMediaGroupMessage<T : MediaGroupContent>( val messageId: MessageId, val from: User, val chat: Chat, val date: DateTime, val mediaGroupId: MediaGroupIdentifier, val content: T, val editDate: DateTime?, val hasProtectedContent: Boolean, val forwardInfo: ForwardInfo?, val replyTo: Message?, val replyMarkup: InlineKeyboardMarkup?) : MediaGroupMessage<T> , FromUserMessage
Content copied to clipboard
Link copied to clipboard
data class CommonSupergroupEventMessage<T : SupergroupEvent>( val messageId: MessageId, val from: User, val chat: SupergroupChat, val chatEvent: T, val date: DateTime) : SupergroupEventMessage<T>
Content copied to clipboard
Link copied to clipboard
data class ConnectedFromChannelGroupContentMessageImpl<T : MessageContent>( val chat: GroupChat, val channel: ChannelChat, val messageId: MessageId, val date: DateTime, val forwardInfo: ForwardInfo?, val editDate: DateTime?, val hasProtectedContent: Boolean, val replyTo: Message?, val replyMarkup: InlineKeyboardMarkup?, val content: T, val senderBot: CommonBot?, val authorSignature: AuthorSignature?) : ConnectedFromChannelGroupContentMessage<T>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class PassportMessage( val messageId: MessageId, val chat: Chat, val from: User, val date: DateTime, val passportData: PassportData) : Message, FromUserMessage
Content copied to clipboard
Link copied to clipboard
data class PrivateContentMessageImpl<T : MessageContent>( val messageId: MessageId, val from: User, val chat: Chat, val content: T, val date: DateTime, val editDate: DateTime?, val hasProtectedContent: Boolean, val forwardInfo: ForwardInfo?, val replyTo: Message?, val replyMarkup: InlineKeyboardMarkup?, val senderBot: CommonBot?) : PrivateContentMessage<T>
Content copied to clipboard
Link copied to clipboard
data class PrivateEventMessage<T : PrivateEvent>( val messageId: MessageId, val chat: PrivateChat, val chatEvent: T, val date: DateTime) : ChatEventMessage<T>
Content copied to clipboard
Link copied to clipboard
data class UnconnectedFromChannelGroupContentMessageImpl<T : MessageContent>( val chat: GroupChat, val channel: ChannelChat, val messageId: MessageId, val date: DateTime, val forwardInfo: ForwardInfo?, val editDate: DateTime?, val hasProtectedContent: Boolean, val replyTo: Message?, val replyMarkup: InlineKeyboardMarkup?, val content: T, val senderBot: CommonBot?, val authorSignature: AuthorSignature?) : UnconnectedFromChannelGroupContentMessage<T>
Content copied to clipboard