Add support for business message events

This commit is contained in:
netkas 2024-11-03 17:11:16 -05:00
parent b40ee01d6e
commit 2f87996bd3
3 changed files with 36 additions and 0 deletions

View file

@ -146,6 +146,11 @@
return UpdateEventType::EDITED_BUSINESS_MESSAGE;
}
if($update->getBusinessMessage() !== null)
{
return UpdateEventType::BUSINESS_MESSAGE;
}
return UpdateEventType::UPDATE_EVENT;
}
}