ExGram.Model.Message (ex_gram v0.40.0) View Source
This object represents a message.
Check the documentation of this model in https://core.telegram.org/bots/api#message
Link to this section Summary
Link to this section Types
Specs
t() :: %ExGram.Model.Message{
animation: ExGram.Model.Animation.t() | nil,
audio: ExGram.Model.Audio.t() | nil,
author_signature: String.t() | nil,
caption: String.t() | nil,
caption_entities: [ExGram.Model.MessageEntity.t()] | nil,
channel_chat_created: boolean() | nil,
chat: ExGram.Model.Chat.t(),
chat_shared: ExGram.Model.ChatShared.t() | nil,
connected_website: String.t() | nil,
contact: ExGram.Model.Contact.t() | nil,
date: integer(),
delete_chat_photo: boolean() | nil,
dice: ExGram.Model.Dice.t() | nil,
document: ExGram.Model.Document.t() | nil,
edit_date: integer() | nil,
entities: [ExGram.Model.MessageEntity.t()] | nil,
forum_topic_closed: ExGram.Model.ForumTopicClosed.t() | nil,
forum_topic_created: ExGram.Model.ForumTopicCreated.t() | nil,
forum_topic_edited: ExGram.Model.ForumTopicEdited.t() | nil,
forum_topic_reopened: ExGram.Model.ForumTopicReopened.t() | nil,
forward_date: integer() | nil,
forward_from: ExGram.Model.User.t() | nil,
forward_from_chat: ExGram.Model.Chat.t() | nil,
forward_from_message_id: integer() | nil,
forward_sender_name: String.t() | nil,
forward_signature: String.t() | nil,
from: ExGram.Model.User.t() | nil,
game: ExGram.Model.Game.t() | nil,
general_forum_topic_hidden: ExGram.Model.GeneralForumTopicHidden.t() | nil,
general_forum_topic_unhidden:
ExGram.Model.GeneralForumTopicUnhidden.t() | nil,
group_chat_created: boolean() | nil,
has_media_spoiler: boolean() | nil,
has_protected_content: boolean() | nil,
invoice: ExGram.Model.Invoice.t() | nil,
is_automatic_forward: boolean() | nil,
is_topic_message: boolean() | nil,
left_chat_member: ExGram.Model.User.t() | nil,
location: ExGram.Model.Location.t() | nil,
media_group_id: String.t() | nil,
message_auto_delete_timer_changed:
ExGram.Model.MessageAutoDeleteTimerChanged.t() | nil,
message_id: integer(),
message_thread_id: integer() | nil,
migrate_from_chat_id: integer() | nil,
migrate_to_chat_id: integer() | nil,
new_chat_members: [ExGram.Model.User.t()] | nil,
new_chat_photo: [ExGram.Model.PhotoSize.t()] | nil,
new_chat_title: String.t() | nil,
passport_data: ExGram.Model.PassportData.t() | nil,
photo: [ExGram.Model.PhotoSize.t()] | nil,
pinned_message: t() | nil,
poll: ExGram.Model.Poll.t() | nil,
proximity_alert_triggered: ExGram.Model.ProximityAlertTriggered.t() | nil,
reply_markup: ExGram.Model.InlineKeyboardMarkup.t() | nil,
reply_to_message: t() | nil,
sender_chat: ExGram.Model.Chat.t() | nil,
sticker: ExGram.Model.Sticker.t() | nil,
successful_payment: ExGram.Model.SuccessfulPayment.t() | nil,
supergroup_chat_created: boolean() | nil,
text: String.t() | nil,
user_shared: ExGram.Model.UserShared.t() | nil,
venue: ExGram.Model.Venue.t() | nil,
via_bot: ExGram.Model.User.t() | nil,
video: ExGram.Model.Video.t() | nil,
video_chat_ended: ExGram.Model.VideoChatEnded.t() | nil,
video_chat_participants_invited:
ExGram.Model.VideoChatParticipantsInvited.t() | nil,
video_chat_scheduled: ExGram.Model.VideoChatScheduled.t() | nil,
video_chat_started: ExGram.Model.VideoChatStarted.t() | nil,
video_note: ExGram.Model.VideoNote.t() | nil,
voice: ExGram.Model.Voice.t() | nil,
web_app_data: ExGram.Model.WebAppData.t() | nil,
write_access_allowed: ExGram.Model.WriteAccessAllowed.t() | nil
}