BusinessContentMessageImpl
data class BusinessContentMessageImpl<T : MessageContent>(val messageId: MessageId, val from: User, val chat: PreviewBusinessChat, val businessConnectionId: BusinessConnectionId, 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 senderBusinessBot: PreviewBot?, val fromOffline: Boolean) : BusinessContentMessage<T>
Constructors
Link copied to clipboard
constructor(messageId: MessageId, from: User, chat: PreviewBusinessChat, businessConnectionId: BusinessConnectionId, content: T, date: DateTime, editDate: DateTime?, hasProtectedContent: Boolean, forwardInfo: ForwardInfo, replyTo: AccessibleMessage?, replyMarkup: InlineKeyboardMarkup?, senderBot: CommonBot?, mediaGroupId: MediaGroupId?, senderBusinessBot: PreviewBot?, fromOffline: Boolean)
constructor(messageId: MessageId, from: User, chat: PreviewBusinessChat, businessConnectionId: BusinessConnectionId, content: T, date: DateTime, editDate: DateTime?, hasProtectedContent: Boolean, forwardOrigin: MessageOrigin?, replyInfo: ReplyInfo?, replyMarkup: InlineKeyboardMarkup?, senderBot: CommonBot?, mediaGroupId: MediaGroupId?, senderBusinessBot: PreviewBot?, fromOffline: Boolean)
Properties
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Currently, there are only 1-1 business chats and any message in the chat sent not by PreviewBusinessChat.original must be sent by bot or user
Link copied to clipboard