Message
data class Message(message_id: Long, from: User?, sender_chat: Chat?, date: Long, chat: Chat, forward_from: User?, forward_from_chat: Chat?, forward_from_message_id: Long?, forward_signature: String?, forward_sender_name: String?, forward_date: Long?, reply_to_message: Message?, via_bot: User?, edit_date: Long?, media_group_id: String?, author_signature: String?, text: String?, entities: List<MessageEntity>?, animation: Animation?, audio: Audio?, document: Document?, photo: List<PhotoSize>?, sticker: Sticker?, video: Video?, video_note: VideoNote?, voice: Voice?, caption: String?, caption_entities: List<MessageEntity>?, contact: Contact?, dice: Dice?, game: Game?, poll: Poll?, venue: Venue?, location: Location?, new_chat_members: List<User>?, left_chat_member: User?, new_chat_title: String?, new_chat_photo: List<PhotoSize>?, delete_chat_photo: Boolean?, group_chat_created: Boolean?, supergroup_chat_created: Boolean?, channel_chat_created: Boolean?, message_auto_delete_timer_changed: MessageAutoDeleteTimerChanged?, migrate_to_chat_id: Long?, migrate_from_chat_id: Long?, pinned_message: Message?, invoice: Invoice?, successful_payment: SuccessfulPayment?, connected_website: String?, passport_data: PassportData?, proximity_alert_triggered: ProximityAlertTriggered?, voice_chat_scheduled: VoiceChatScheduled?, voice_chat_started: VoiceChatStarted?, voice_chat_ended: VoiceChatEnded?, voice_chat_participants_invited: VoiceChatParticipantsInvited?, reply_markup: InlineKeyboardMarkup?) : TelegramModel
Content copied to clipboard
This object represents a message.
Constructors
Message
Link copied to clipboard
fun Message(message_id: Long, from: User? = null, sender_chat: Chat? = null, date: Long, chat: Chat, forward_from: User? = null, forward_from_chat: Chat? = null, forward_from_message_id: Long? = null, forward_signature: String? = null, forward_sender_name: String? = null, forward_date: Long? = null, reply_to_message: Message? = null, via_bot: User? = null, edit_date: Long? = null, media_group_id: String? = null, author_signature: String? = null, text: String? = null, entities: List<MessageEntity>? = null, animation: Animation? = null, audio: Audio? = null, document: Document? = null, photo: List<PhotoSize>? = null, sticker: Sticker? = null, video: Video? = null, video_note: VideoNote? = null, voice: Voice? = null, caption: String? = null, caption_entities: List<MessageEntity>? = null, contact: Contact? = null, dice: Dice? = null, game: Game? = null, poll: Poll? = null, venue: Venue? = null, location: Location? = null, new_chat_members: List<User>? = null, left_chat_member: User? = null, new_chat_title: String? = null, new_chat_photo: List<PhotoSize>? = null, delete_chat_photo: Boolean? = null, group_chat_created: Boolean? = null, supergroup_chat_created: Boolean? = null, channel_chat_created: Boolean? = null, message_auto_delete_timer_changed: MessageAutoDeleteTimerChanged? = null, migrate_to_chat_id: Long? = null, migrate_from_chat_id: Long? = null, pinned_message: Message? = null, invoice: Invoice? = null, successful_payment: SuccessfulPayment? = null, connected_website: String? = null, passport_data: PassportData? = null, proximity_alert_triggered: ProximityAlertTriggered? = null, voice_chat_scheduled: VoiceChatScheduled? = null, voice_chat_started: VoiceChatStarted? = null, voice_chat_ended: VoiceChatEnded? = null, voice_chat_participants_invited: VoiceChatParticipantsInvited? = null, reply_markup: InlineKeyboardMarkup? = null)
Content copied to clipboard
Creates a Message.
Properties
author_signature
Link copied to clipboard
caption_entities
Link copied to clipboard
channel_chat_created
Link copied to clipboard
connected_website
Link copied to clipboard
delete_chat_photo
Link copied to clipboard
entities
Link copied to clipboard
forward_date
Link copied to clipboard
forward_from
Link copied to clipboard
forward_from_chat
Link copied to clipboard
forward_from_message_id
Link copied to clipboard
forward_sender_name
Link copied to clipboard
forward_signature
Link copied to clipboard
group_chat_created
Link copied to clipboard
left_chat_member
Link copied to clipboard
media_group_id
Link copied to clipboard
message_auto_delete_timer_changed
Link copied to clipboard
val message_auto_delete_timer_changed: MessageAutoDeleteTimerChanged? = null
Content copied to clipboard
message_id
Link copied to clipboard
migrate_from_chat_id
Link copied to clipboard
migrate_to_chat_id
Link copied to clipboard
new_chat_members
Link copied to clipboard
new_chat_photo
Link copied to clipboard
new_chat_title
Link copied to clipboard
passport_data
Link copied to clipboard
pinned_message
Link copied to clipboard
proximity_alert_triggered
Link copied to clipboard
reply_markup
Link copied to clipboard
reply_to_message
Link copied to clipboard
sender_chat
Link copied to clipboard
successful_payment
Link copied to clipboard
supergroup_chat_created
Link copied to clipboard
video_note
Link copied to clipboard
voice_chat_ended
Link copied to clipboard
voice_chat_participants_invited
Link copied to clipboard
val voice_chat_participants_invited: VoiceChatParticipantsInvited? = null
Content copied to clipboard
voice_chat_scheduled
Link copied to clipboard
voice_chat_started
Link copied to clipboard