Add support for handling channel post events

This commit is contained in:
netkas 2024-11-03 17:18:39 -05:00
parent 041c2dc84c
commit 2a08cc51de
3 changed files with 36 additions and 0 deletions

View file

@ -161,6 +161,11 @@
return UpdateEventType::EDITED_CHANNEL_POST;
}
if($update->getChannelPost() !== null)
{
return UpdateEventType::CHANNEL_POST;
}
return UpdateEventType::UPDATE_EVENT;
}
}