Add doc comments for event methods

This commit is contained in:
netkas 2024-11-01 18:05:02 -04:00
parent cd691703ee
commit c7edc420f3
3 changed files with 11 additions and 1 deletions

View file

@ -14,6 +14,11 @@
return EventType::CHAT_JOIN_REQUEST_EVENT;
}
/**
* Retrieves the chat join request from the update.
*
* @return ChatJoinRequest The chat join request data.
*/
protected function getChatJoinRequest(): ChatJoinRequest
{
return $this->update->getChatJoinRequest();