Skip to content

Commit

Permalink
Add edited message to update
Browse files Browse the repository at this point in the history
  • Loading branch information
makasim committed Apr 15, 2019
1 parent 4f558a6 commit 1d22e6c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Update.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ public function getMessage(): ?Message
return get_object($this, 'message', Message::class);
}

public function getEditedMessage(): ?Message
{
return get_object($this, 'edited_message', Message::class);
}

public function getCallbackQuery(): ?CallbackQuery
{
return get_object($this, 'callback_query', CallbackQuery::class);
Expand Down

0 comments on commit 1d22e6c

Please sign in to comment.