mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-26 19:24:42 +01:00
add editHide to Message
This commit is contained in:
parent
7629e33f85
commit
84f1c4d39b
@ -88,6 +88,12 @@ abstract class Message extends AbstractMessage
|
||||
/** Last edit date of the message */
|
||||
public readonly ?int $editDate;
|
||||
|
||||
/**
|
||||
* Indicates if the post has a hidden edit, which is an edit that does not modify the actual message content.
|
||||
* Used to signify non-content related updates such as reactions.
|
||||
*/
|
||||
public readonly ?bool $editHide;
|
||||
|
||||
/** Inline or reply keyboard. */
|
||||
public readonly InlineKeyboard|ReplyKeyboard|null $keyboard;
|
||||
|
||||
@ -147,6 +153,7 @@ abstract class Message extends AbstractMessage
|
||||
$this->signature = $rawMessage['post_author'] ?? null;
|
||||
$this->groupedId = $rawMessage['grouped_id'] ?? null;
|
||||
$this->editDate = $rawMessage['edit_date'] ?? null;
|
||||
$this->editHide = $rawMessage['edit_hide'] ?? null;
|
||||
$this->message = $rawMessage['message'];
|
||||
$this->fromScheduled = $rawMessage['from_scheduled'] ?? false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user