Nadia.Model.Message (nadia v1.2.0)

View Source

Summary

Types

t()

@type t() :: %Nadia.Model.Message{
  animation: any(),
  audio: Nadia.Model.Audio.t(),
  author_signature: binary(),
  boost_added: ChatBoostAdded.t(),
  business_connection_id: binary(),
  caption: binary(),
  caption_entities: [MessageEntity.t()],
  channel_chat_created: atom(),
  chat: Nadia.Model.Chat.t(),
  chat_owner_changed: any(),
  chat_owner_left: any(),
  checklist: Nadia.Model.Checklist.t(),
  contact: any(),
  date: integer(),
  delete_chat_photo: atom(),
  dice: any(),
  document: Nadia.Model.Document.t(),
  edit_date: integer(),
  effect_id: binary(),
  entities: [MessageEntity.t()],
  external_reply: any(),
  forward_date: integer(),
  forward_from: Nadia.Model.User.t(),
  forward_from_chat: Nadia.Model.Chat.t(),
  forward_origin: any(),
  from: Nadia.Model.User.t(),
  game: any(),
  group_chat_created: atom(),
  guest_bot_caller_chat: Nadia.Model.Chat.t(),
  guest_bot_caller_user: Nadia.Model.User.t(),
  guest_query_id: binary(),
  has_media_spoiler: boolean(),
  has_protected_content: boolean(),
  is_automatic_forward: boolean(),
  is_from_offline: boolean(),
  is_paid_post: boolean(),
  is_topic_message: boolean(),
  left_chat_member: Nadia.Model.User.t(),
  link_preview_options: any(),
  live_photo: any(),
  location: any(),
  managed_bot_created: ManagedBotCreated.t(),
  media_group_id: binary(),
  message_id: integer(),
  message_thread_id: integer(),
  migrate_from_chat_id: integer(),
  migrate_to_chat_id: integer(),
  new_chat_member: Nadia.Model.User.t(),
  new_chat_members: [Nadia.Model.User.t()],
  new_chat_photo: [Nadia.Model.PhotoSize.t()],
  new_chat_title: binary(),
  paid_media: PaidMediaInfo.t(),
  paid_star_count: integer(),
  photo: [Nadia.Model.PhotoSize.t()],
  pinned_message: t(),
  poll: Poll.t(),
  poll_option_added: PollOptionAdded.t(),
  poll_option_deleted: PollOptionDeleted.t(),
  quote: any(),
  reply_markup: any(),
  reply_to_checklist_task_id: integer(),
  reply_to_message: t(),
  reply_to_poll_option_id: binary(),
  reply_to_story: any(),
  rich_message: Nadia.Model.RichMessage.t(),
  sender_boost_count: integer(),
  sender_business_bot: Nadia.Model.User.t(),
  sender_chat: Nadia.Model.Chat.t(),
  sender_tag: binary(),
  show_caption_above_media: boolean(),
  sticker: any(),
  story: any(),
  suggested_post_info: any(),
  supergroup_chat_created: atom(),
  text: binary(),
  venue: any(),
  via_bot: Nadia.Model.User.t(),
  video: any(),
  video_note: any(),
  voice: any(),
  web_app_data: any()
}