UpdateEditMessage

class pyrogram.raw.types.UpdateEditMessage

A message was edited

Constructor of Update.

Details:
  • Layer: 227

  • ID: E40370A3

Parameters:
  • message (Message) – The new edited message

  • pts (int 32-bit) – PTS

  • pts_count (int 32-bit) – PTS count

TL Schema

updateEditMessage#e40370a3
message:Message
pts:int
pts_count:int

= Update

Parameter Tree

UpdateEditMessage
├── message → Message
│ ├── MessageEmpty
│ │ ├── id → int
│ │ └── peer_id → Peer (optional)
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ ├── Message
│ │ ├── out → true (optional)
│ │ ├── mentioned → true (optional)
│ │ ├── media_unread → true (optional)
│ │ ├── silent → true (optional)
│ │ ├── post → true (optional)
│ │ ├── from_scheduled → true (optional)
│ │ ├── legacy → true (optional)
│ │ ├── edit_hide → true (optional)
│ │ ├── pinned → true (optional)
│ │ ├── noforwards → true (optional)
│ │ ├── invert_media → true (optional)
│ │ ├── offline → true (optional)
│ │ ├── video_processing_pending → true (optional)
│ │ ├── paid_suggested_post_stars → true (optional)
│ │ ├── paid_suggested_post_ton → true (optional)
│ │ ├── id → int
│ │ ├── from_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ │ └── user_id → long
│ │ │ ├── PeerChat
│ │ │ │ └── chat_id → long
│ │ │ └── PeerChannel
│ │ │ └── channel_id → long
│ │ ├── from_boosts_applied → int (optional)
│ │ ├── from_rank → string (optional)
│ │ ├── peer_id → Peer
│ │ │ ├── PeerUser
│ │ │ │ └── user_id → long
│ │ │ ├── PeerChat
│ │ │ │ └── chat_id → long
│ │ │ └── PeerChannel
│ │ │ └── channel_id → long
│ │ ├── saved_peer_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ │ └── user_id → long
│ │ │ ├── PeerChat
│ │ │ │ └── chat_id → long
│ │ │ └── PeerChannel
│ │ │ └── channel_id → long
│ │ ├── fwd_from → MessageFwdHeader (optional)
│ │ │ └── MessageFwdHeader
│ │ │ ├── imported → true (optional)
│ │ │ ├── saved_out → true (optional)
│ │ │ ├── from_id → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── from_name → string (optional)
│ │ │ ├── date → int
│ │ │ ├── channel_post → int (optional)
│ │ │ ├── post_author → string (optional)
│ │ │ ├── saved_from_peer → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── saved_from_msg_id → int (optional)
│ │ │ ├── saved_from_id → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── saved_from_name → string (optional)
│ │ │ ├── saved_date → int (optional)
│ │ │ └── psa_type → string (optional)
│ │ ├── via_bot_id → long (optional)
│ │ ├── via_business_bot_id → long (optional)
│ │ ├── guestchat_via_from → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ │ └── user_id → long
│ │ │ ├── PeerChat
│ │ │ │ └── chat_id → long
│ │ │ └── PeerChannel
│ │ │ └── channel_id → long
│ │ ├── reply_to → MessageReplyHeader (optional)
│ │ │ ├── MessageReplyHeader
│ │ │ │ ├── reply_to_scheduled → true (optional)
│ │ │ │ ├── forum_topic → true (optional)
│ │ │ │ ├── quote → true (optional)
│ │ │ │ ├── reply_to_ephemeral → true (optional)
│ │ │ │ ├── reply_to_msg_id → int (optional)
│ │ │ │ ├── reply_to_peer_id → Peer (optional)
│ │ │ │ │ ├── PeerUser
│ │ │ │ │ ├── PeerChat
│ │ │ │ │ └── PeerChannel
│ │ │ │ ├── reply_from → MessageFwdHeader (optional)
│ │ │ │ │ └── MessageFwdHeader
│ │ │ │ ├── reply_media → MessageMedia (optional)
│ │ │ │ │ ├── MessageMediaEmpty
│ │ │ │ │ ├── MessageMediaPhoto
│ │ │ │ │ ├── MessageMediaGeo
│ │ │ │ │ ├── MessageMediaContact
│ │ │ │ │ ├── MessageMediaUnsupported
│ │ │ │ │ ├── MessageMediaDocument
│ │ │ │ │ ├── MessageMediaWebPage
│ │ │ │ │ ├── MessageMediaVenue
│ │ │ │ │ ├── MessageMediaGame
│ │ │ │ │ ├── MessageMediaInvoice
│ │ │ │ │ ├── MessageMediaGeoLive
│ │ │ │ │ ├── MessageMediaPoll
│ │ │ │ │ ├── MessageMediaDice
│ │ │ │ │ ├── MessageMediaStory
│ │ │ │ │ ├── MessageMediaGiveaway
│ │ │ │ │ ├── MessageMediaGiveawayResults
│ │ │ │ │ ├── MessageMediaPaidMedia
│ │ │ │ │ ├── MessageMediaToDo
│ │ │ │ │ └── MessageMediaVideoStream
│ │ │ │ ├── reply_to_top_id → int (optional)
│ │ │ │ ├── quote_text → string (optional)
│ │ │ │ ├── quote_entities → Vector < MessageEntity > (optional)
│ │ │ │ │ ├── MessageEntityUnknown
│ │ │ │ │ ├── MessageEntityMention
│ │ │ │ │ ├── MessageEntityHashtag
│ │ │ │ │ ├── MessageEntityBotCommand
│ │ │ │ │ ├── MessageEntityUrl
│ │ │ │ │ ├── MessageEntityEmail
│ │ │ │ │ ├── MessageEntityBold
│ │ │ │ │ ├── MessageEntityItalic
│ │ │ │ │ ├── MessageEntityCode
│ │ │ │ │ ├── MessageEntityPre
│ │ │ │ │ ├── MessageEntityTextUrl
│ │ │ │ │ ├── MessageEntityMentionName
│ │ │ │ │ ├── InputMessageEntityMentionName
│ │ │ │ │ ├── MessageEntityPhone
│ │ │ │ │ ├── MessageEntityCashtag
│ │ │ │ │ ├── MessageEntityUnderline
│ │ │ │ │ ├── MessageEntityStrike
│ │ │ │ │ ├── MessageEntityBankCard
│ │ │ │ │ ├── MessageEntitySpoiler
│ │ │ │ │ ├── MessageEntityCustomEmoji
│ │ │ │ │ ├── MessageEntityBlockquote
│ │ │ │ │ ├── MessageEntityFormattedDate
│ │ │ │ │ ├── MessageEntityDiffInsert
│ │ │ │ │ ├── MessageEntityDiffReplace
│ │ │ │ │ └── MessageEntityDiffDelete
│ │ │ │ ├── quote_offset → int (optional)
│ │ │ │ ├── todo_item_id → int (optional)
│ │ │ │ └── poll_option → bytes (optional)
│ │ │ └── MessageReplyStoryHeader
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── story_id → int
│ │ ├── date → int
│ │ ├── message → string
│ │ ├── media → MessageMedia (optional)
│ │ │ ├── MessageMediaEmpty
│ │ │ ├── MessageMediaPhoto
│ │ │ │ ├── spoiler → true (optional)
│ │ │ │ ├── live_photo → true (optional)
│ │ │ │ ├── photo → Photo (optional)
│ │ │ │ │ ├── PhotoEmpty
│ │ │ │ │ └── Photo
│ │ │ │ ├── ttl_seconds → int (optional)
│ │ │ │ └── video → Document (optional)
│ │ │ │ ├── DocumentEmpty
│ │ │ │ └── Document
│ │ │ ├── MessageMediaGeo
│ │ │ │ └── geo → GeoPoint
│ │ │ │ ├── GeoPointEmpty
│ │ │ │ └── GeoPoint
│ │ │ ├── MessageMediaContact
│ │ │ │ ├── phone_number → string
│ │ │ │ ├── first_name → string
│ │ │ │ ├── last_name → string
│ │ │ │ ├── vcard → string
│ │ │ │ └── user_id → long
│ │ │ ├── MessageMediaUnsupported
│ │ │ ├── MessageMediaDocument
│ │ │ │ ├── nopremium → true (optional)
│ │ │ │ ├── spoiler → true (optional)
│ │ │ │ ├── video → true (optional)
│ │ │ │ ├── round → true (optional)
│ │ │ │ ├── voice → true (optional)
│ │ │ │ ├── document → Document (optional)
│ │ │ │ │ ├── DocumentEmpty
│ │ │ │ │ └── Document
│ │ │ │ ├── alt_documents → Vector < Document > (optional)
│ │ │ │ │ ├── DocumentEmpty
│ │ │ │ │ └── Document
│ │ │ │ ├── video_cover → Photo (optional)
│ │ │ │ │ ├── PhotoEmpty
│ │ │ │ │ └── Photo
│ │ │ │ ├── video_timestamp → int (optional)
│ │ │ │ └── ttl_seconds → int (optional)
│ │ │ ├── MessageMediaWebPage
│ │ │ │ ├── force_large_media → true (optional)
│ │ │ │ ├── force_small_media → true (optional)
│ │ │ │ ├── manual → true (optional)
│ │ │ │ ├── safe → true (optional)
│ │ │ │ └── webpage → WebPage
│ │ │ │ ├── WebPageEmpty
│ │ │ │ ├── WebPagePending
│ │ │ │ ├── WebPage
│ │ │ │ └── WebPageNotModified
│ │ │ ├── MessageMediaVenue
│ │ │ │ ├── geo → GeoPoint
│ │ │ │ │ ├── GeoPointEmpty
│ │ │ │ │ └── GeoPoint
│ │ │ │ ├── title → string
│ │ │ │ ├── address → string
│ │ │ │ ├── provider → string
│ │ │ │ ├── venue_id → string
│ │ │ │ └── venue_type → string
│ │ │ ├── MessageMediaGame
│ │ │ │ └── game → Game
│ │ │ │ └── Game
│ │ │ ├── MessageMediaInvoice
│ │ │ │ ├── shipping_address_requested → true (optional)
│ │ │ │ ├── test → true (optional)
│ │ │ │ ├── title → string
│ │ │ │ ├── description → string
│ │ │ │ ├── photo → WebDocument (optional)
│ │ │ │ │ ├── WebDocument
│ │ │ │ │ └── WebDocumentNoProxy
│ │ │ │ ├── receipt_msg_id → int (optional)
│ │ │ │ ├── currency → string
│ │ │ │ ├── total_amount → long
│ │ │ │ ├── start_param → string
│ │ │ │ └── extended_media → MessageExtendedMedia (optional)
│ │ │ │ ├── MessageExtendedMediaPreview
│ │ │ │ └── MessageExtendedMedia
│ │ │ ├── MessageMediaGeoLive
│ │ │ │ ├── geo → GeoPoint
│ │ │ │ │ ├── GeoPointEmpty
│ │ │ │ │ └── GeoPoint
│ │ │ │ ├── heading → int (optional)
│ │ │ │ ├── period → int
│ │ │ │ └── proximity_notification_radius → int (optional)
│ │ │ ├── MessageMediaPoll
│ │ │ │ ├── poll → Poll
│ │ │ │ │ └── Poll
│ │ │ │ ├── results → PollResults
│ │ │ │ │ └── PollResults
│ │ │ │ └── attached_media → MessageMedia (optional)
│ │ │ │ ├── MessageMediaEmpty
│ │ │ │ ├── MessageMediaPhoto
│ │ │ │ ├── MessageMediaGeo
│ │ │ │ ├── MessageMediaContact
│ │ │ │ ├── MessageMediaUnsupported
│ │ │ │ ├── MessageMediaDocument
│ │ │ │ ├── MessageMediaWebPage
│ │ │ │ ├── MessageMediaVenue
│ │ │ │ ├── MessageMediaGame
│ │ │ │ ├── MessageMediaInvoice
│ │ │ │ ├── MessageMediaGeoLive
│ │ │ │ ├── MessageMediaPoll
│ │ │ │ ├── MessageMediaDice
│ │ │ │ ├── MessageMediaStory
│ │ │ │ ├── MessageMediaGiveaway
│ │ │ │ ├── MessageMediaGiveawayResults
│ │ │ │ ├── MessageMediaPaidMedia
│ │ │ │ ├── MessageMediaToDo
│ │ │ │ └── MessageMediaVideoStream
│ │ │ ├── MessageMediaDice
│ │ │ │ ├── value → int
│ │ │ │ ├── emoticon → string
│ │ │ │ └── game_outcome → messages.EmojiGameOutcome (optional)
│ │ │ │ └── messages.EmojiGameOutcome
│ │ │ ├── MessageMediaStory
│ │ │ │ ├── via_mention → true (optional)
│ │ │ │ ├── peer → Peer
│ │ │ │ │ ├── PeerUser
│ │ │ │ │ ├── PeerChat
│ │ │ │ │ └── PeerChannel
│ │ │ │ ├── id → int
│ │ │ │ └── story → StoryItem (optional)
│ │ │ │ ├── StoryItemDeleted
│ │ │ │ ├── StoryItemSkipped
│ │ │ │ └── StoryItem
│ │ │ ├── MessageMediaGiveaway
│ │ │ │ ├── only_new_subscribers → true (optional)
│ │ │ │ ├── winners_are_visible → true (optional)
│ │ │ │ ├── channels → Vector < long >
│ │ │ │ ├── countries_iso2 → Vector < string > (optional)
│ │ │ │ ├── prize_description → string (optional)
│ │ │ │ ├── quantity → int
│ │ │ │ ├── months → int (optional)
│ │ │ │ ├── stars → long (optional)
│ │ │ │ └── until_date → int
│ │ │ ├── MessageMediaGiveawayResults
│ │ │ │ ├── only_new_subscribers → true (optional)
│ │ │ │ ├── refunded → true (optional)
│ │ │ │ ├── channel_id → long
│ │ │ │ ├── additional_peers_count → int (optional)
│ │ │ │ ├── launch_msg_id → int
│ │ │ │ ├── winners_count → int
│ │ │ │ ├── unclaimed_count → int
│ │ │ │ ├── winners → Vector < long >
│ │ │ │ ├── months → int (optional)
│ │ │ │ ├── stars → long (optional)
│ │ │ │ ├── prize_description → string (optional)
│ │ │ │ └── until_date → int
│ │ │ ├── MessageMediaPaidMedia
│ │ │ │ ├── stars_amount → long
│ │ │ │ └── extended_media → Vector < MessageExtendedMedia >
│ │ │ │ ├── MessageExtendedMediaPreview
│ │ │ │ └── MessageExtendedMedia
│ │ │ ├── MessageMediaToDo
│ │ │ │ ├── todo → TodoList
│ │ │ │ │ └── TodoList
│ │ │ │ └── completions → Vector < TodoCompletion > (optional)
│ │ │ │ └── TodoCompletion
│ │ │ └── MessageMediaVideoStream
│ │ │ ├── rtmp_stream → true (optional)
│ │ │ └── call → InputGroupCall
│ │ │ ├── InputGroupCall
│ │ │ ├── InputGroupCallSlug
│ │ │ └── InputGroupCallInviteMessage
│ │ ├── reply_markup → ReplyMarkup (optional)
│ │ │ ├── ReplyKeyboardHide
│ │ │ │ └── selective → true (optional)
│ │ │ ├── ReplyKeyboardForceReply
│ │ │ │ ├── single_use → true (optional)
│ │ │ │ ├── selective → true (optional)
│ │ │ │ └── placeholder → string (optional)
│ │ │ ├── ReplyKeyboardMarkup
│ │ │ │ ├── resize → true (optional)
│ │ │ │ ├── single_use → true (optional)
│ │ │ │ ├── selective → true (optional)
│ │ │ │ ├── persistent → true (optional)
│ │ │ │ ├── rows → Vector < KeyboardButtonRow >
│ │ │ │ │ └── KeyboardButtonRow
│ │ │ │ └── placeholder → string (optional)
│ │ │ └── ReplyInlineMarkup
│ │ │ └── rows → Vector < KeyboardButtonRow >
│ │ │ └── KeyboardButtonRow
│ │ ├── entities → Vector < MessageEntity > (optional)
│ │ │ ├── MessageEntityUnknown
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityMention
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityHashtag
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityBotCommand
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityUrl
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityEmail
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityBold
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityItalic
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityCode
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityPre
│ │ │ │ ├── offset → int
│ │ │ │ ├── length → int
│ │ │ │ └── language → string
│ │ │ ├── MessageEntityTextUrl
│ │ │ │ ├── offset → int
│ │ │ │ ├── length → int
│ │ │ │ └── url → string
│ │ │ ├── MessageEntityMentionName
│ │ │ │ ├── offset → int
│ │ │ │ ├── length → int
│ │ │ │ └── user_id → long
│ │ │ ├── InputMessageEntityMentionName
│ │ │ │ ├── offset → int
│ │ │ │ ├── length → int
│ │ │ │ └── user_id → InputUser
│ │ │ │ ├── InputUserEmpty
│ │ │ │ ├── InputUserSelf
│ │ │ │ ├── InputUser
│ │ │ │ └── InputUserFromMessage
│ │ │ ├── MessageEntityPhone
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityCashtag
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityUnderline
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityStrike
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityBankCard
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntitySpoiler
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityCustomEmoji
│ │ │ │ ├── offset → int
│ │ │ │ ├── length → int
│ │ │ │ └── document_id → long
│ │ │ ├── MessageEntityBlockquote
│ │ │ │ ├── collapsed → true (optional)
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityFormattedDate
│ │ │ │ ├── relative → true (optional)
│ │ │ │ ├── short_time → true (optional)
│ │ │ │ ├── long_time → true (optional)
│ │ │ │ ├── short_date → true (optional)
│ │ │ │ ├── long_date → true (optional)
│ │ │ │ ├── day_of_week → true (optional)
│ │ │ │ ├── offset → int
│ │ │ │ ├── length → int
│ │ │ │ └── date → int
│ │ │ ├── MessageEntityDiffInsert
│ │ │ │ ├── offset → int
│ │ │ │ └── length → int
│ │ │ ├── MessageEntityDiffReplace
│ │ │ │ ├── offset → int
│ │ │ │ ├── length → int
│ │ │ │ └── old_text → string
│ │ │ └── MessageEntityDiffDelete
│ │ │ ├── offset → int
│ │ │ └── length → int
│ │ ├── views → int (optional)
│ │ ├── forwards → int (optional)
│ │ ├── replies → MessageReplies (optional)
│ │ │ └── MessageReplies
│ │ │ ├── comments → true (optional)
│ │ │ ├── replies → int
│ │ │ ├── replies_pts → int
│ │ │ ├── recent_repliers → Vector < Peer > (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── channel_id → long (optional)
│ │ │ ├── max_id → int (optional)
│ │ │ └── read_max_id → int (optional)
│ │ ├── edit_date → int (optional)
│ │ ├── post_author → string (optional)
│ │ ├── grouped_id → long (optional)
│ │ ├── reactions → MessageReactions (optional)
│ │ │ └── MessageReactions
│ │ │ ├── min → true (optional)
│ │ │ ├── can_see_list → true (optional)
│ │ │ ├── reactions_as_tags → true (optional)
│ │ │ ├── results → Vector < ReactionCount >
│ │ │ │ └── ReactionCount
│ │ │ ├── recent_reactions → Vector < MessagePeerReaction > (optional)
│ │ │ │ └── MessagePeerReaction
│ │ │ └── top_reactors → Vector < MessageReactor > (optional)
│ │ │ └── MessageReactor
│ │ ├── restriction_reason → Vector < RestrictionReason > (optional)
│ │ │ └── RestrictionReason
│ │ │ ├── platform → string
│ │ │ ├── reason → string
│ │ │ └── text → string
│ │ ├── ttl_period → int (optional)
│ │ ├── quick_reply_shortcut_id → int (optional)
│ │ ├── effect → long (optional)
│ │ ├── factcheck → FactCheck (optional)
│ │ │ └── FactCheck
│ │ │ ├── need_check → true (optional)
│ │ │ ├── country → string (optional)
│ │ │ ├── text → TextWithEntities (optional)
│ │ │ │ └── TextWithEntities
│ │ │ └── hash → long
│ │ ├── report_delivery_until_date → int (optional)
│ │ ├── paid_message_stars → long (optional)
│ │ ├── suggested_post → SuggestedPost (optional)
│ │ │ └── SuggestedPost
│ │ │ ├── accepted → true (optional)
│ │ │ ├── rejected → true (optional)
│ │ │ ├── price → StarsAmount (optional)
│ │ │ │ ├── StarsAmount
│ │ │ │ └── StarsTonAmount
│ │ │ └── schedule_date → int (optional)
│ │ ├── schedule_repeat_period → int (optional)
│ │ ├── summary_from_language → string (optional)
│ │ └── rich_message → RichMessage (optional)
│ │ └── RichMessage
│ │ ├── rtl → true (optional)
│ │ ├── part → true (optional)
│ │ ├── blocks → Vector < PageBlock >
│ │ │ ├── PageBlockUnsupported
│ │ │ ├── PageBlockTitle
│ │ │ ├── PageBlockSubtitle
│ │ │ ├── PageBlockAuthorDate
│ │ │ ├── PageBlockHeader
│ │ │ ├── PageBlockSubheader
│ │ │ ├── PageBlockParagraph
│ │ │ ├── PageBlockPreformatted
│ │ │ ├── PageBlockFooter
│ │ │ ├── PageBlockDivider
│ │ │ ├── PageBlockAnchor
│ │ │ ├── PageBlockList
│ │ │ ├── PageBlockBlockquote
│ │ │ ├── PageBlockPullquote
│ │ │ ├── PageBlockPhoto
│ │ │ ├── PageBlockVideo
│ │ │ ├── PageBlockCover
│ │ │ ├── PageBlockEmbed
│ │ │ ├── PageBlockEmbedPost
│ │ │ ├── PageBlockCollage
│ │ │ ├── PageBlockSlideshow
│ │ │ ├── PageBlockChannel
│ │ │ ├── PageBlockAudio
│ │ │ ├── PageBlockKicker
│ │ │ ├── PageBlockTable
│ │ │ ├── PageBlockOrderedList
│ │ │ ├── PageBlockDetails
│ │ │ ├── PageBlockRelatedArticles
│ │ │ ├── PageBlockMap
│ │ │ ├── PageBlockHeading1
│ │ │ ├── PageBlockHeading2
│ │ │ ├── PageBlockHeading3
│ │ │ ├── PageBlockHeading4
│ │ │ ├── PageBlockHeading5
│ │ │ ├── PageBlockHeading6
│ │ │ ├── PageBlockMath
│ │ │ ├── PageBlockThinking
│ │ │ ├── InputPageBlockMap
│ │ │ └── PageBlockBlockquoteBlocks
│ │ ├── photos → Vector < Photo >
│ │ │ ├── PhotoEmpty
│ │ │ └── Photo
│ │ └── documents → Vector < Document >
│ │ ├── DocumentEmpty
│ │ └── Document
│ └── MessageService
│ ├── out → true (optional)
│ ├── mentioned → true (optional)
│ ├── media_unread → true (optional)
│ ├── reactions_are_possible → true (optional)
│ ├── silent → true (optional)
│ ├── post → true (optional)
│ ├── legacy → true (optional)
│ ├── id → int
│ ├── from_id → Peer (optional)
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ ├── peer_id → Peer
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ ├── saved_peer_id → Peer (optional)
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ ├── reply_to → MessageReplyHeader (optional)
│ │ ├── MessageReplyHeader
│ │ │ ├── reply_to_scheduled → true (optional)
│ │ │ ├── forum_topic → true (optional)
│ │ │ ├── quote → true (optional)
│ │ │ ├── reply_to_ephemeral → true (optional)
│ │ │ ├── reply_to_msg_id → int (optional)
│ │ │ ├── reply_to_peer_id → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── reply_from → MessageFwdHeader (optional)
│ │ │ │ └── MessageFwdHeader
│ │ │ ├── reply_media → MessageMedia (optional)
│ │ │ │ ├── MessageMediaEmpty
│ │ │ │ ├── MessageMediaPhoto
│ │ │ │ ├── MessageMediaGeo
│ │ │ │ ├── MessageMediaContact
│ │ │ │ ├── MessageMediaUnsupported
│ │ │ │ ├── MessageMediaDocument
│ │ │ │ ├── MessageMediaWebPage
│ │ │ │ ├── MessageMediaVenue
│ │ │ │ ├── MessageMediaGame
│ │ │ │ ├── MessageMediaInvoice
│ │ │ │ ├── MessageMediaGeoLive
│ │ │ │ ├── MessageMediaPoll
│ │ │ │ ├── MessageMediaDice
│ │ │ │ ├── MessageMediaStory
│ │ │ │ ├── MessageMediaGiveaway
│ │ │ │ ├── MessageMediaGiveawayResults
│ │ │ │ ├── MessageMediaPaidMedia
│ │ │ │ ├── MessageMediaToDo
│ │ │ │ └── MessageMediaVideoStream
│ │ │ ├── reply_to_top_id → int (optional)
│ │ │ ├── quote_text → string (optional)
│ │ │ ├── quote_entities → Vector < MessageEntity > (optional)
│ │ │ │ ├── MessageEntityUnknown
│ │ │ │ ├── MessageEntityMention
│ │ │ │ ├── MessageEntityHashtag
│ │ │ │ ├── MessageEntityBotCommand
│ │ │ │ ├── MessageEntityUrl
│ │ │ │ ├── MessageEntityEmail
│ │ │ │ ├── MessageEntityBold
│ │ │ │ ├── MessageEntityItalic
│ │ │ │ ├── MessageEntityCode
│ │ │ │ ├── MessageEntityPre
│ │ │ │ ├── MessageEntityTextUrl
│ │ │ │ ├── MessageEntityMentionName
│ │ │ │ ├── InputMessageEntityMentionName
│ │ │ │ ├── MessageEntityPhone
│ │ │ │ ├── MessageEntityCashtag
│ │ │ │ ├── MessageEntityUnderline
│ │ │ │ ├── MessageEntityStrike
│ │ │ │ ├── MessageEntityBankCard
│ │ │ │ ├── MessageEntitySpoiler
│ │ │ │ ├── MessageEntityCustomEmoji
│ │ │ │ ├── MessageEntityBlockquote
│ │ │ │ ├── MessageEntityFormattedDate
│ │ │ │ ├── MessageEntityDiffInsert
│ │ │ │ ├── MessageEntityDiffReplace
│ │ │ │ └── MessageEntityDiffDelete
│ │ │ ├── quote_offset → int (optional)
│ │ │ ├── todo_item_id → int (optional)
│ │ │ └── poll_option → bytes (optional)
│ │ └── MessageReplyStoryHeader
│ │ ├── peer → Peer
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ └── story_id → int
│ ├── date → int
│ ├── action → MessageAction
│ │ ├── MessageActionEmpty
│ │ ├── MessageActionChatCreate
│ │ │ ├── title → string
│ │ │ └── users → Vector < long >
│ │ ├── MessageActionChatEditTitle
│ │ │ └── title → string
│ │ ├── MessageActionChatEditPhoto
│ │ │ └── photo → Photo
│ │ │ ├── PhotoEmpty
│ │ │ └── Photo
│ │ ├── MessageActionChatAddUser
│ │ │ └── users → Vector < long >
│ │ ├── MessageActionChatDeleteUser
│ │ │ └── user_id → long
│ │ │ └── inviter_id → long
│ │ ├── MessageActionChannelCreate
│ │ │ └── title → string
│ │ ├── MessageActionChatMigrateTo
│ │ │ └── channel_id → long
│ │ │ ├── title → string
│ │ │ └── chat_id → long
│ │ ├── MessageActionPinMessage
│ │ ├── MessageActionHistoryClear
│ │ ├── MessageActionGameScore
│ │ │ ├── game_id → long
│ │ │ └── score → int
│ │ ├── MessageActionPaymentSentMe
│ │ │ ├── recurring_init → true (optional)
│ │ │ ├── recurring_used → true (optional)
│ │ │ ├── currency → string
│ │ │ ├── total_amount → long
│ │ │ ├── payload → bytes
│ │ │ ├── info → PaymentRequestedInfo (optional)
│ │ │ │ └── PaymentRequestedInfo
│ │ │ ├── shipping_option_id → string (optional)
│ │ │ ├── charge → PaymentCharge
│ │ │ │ └── PaymentCharge
│ │ │ └── subscription_until_date → int (optional)
│ │ ├── MessageActionPaymentSent
│ │ │ ├── recurring_init → true (optional)
│ │ │ ├── recurring_used → true (optional)
│ │ │ ├── currency → string
│ │ │ ├── total_amount → long
│ │ │ ├── invoice_slug → string (optional)
│ │ │ └── subscription_until_date → int (optional)
│ │ ├── MessageActionPhoneCall
│ │ │ ├── video → true (optional)
│ │ │ ├── call_id → long
│ │ │ ├── reason → PhoneCallDiscardReason (optional)
│ │ │ │ ├── PhoneCallDiscardReasonMissed
│ │ │ │ ├── PhoneCallDiscardReasonDisconnect
│ │ │ │ ├── PhoneCallDiscardReasonHangup
│ │ │ │ ├── PhoneCallDiscardReasonBusy
│ │ │ └── duration → int (optional)
│ │ ├── MessageActionCustomAction
│ │ │ └── message → string
│ │ ├── MessageActionBotAllowed
│ │ │ ├── attach_menu → true (optional)
│ │ │ ├── from_request → true (optional)
│ │ │ ├── domain → string (optional)
│ │ │ └── app → BotApp (optional)
│ │ │ ├── BotAppNotModified
│ │ │ └── BotApp
│ │ │ ├── values → Vector < SecureValue >
│ │ │ │ └── SecureValue
│ │ │ └── credentials → SecureCredentialsEncrypted
│ │ │ └── SecureCredentialsEncrypted
│ │ │ └── types → Vector < SecureValueType >
│ │ │ ├── SecureValueTypePersonalDetails
│ │ │ ├── SecureValueTypePassport
│ │ │ ├── SecureValueTypeDriverLicense
│ │ │ ├── SecureValueTypeIdentityCard
│ │ │ ├── SecureValueTypeInternalPassport
│ │ │ ├── SecureValueTypeAddress
│ │ │ ├── SecureValueTypeUtilityBill
│ │ │ ├── SecureValueTypeBankStatement
│ │ │ ├── SecureValueTypeRentalAgreement
│ │ │ ├── SecureValueTypePhone
│ │ │ └── SecureValueTypeEmail
│ │ ├── MessageActionContactSignUp
│ │ │ ├── from_id → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── to_id → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── distance → int
│ │ ├── MessageActionGroupCall
│ │ │ ├── call → InputGroupCall
│ │ │ │ ├── InputGroupCall
│ │ │ │ ├── InputGroupCallSlug
│ │ │ │ └── InputGroupCallInviteMessage
│ │ │ └── duration → int (optional)
│ │ │ ├── call → InputGroupCall
│ │ │ │ ├── InputGroupCall
│ │ │ │ ├── InputGroupCallSlug
│ │ │ │ └── InputGroupCallInviteMessage
│ │ │ └── users → Vector < long >
│ │ ├── MessageActionSetMessagesTTL
│ │ │ ├── period → int
│ │ │ └── auto_setting_from → long (optional)
│ │ │ ├── call → InputGroupCall
│ │ │ │ ├── InputGroupCall
│ │ │ │ ├── InputGroupCallSlug
│ │ │ │ └── InputGroupCallInviteMessage
│ │ │ └── schedule_date → int
│ │ ├── MessageActionSetChatTheme
│ │ │ └── theme → ChatTheme
│ │ │ ├── ChatTheme
│ │ │ └── ChatThemeUniqueGift
│ │ │ ├── text → string
│ │ │ └── data → string
│ │ │ └── text → string
│ │ ├── MessageActionGiftPremium
│ │ │ ├── currency → string
│ │ │ ├── amount → long
│ │ │ ├── days → int
│ │ │ ├── crypto_currency → string (optional)
│ │ │ ├── crypto_amount → long (optional)
│ │ │ └── message → TextWithEntities (optional)
│ │ │ └── TextWithEntities
│ │ ├── MessageActionTopicCreate
│ │ │ ├── title_missing → true (optional)
│ │ │ ├── title → string
│ │ │ ├── icon_color → int
│ │ │ └── icon_emoji_id → long (optional)
│ │ ├── MessageActionTopicEdit
│ │ │ ├── title → string (optional)
│ │ │ ├── icon_emoji_id → long (optional)
│ │ │ ├── closed → Bool (optional)
│ │ │ └── hidden → Bool (optional)
│ │ │ └── photo → Photo
│ │ │ ├── PhotoEmpty
│ │ │ └── Photo
│ │ ├── MessageActionRequestedPeer
│ │ │ ├── button_id → int
│ │ │ └── peers → Vector < Peer >
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ │ ├── same → true (optional)
│ │ │ ├── for_both → true (optional)
│ │ │ └── wallpaper → WallPaper
│ │ │ ├── WallPaper
│ │ │ └── WallPaperNoFile
│ │ ├── MessageActionGiftCode
│ │ │ ├── via_giveaway → true (optional)
│ │ │ ├── unclaimed → true (optional)
│ │ │ ├── boost_peer → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── days → int
│ │ │ ├── slug → string
│ │ │ ├── currency → string (optional)
│ │ │ ├── amount → long (optional)
│ │ │ ├── crypto_currency → string (optional)
│ │ │ ├── crypto_amount → long (optional)
│ │ │ └── message → TextWithEntities (optional)
│ │ │ └── TextWithEntities
│ │ ├── MessageActionGiveawayLaunch
│ │ │ └── stars → long (optional)
│ │ │ ├── stars → true (optional)
│ │ │ ├── winners_count → int
│ │ │ └── unclaimed_count → int
│ │ ├── MessageActionBoostApply
│ │ │ └── boosts → int
│ │ │ ├── button_id → int
│ │ │ └── peers → Vector < RequestedPeer >
│ │ │ ├── RequestedPeerUser
│ │ │ ├── RequestedPeerChat
│ │ │ └── RequestedPeerChannel
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── currency → string
│ │ │ ├── total_amount → long
│ │ │ ├── payload → bytes (optional)
│ │ │ └── charge → PaymentCharge
│ │ │ └── PaymentCharge
│ │ ├── MessageActionGiftStars
│ │ │ ├── currency → string
│ │ │ ├── amount → long
│ │ │ ├── stars → long
│ │ │ ├── crypto_currency → string (optional)
│ │ │ ├── crypto_amount → long (optional)
│ │ │ └── transaction_id → string (optional)
│ │ ├── MessageActionPrizeStars
│ │ │ ├── unclaimed → true (optional)
│ │ │ ├── stars → long
│ │ │ ├── transaction_id → string
│ │ │ ├── boost_peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── giveaway_msg_id → int
│ │ ├── MessageActionStarGift
│ │ │ ├── name_hidden → true (optional)
│ │ │ ├── saved → true (optional)
│ │ │ ├── converted → true (optional)
│ │ │ ├── upgraded → true (optional)
│ │ │ ├── refunded → true (optional)
│ │ │ ├── can_upgrade → true (optional)
│ │ │ ├── prepaid_upgrade → true (optional)
│ │ │ ├── upgrade_separate → true (optional)
│ │ │ ├── auction_acquired → true (optional)
│ │ │ ├── gift → StarGift
│ │ │ │ ├── StarGift
│ │ │ │ └── StarGiftUnique
│ │ │ ├── message → TextWithEntities (optional)
│ │ │ │ └── TextWithEntities
│ │ │ ├── convert_stars → long (optional)
│ │ │ ├── upgrade_msg_id → int (optional)
│ │ │ ├── upgrade_stars → long (optional)
│ │ │ ├── from_id → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── peer → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── saved_id → long (optional)
│ │ │ ├── prepaid_upgrade_hash → string (optional)
│ │ │ ├── gift_msg_id → int (optional)
│ │ │ ├── to_id → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ └── gift_num → int (optional)
│ │ ├── MessageActionStarGiftUnique
│ │ │ ├── upgrade → true (optional)
│ │ │ ├── transferred → true (optional)
│ │ │ ├── saved → true (optional)
│ │ │ ├── refunded → true (optional)
│ │ │ ├── prepaid_upgrade → true (optional)
│ │ │ ├── assigned → true (optional)
│ │ │ ├── from_offer → true (optional)
│ │ │ ├── craft → true (optional)
│ │ │ ├── gift → StarGift
│ │ │ │ ├── StarGift
│ │ │ │ └── StarGiftUnique
│ │ │ ├── can_export_at → int (optional)
│ │ │ ├── transfer_stars → long (optional)
│ │ │ ├── from_id → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── peer → Peer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── saved_id → long (optional)
│ │ │ ├── resale_amount → StarsAmount (optional)
│ │ │ │ ├── StarsAmount
│ │ │ │ └── StarsTonAmount
│ │ │ ├── can_transfer_at → int (optional)
│ │ │ ├── can_resell_at → int (optional)
│ │ │ ├── drop_original_details_stars → long (optional)
│ │ │ └── can_craft_at → int (optional)
│ │ │ ├── count → int
│ │ │ └── stars → long
│ │ │ ├── broadcast_messages_allowed → true (optional)
│ │ │ └── stars → long
│ │ ├── MessageActionConferenceCall
│ │ │ ├── missed → true (optional)
│ │ │ ├── active → true (optional)
│ │ │ ├── video → true (optional)
│ │ │ ├── call_id → long
│ │ │ ├── duration → int (optional)
│ │ │ └── other_participants → Vector < Peer > (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ │ ├── completed → Vector < int >
│ │ │ └── incompleted → Vector < int >
│ │ │ └── list → Vector < TodoItem >
│ │ │ └── TodoItem
│ │ │ ├── rejected → true (optional)
│ │ │ ├── balance_too_low → true (optional)
│ │ │ ├── reject_comment → string (optional)
│ │ │ ├── schedule_date → int (optional)
│ │ │ └── price → StarsAmount (optional)
│ │ │ ├── StarsAmount
│ │ │ └── StarsTonAmount
│ │ │ └── price → StarsAmount
│ │ │ ├── StarsAmount
│ │ │ └── StarsTonAmount
│ │ │ └── payer_initiated → true (optional)
│ │ ├── MessageActionGiftTon
│ │ │ ├── currency → string
│ │ │ ├── amount → long
│ │ │ ├── crypto_currency → string
│ │ │ ├── crypto_amount → long
│ │ │ └── transaction_id → string (optional)
│ │ │ └── birthday → Birthday
│ │ │ └── Birthday
│ │ │ ├── accepted → true (optional)
│ │ │ ├── declined → true (optional)
│ │ │ ├── gift → StarGift
│ │ │ │ ├── StarGift
│ │ │ │ └── StarGiftUnique
│ │ │ ├── price → StarsAmount
│ │ │ │ ├── StarsAmount
│ │ │ │ └── StarsTonAmount
│ │ │ └── expires_at → int
│ │ │ ├── expired → true (optional)
│ │ │ ├── gift → StarGift
│ │ │ │ ├── StarGift
│ │ │ │ └── StarGiftUnique
│ │ │ └── price → StarsAmount
│ │ │ ├── StarsAmount
│ │ │ └── StarsTonAmount
│ │ │ └── new_creator_id → long
│ │ ├── MessageActionChangeCreator
│ │ │ └── new_creator_id → long
│ │ │ ├── prev_value → Bool
│ │ │ └── new_value → Bool
│ │ │ ├── expired → true (optional)
│ │ │ ├── prev_value → Bool
│ │ │ └── new_value → Bool
│ │ │ └── answer → PollAnswer
│ │ │ ├── PollAnswer
│ │ │ └── InputPollAnswer
│ │ │ └── answer → PollAnswer
│ │ │ ├── PollAnswer
│ │ │ └── InputPollAnswer
│ │ └── bot_id → long
│ ├── reactions → MessageReactions (optional)
│ │ └── MessageReactions
│ │ ├── min → true (optional)
│ │ ├── can_see_list → true (optional)
│ │ ├── reactions_as_tags → true (optional)
│ │ ├── results → Vector < ReactionCount >
│ │ │ └── ReactionCount
│ │ ├── recent_reactions → Vector < MessagePeerReaction > (optional)
│ │ │ └── MessagePeerReaction
│ │ └── top_reactors → Vector < MessageReactor > (optional)
│ │ └── MessageReactor
│ └── ttl_period → int (optional)
├── pts → int
└── pts_count → int

Example

UpdateEditMessage(
    message=MessageEmpty(id=0),
    pts=0,
    pts_count=0,
)