Add Edited Message Event support
This commit is contained in:
parent
2a08cc51de
commit
4829853d0e
3 changed files with 35 additions and 0 deletions
|
@ -166,6 +166,11 @@
|
|||
return UpdateEventType::CHANNEL_POST;
|
||||
}
|
||||
|
||||
if($update->getEditedMessage() !== null)
|
||||
{
|
||||
return UpdateEventType::EDITED_MESSAGE;
|
||||
}
|
||||
|
||||
return UpdateEventType::UPDATE_EVENT;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue