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

29 lines
18 KiB
Markdown
Raw Normal View History

//[docs](../../index.md)/[dev.inmo.tgbotapi.types.message](index.md)
# Package dev.inmo.tgbotapi.types.message
## Types
| Name | Summary |
|---|---|
| <a name="dev.inmo.tgbotapi.types.message/AnonymousForwardInfo///PointingToDeclaration/"></a>[AnonymousForwardInfo](-anonymous-forward-info/index.md)| <a name="dev.inmo.tgbotapi.types.message/AnonymousForwardInfo///PointingToDeclaration/"></a>[common] <br>Content <br>data class [AnonymousForwardInfo](-anonymous-forward-info/index.md)(**dateOfOriginal**: [TelegramDate](../dev.inmo.tgbotapi.types/-telegram-date/index.md), **senderName**: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)) : [ForwardInfo](-forward-info/index.md) <br><br><br>|
| <a name="dev.inmo.tgbotapi.types.message/AnonymousGroupContentMessageImpl///PointingToDeclaration/"></a>[AnonymousGroupContentMessageImpl](-anonymous-group-content-message-impl/index.md)| <a name="dev.inmo.tgbotapi.types.message/AnonymousGroupContentMessageImpl///PointingToDeclaration/"></a>[common] <br>Content <br>data class [AnonymousGroupContentMessageImpl](-anonymous-group-content-message-impl/index.md)<[T](-anonymous-group-content-message-impl/index.md) : [MessageContent](../dev.inmo.tgbotapi.types.message.content.abstracts/-message-content/index.md)>(**chat**: [GroupChat](../dev.inmo.tgbotapi.types.chat.abstracts/-group-chat/index.md), **messageId**: [MessageIdentifier](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FMessageIdentifier%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081), **date**: , **forwardInfo**: [ForwardInfo](-forward-info/index.md)?, **editDate**: ?, **replyTo**: [Message](../dev.inmo.tgbotapi.types.message.abstracts/-message/index.md)?, **replyMarkup**: [InlineKeyboardMarkup](../dev.inmo.tgbotapi.types.buttons/-inline-keyboard-markup/index.md)?, **content**: [T](-anonymous-group-content-message-impl/index.md), **senderBot**: [CommonBot](../dev.inmo.tgbotapi.types/-common-bot/index.md)?, **authorSignature**: [AuthorSignature](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FAuthorSignature%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081)?) : [AnonymousGroupContentMessage](../dev.inmo.tgbotapi.types.message.abstracts/-anonymous-group-content-message/index.md)<[T](-anonymous-group-content-message-impl/index.md)> <br><br><br>|
| <a name="dev.inmo.tgbotapi.types.message/ChannelContentMessageImpl///PointingToDeclaration/"></a>[ChannelContentMessageImpl](-channel-content-message-impl/index.md)| <a name="dev.inmo.tgbotapi.types.message/ChannelContentMessageImpl///PointingToDeclaration/"></a>[common] <br>Content <br>data class [ChannelContentMessageImpl](-channel-content-message-impl/index.md)<[T](-channel-content-message-impl/index.md) : [MessageContent](../dev.inmo.tgbotapi.types.message.content.abstracts/-message-content/index.md)>(**messageId**: [MessageIdentifier](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FMessageIdentifier%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081), **chat**: [ChannelChat](../dev.inmo.tgbotapi.types.chat.abstracts/-channel-chat/index.md), **content**: [T](-channel-content-message-impl/index.md), **date**: , **editDate**: ?, **forwardInfo**: [ForwardInfo](-forward-info/index.md)?, **replyTo**: [Message](../dev.inmo.tgbotapi.types.message.abstracts/-message/index.md)?, **replyMarkup**: [InlineKeyboardMarkup](../dev.inmo.tgbotapi.types.buttons/-inline-keyboard-markup/index.md)?, **senderBot**: [CommonBot](../dev.inmo.tgbotapi.types/-common-bot/index.md)?, **authorSignature**: [AuthorSignature](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FAuthorSignature%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081)?) : [ChannelContentMessage](../dev.inmo.tgbotapi.types.message.abstracts/-channel-content-message/index.md)<[T](-channel-content-message-impl/index.md)> <br><br><br>|
| <a name="dev.inmo.tgbotapi.types.message/ChannelEventMessage///PointingToDeclaration/"></a>[ChannelEventMessage](-channel-event-message/index.md)| <a name="dev.inmo.tgbotapi.types.message/ChannelEventMessage///PointingToDeclaration/"></a>[common] <br>Content <br>data class [ChannelEventMessage](-channel-event-message/index.md)<[T](-channel-event-message/index.md) : [ChannelEvent](../dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/-channel-event/index.md)>(**messageId**: [MessageIdentifier](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FMessageIdentifier%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081), **chat**: [ChannelChat](../dev.inmo.tgbotapi.types.chat.abstracts/-channel-chat/index.md), **chatEvent**: [T](-channel-event-message/index.md), **date**: ) : [ChatEventMessage](../dev.inmo.tgbotapi.types.message.abstracts/-chat-event-message/index.md)<[T](-channel-event-message/index.md)> <br><br><br>|
| <a name="dev.inmo.tgbotapi.types.message/ChannelMediaGroupMessage///PointingToDeclaration/"></a>[ChannelMediaGroupMessage](-channel-media-group-message/index.md)| <a name="dev.inmo.tgbotapi.types.message/ChannelMediaGroupMessage///PointingToDeclaration/"></a>[common] <br>Content <br>data class [ChannelMediaGroupMessage](-channel-media-group-message/index.md)<[T](-channel-media-group-message/index.md) : [MediaGroupContent](../dev.inmo.tgbotapi.types.message.content.abstracts/-media-group-content/index.md)>(**messageId**: [MessageIdentifier](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FMessageIdentifier%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081), **chat**: [Chat](../dev.inmo.tgbotapi.types.chat.abstracts/-chat/index.md), **date**: , **mediaGroupId**: [MediaGroupIdentifier](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FMediaGroupIdentifier%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081), **content**: [T](-channel-media-group-message/index.md), **editDate**: ?, **forwardInfo**: [ForwardInfo](-forward-info/index.md)?, **replyTo**: [Message](../dev.inmo.tgbotapi.types.message.abstracts/-message/index.md)?, **replyMarkup**: [InlineKeyboardMarkup](../dev.inmo.tgbotapi.types.buttons/-inline-keyboard-markup/index.md)?) : [MediaGroupMessage](../dev.inmo.tgbotapi.types.message.abstracts/-media-group-message/index.md)<[T](-channel-media-group-message/index.md)> <br><br><br>|
| <a name="dev.inmo.tgbotapi.types.message/CommonGroupContentMessageImpl///PointingToDeclaration/"></a>[CommonGroupContentMessageImpl](-common-group-content-message-impl/index.md)| <a name="dev.inmo.tgbotapi.types.message/CommonGroupContentMessageImpl///PointingToDeclaration/"></a>[common] <br>Content <br>data class [CommonGroupContentMessageImpl](-common-group-content-message-impl/index.md)<[T](-common-group-content-message-impl/index.md) : [MessageContent](../dev.inmo.tgbotapi.types.message.content.abstracts/-message-content/index.md)>(**chat**: [GroupChat](../dev.inmo.tgbotapi.types.chat.abstracts/-group-chat/index.md), **messageId**: [MessageIdentifier](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FMessageIdentifier%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081), **user**: [User](../dev.inmo.tgbotapi.types/-user/index.md), **date**: , **forwardInfo**: [ForwardInfo](-forward-info/index.md)?, **editDate**: ?, **replyTo**: [Message](../dev.inmo.tgbotapi.types.message.abstracts/-message/index.md)?, **replyMarkup**: [InlineKeyboardMarkup](../dev.inmo.tgbotapi.types.buttons/-inline-keyboard-markup/index.md)?, **content**: [T](-common-group-content-message-impl/index.md), **senderBot**: [CommonBot](../dev.inmo.tgbotapi.types/-common-bot/index.md)?) : [CommonGroupContentMessage](../dev.inmo.tgbotapi.types.message.abstracts/-common-group-content-message/index.md)<[T](-common-group-content-message-impl/index.md)> <br><br><br>|
| <a name="dev.inmo.tgbotapi.types.message/CommonGroupEventMessage///PointingToDeclaration/"></a>[CommonGroupEventMessage](-common-group-event-message/index.md)| <a name="dev.inmo.tgbotapi.types.message/CommonGroupEventMessage///PointingToDeclaration/"></a>[common] <br>Content <br>data class [CommonGroupEventMessage](-common-group-event-message/index.md)<[T](-common-group-event-message/index.md) : [GroupEvent](../dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/-group-event/index.md)>(**messageId**: [MessageIdentifier](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FMessageIdentifier%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081), **user**: [User](../dev.inmo.tgbotapi.types/-user/index.md), **chat**: [GroupChat](../dev.inmo.tgbotapi.types.chat.abstracts/-group-chat/index.md), **chatEvent**: [T](-common-group-event-message/index.md), **date**: ) : [GroupEventMessage](../dev.inmo.tgbotapi.types.message.abstracts/-group-event-message/index.md)<[T](-common-group-event-message/index.md)> <br><br><br>|
| <a name="dev.inmo.tgbotapi.types.message/CommonMediaGroupMessage///PointingToDeclaration/"></a>[CommonMediaGroupMessage](-common-media-group-message/index.md)| <a name="dev.inmo.tgbotapi.types.message/CommonMediaGroupMessage///PointingToDeclaration/"></a>[common] <br>Content <br>data class [CommonMediaGroupMessage](-common-media-group-message/index.md)<[T](-common-media-group-message/index.md) : [MediaGroupContent](../dev.inmo.tgbotapi.types.message.content.abstracts/-media-group-content/index.md)>(**messageId**: [MessageIdentifier](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FMessageIdentifier%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081), **user**: [User](../dev.inmo.tgbotapi.types/-user/index.md), **chat**: [Chat](../dev.inmo.tgbotapi.types.chat.abstracts/-chat/index.md), **date**: , **mediaGroupId**: [MediaGroupIdentifier](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FMediaGroupIdentifier%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081), **content**: [T](-common-media-group-message/index.md), **editDate**: ?, **forwardInfo**: [ForwardInfo](-forward-info/index.md)?, **replyTo**: [Message](../dev.inmo.tgbotapi.types.message.abstracts/-message/index.md)?, **replyMarkup**: [InlineKeyboardMarkup](../dev.inmo.tgbotapi.types.buttons/-inline-keyboard-markup/index.md)?) : [MediaGroupMessage](../dev.inmo.tgbotapi.types.message.abstracts/-media-group-message/index.md)<[T](-common-media-group-message/index.md)> , [FromUserMessage](../dev.inmo.tgbotapi.types.message.abstracts/-from-user-message/index.md) <br><br><br>|
| <a name="dev.inmo.tgbotapi.types.message/CommonSupergroupEventMessage///PointingToDeclaration/"></a>[CommonSupergroupEventMessage](-common-supergroup-event-message/index.md)| <a name="dev.inmo.tgbotapi.types.message/CommonSupergroupEventMessage///PointingToDeclaration/"></a>[common] <br>Content <br>data class [CommonSupergroupEventMessage](-common-supergroup-event-message/index.md)<[T](-common-supergroup-event-message/index.md) : [SupergroupEvent](../dev.inmo.tgbotapi.types.message.ChatEvents.abstracts/-supergroup-event/index.md)>(**messageId**: [MessageIdentifier](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FMessageIdentifier%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081), **user**: [User](../dev.inmo.tgbotapi.types/-user/index.md), **chat**: [SupergroupChat](../dev.inmo.tgbotapi.types.chat.abstracts/-supergroup-chat/index.md), **chatEvent**: [T](-common-supergroup-event-message/index.md), **date**: ) : [SupergroupEventMessage](../dev.inmo.tgbotapi.types.message.abstracts/-supergroup-event-message/index.md)<[T](-common-supergroup-event-message/index.md)> <br><br><br>|
| <a name="dev.inmo.tgbotapi.types.message/ForwardFromChannelInfo///PointingToDeclaration/"></a>[ForwardFromChannelInfo](-forward-from-channel-info/index.md)| <a name="dev.inmo.tgbotapi.types.message/ForwardFromChannelInfo///PointingToDeclaration/"></a>[common] <br>Content <br>data class [ForwardFromChannelInfo](-forward-from-channel-info/index.md)(**dateOfOriginal**: [TelegramDate](../dev.inmo.tgbotapi.types/-telegram-date/index.md), **messageId**: [MessageIdentifier](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FMessageIdentifier%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081), **channelChat**: [ChannelChat](../dev.inmo.tgbotapi.types.chat.abstracts/-channel-chat/index.md), **signature**: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)?) : [ForwardInfo](-forward-info/index.md) <br><br><br>|
| <a name="dev.inmo.tgbotapi.types.message/ForwardFromSupergroupInfo///PointingToDeclaration/"></a>[ForwardFromSupergroupInfo](-forward-from-supergroup-info/index.md)| <a name="dev.inmo.tgbotapi.types.message/ForwardFromSupergroupInfo///PointingToDeclaration/"></a>[common] <br>Content <br>data class [ForwardFromSupergroupInfo](-forward-from-supergroup-info/index.md)(**dateOfOriginal**: [TelegramDate](../dev.inmo.tgbotapi.types/-telegram-date/index.md), **group**: [SupergroupChat](../dev.inmo.tgbotapi.types.chat.abstracts/-supergroup-chat/index.md)) : [ForwardInfo](-forward-info/index.md) <br><br><br>|
| <a name="dev.inmo.tgbotapi.types.message/ForwardInfo///PointingToDeclaration/"></a>[ForwardInfo](-forward-info/index.md)| <a name="dev.inmo.tgbotapi.types.message/ForwardInfo///PointingToDeclaration/"></a>[common] <br>Content <br>sealed class [ForwardInfo](-forward-info/index.md) <br><br><br>|
| <a name="dev.inmo.tgbotapi.types.message/FromChannelGroupContentMessageImpl///PointingToDeclaration/"></a>[FromChannelGroupContentMessageImpl](-from-channel-group-content-message-impl/index.md)| <a name="dev.inmo.tgbotapi.types.message/FromChannelGroupContentMessageImpl///PointingToDeclaration/"></a>[common] <br>Content <br>data class [FromChannelGroupContentMessageImpl](-from-channel-group-content-message-impl/index.md)<[T](-from-channel-group-content-message-impl/index.md) : [MessageContent](../dev.inmo.tgbotapi.types.message.content.abstracts/-message-content/index.md)>(**chat**: [GroupChat](../dev.inmo.tgbotapi.types.chat.abstracts/-group-chat/index.md), **channel**: [ChannelChat](../dev.inmo.tgbotapi.types.chat.abstracts/-channel-chat/index.md), **messageId**: [MessageIdentifier](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FMessageIdentifier%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081), **date**: , **forwardInfo**: [ForwardInfo](-forward-info/index.md)?, **editDate**: ?, **replyTo**: [Message](../dev.inmo.tgbotapi.types.message.abstracts/-message/index.md)?, **replyMarkup**: [InlineKeyboardMarkup](../dev.inmo.tgbotapi.types.buttons/-inline-keyboard-markup/index.md)?, **content**: [T](-from-channel-group-content-message-impl/index.md), **senderBot**: [CommonBot](../dev.inmo.tgbotapi.types/-common-bot/index.md)?, **authorSignature**: [AuthorSignature](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FAuthorSignature%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081)?) : [FromChannelGroupContentMessage](../dev.inmo.tgbotapi.types.message.abstracts/-from-channel-group-content-message/index.md)<[T](-from-channel-group-content-message-impl/index.md)> <br><br><br>|
| <a name="dev.inmo.tgbotapi.types.message/PassportMessage///PointingToDeclaration/"></a>[PassportMessage](-passport-message/index.md)| <a name="dev.inmo.tgbotapi.types.message/PassportMessage///PointingToDeclaration/"></a>[common] <br>Content <br>data class [PassportMessage](-passport-message/index.md)(**messageId**: [MessageIdentifier](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FMessageIdentifier%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081), **chat**: [Chat](../dev.inmo.tgbotapi.types.chat.abstracts/-chat/index.md), **user**: [User](../dev.inmo.tgbotapi.types/-user/index.md), **date**: , **passportData**: [PassportData](../dev.inmo.tgbotapi.types.passport/-passport-data/index.md)) : [Message](../dev.inmo.tgbotapi.types.message.abstracts/-message/index.md), [FromUserMessage](../dev.inmo.tgbotapi.types.message.abstracts/-from-user-message/index.md) <br><br><br>|
| <a name="dev.inmo.tgbotapi.types.message/PrivateContentMessageImpl///PointingToDeclaration/"></a>[PrivateContentMessageImpl](-private-content-message-impl/index.md)| <a name="dev.inmo.tgbotapi.types.message/PrivateContentMessageImpl///PointingToDeclaration/"></a>[common] <br>Content <br>data class [PrivateContentMessageImpl](-private-content-message-impl/index.md)<[T](-private-content-message-impl/index.md) : [MessageContent](../dev.inmo.tgbotapi.types.message.content.abstracts/-message-content/index.md)>(**messageId**: [MessageIdentifier](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FMessageIdentifier%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081), **user**: [User](../dev.inmo.tgbotapi.types/-user/index.md), **chat**: [Chat](../dev.inmo.tgbotapi.types.chat.abstracts/-chat/index.md), **content**: [T](-private-content-message-impl/index.md), **date**: , **editDate**: ?, **forwardInfo**: [ForwardInfo](-forward-info/index.md)?, **replyTo**: [Message](../dev.inmo.tgbotapi.types.message.abstracts/-message/index.md)?, **replyMarkup**: [InlineKeyboardMarkup](../dev.inmo.tgbotapi.types.buttons/-inline-keyboard-markup/index.md)?, **senderBot**: [CommonBot](../dev.inmo.tgbotapi.types/-common-bot/index.md)?, **paymentInfo**: [SuccessfulPaymentInfo](../dev.inmo.tgbotapi.types.message.payments/-successful-payment-info/index.md)?) : [PrivateContentMessage](../dev.inmo.tgbotapi.types.message.abstracts/-private-content-message/index.md)<[T](-private-content-message-impl/index.md)> <br><br><br>|
| <a name="dev.inmo.tgbotapi.types.message/UserForwardInfo///PointingToDeclaration/"></a>[UserForwardInfo](-user-forward-info/index.md)| <a name="dev.inmo.tgbotapi.types.message/UserForwardInfo///PointingToDeclaration/"></a>[common] <br>Content <br>data class [UserForwardInfo](-user-forward-info/index.md)(**dateOfOriginal**: [TelegramDate](../dev.inmo.tgbotapi.types/-telegram-date/index.md), **from**: [User](../dev.inmo.tgbotapi.types/-user/index.md)) : [ForwardInfo](-forward-info/index.md) <br><br><br>|