Add doc comments for event methods
This commit is contained in:
parent
cd691703ee
commit
c7edc420f3
3 changed files with 11 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue