Message

class pyrogram.raw.types.Message

Telegram API type.

Constructor of Message.

Details:
  • Layer: 194

  • ID: 94345242

Parameters:
  • id (int 32-bit) – N/A

  • peer_id (Peer) – N/A

  • date (int 32-bit) – N/A

  • message (str) – N/A

  • out (bool, optional) – N/A

  • mentioned (bool, optional) – N/A

  • media_unread (bool, optional) – N/A

  • silent (bool, optional) – N/A

  • post (bool, optional) – N/A

  • from_scheduled (bool, optional) – N/A

  • legacy (bool, optional) – N/A

  • edit_hide (bool, optional) – N/A

  • pinned (bool, optional) – N/A

  • noforwards (bool, optional) – N/A

  • invert_media (bool, optional) – N/A

  • offline (bool, optional) – N/A

  • video_processing_pending (bool, optional) – N/A

  • from_id (Peer, optional) – N/A

  • from_boosts_applied (int 32-bit, optional) – N/A

  • saved_peer_id (Peer, optional) – N/A

  • fwd_from (MessageFwdHeader, optional) – N/A

  • via_bot_id (int 64-bit, optional) – N/A

  • via_business_bot_id (int 64-bit, optional) – N/A

  • reply_to (MessageReplyHeader, optional) – N/A

  • media (MessageMedia, optional) – N/A

  • reply_markup (ReplyMarkup, optional) – N/A

  • entities (List of MessageEntity, optional) – N/A

  • views (int 32-bit, optional) – N/A

  • forwards (int 32-bit, optional) – N/A

  • replies (MessageReplies, optional) – N/A

  • edit_date (int 32-bit, optional) – N/A

  • post_author (str, optional) – N/A

  • grouped_id (int 64-bit, optional) – N/A

  • reactions (MessageReactions, optional) – N/A

  • restriction_reason (List of RestrictionReason, optional) – N/A

  • ttl_period (int 32-bit, optional) – N/A

  • quick_reply_shortcut_id (int 32-bit, optional) – N/A

  • effect (int 64-bit, optional) – N/A

  • factcheck (FactCheck, optional) – N/A