PrivateContentMessageImpl

data class PrivateContentMessageImpl<T : MessageContent>(val messageId: MessageId, val from: User, val chat: PreviewPrivateChat, val content: T, val date: DateTime, val editDate: DateTime?, val hasProtectedContent: Boolean, val forwardOrigin: MessageOrigin?, val replyInfo: ReplyInfo?, val replyMarkup: InlineKeyboardMarkup?, val senderBot: CommonBot?, val mediaGroupId: MediaGroupId?, val fromOffline: Boolean, val effectId: EffectId?) : PrivateContentMessage<T>

Constructors

Link copied to clipboard
constructor(messageId: MessageId, from: User, chat: PreviewPrivateChat, content: T, date: DateTime, editDate: DateTime?, hasProtectedContent: Boolean, forwardInfo: ForwardInfo, replyTo: AccessibleMessage?, replyMarkup: InlineKeyboardMarkup?, senderBot: CommonBot?, mediaGroupId: MediaGroupId?, fromOffline: Boolean, effectId: EffectId)
constructor(messageId: MessageId, from: User, chat: PreviewPrivateChat, content: T, date: DateTime, editDate: DateTime?, hasProtectedContent: Boolean, forwardOrigin: MessageOrigin?, replyInfo: ReplyInfo?, replyMarkup: InlineKeyboardMarkup?, senderBot: CommonBot?, mediaGroupId: MediaGroupId?, fromOffline: Boolean, effectId: EffectId?)

Properties

Link copied to clipboard
Link copied to clipboard
open override val chat: PreviewPrivateChat
Link copied to clipboard
open override val content: T
Link copied to clipboard
open override val date: DateTime
Link copied to clipboard
open override val editDate: DateTime?
Link copied to clipboard
open override val effectId: EffectId?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val forwardOrigin: MessageOrigin?
Link copied to clipboard
open override val from: User

The source User of this type

Link copied to clipboard
open override val fromOffline: Boolean
Link copied to clipboard
open override val hasProtectedContent: Boolean
Link copied to clipboard
open override val mediaGroupId: MediaGroupId?
Link copied to clipboard
open override val messageId: MessageId
Link copied to clipboard
Link copied to clipboard
open override val replyInfo: ReplyInfo?
Link copied to clipboard
open override val replyMarkup: InlineKeyboardMarkup?
Link copied to clipboard
open val replyTo: Message?
Link copied to clipboard
open override val senderBot: CommonBot?
Link copied to clipboard
Link copied to clipboard
open override val user: User?