Page MenuHomePhabricator (Chris)

ChatJoinRequest.php
No OneTemporary

Authored By
Unknown
Size
989 B
Referenced Files
None
Subscribers
None

ChatJoinRequest.php

<?php
namespace Longman\TelegramBot\Entities;
/**
* Class ChatJoinRequest
*
* Represents a join request sent to a chat.
*
* @link https://core.telegram.org/bots/api#chatjoinrequest
*
* @method Chat getChat() Chat to which the request was sent
* @method User getFrom() User that sent the join request
* @method int getUserChatId() Identifier of a private chat with the user who sent the join request.
* @method int getDate() Date the request was sent in Unix time
* @method string getBio() Optional. Bio of the user.
* @method ChatInviteLink getInviteLink() Optional. Chat invite link that was used by the user to send the join request
*/
class ChatJoinRequest extends Entity
{
protected function subEntities(): array
{
return [
'chat' => Chat::class,
'from' => User::class,
'invite_link' => ChatInviteLink::class,
];
}
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Nov 14, 4:11 PM (8 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
124713
Default Alt Text
ChatJoinRequest.php (989 B)

Event Timeline