Add support for edited channel post events

This commit is contained in:
netkas 2024-11-03 17:15:47 -05:00
parent 325e29a930
commit 041c2dc84c
3 changed files with 35 additions and 0 deletions

View file

@ -156,6 +156,11 @@
return UpdateEventType::BUSINESS_CONNECTION;
}
if($update->getEditedChannelPost() !== null)
{
return UpdateEventType::EDITED_CHANNEL_POST;
}
return UpdateEventType::UPDATE_EVENT;
}
}