Skip to content

Commit

Permalink
Correct behaviour on InaccessibleMessage::$date
Browse files Browse the repository at this point in the history
  • Loading branch information
TiiFuchs committed Feb 4, 2024
1 parent 4f0889a commit c6fdff7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Telegram/InaccessibleMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
*/
class InaccessibleMessage extends MaybeInaccessibleMessage
{
/** Always 0. The field can be used to differentiate regular and inaccessible messages. */
public int $date = 0;

/**
* @param Chat $chat Chat the message belonged to
* @param int $message_id Unique message identifier inside the chat
Expand Down

0 comments on commit c6fdff7

Please sign in to comment.