Skip to content

Commit 9c58e50

Browse files
committed
Added the fields creates_join_request and pending_join_request_count to the ChatInviteLink entity.
1 parent 5e2e3e5 commit 9c58e50

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

src/Entities/ChatInviteLink.php

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,14 @@
1818
*
1919
* @link https://core.telegram.org/bots/api#chatinvitelink
2020
*
21-
* @method string GetInviteLink() The invite link. If the link was created by another chat administrator, then the second part of the link will be replaced with “…”
22-
* @method User getCreator() Creator of the link
23-
* @method bool getIsPrimary() True, if the link is primary
24-
* @method bool getIsRevoked() True, if the link is revoked
25-
* @method int getExpireDate() Optional. Point in time (Unix timestamp) when the link will expire or has been expired
26-
* @method int getMemberLimit() Optional. Maximum number of users that can be members of the chat simultaneously after joining the chat via this invite link; 1-99999
21+
* @method string GetInviteLink() The invite link. If the link was created by another chat administrator, then the second part of the link will be replaced with “…”
22+
* @method User getCreator() Creator of the link
23+
* @method bool getCreatesJoinRequest() True, if users joining the chat via the link need to be approved by chat administrators
24+
* @method bool getIsPrimary() True, if the link is primary
25+
* @method bool getIsRevoked() True, if the link is revoked
26+
* @method int getExpireDate() Optional. Point in time (Unix timestamp) when the link will expire or has been expired
27+
* @method int getMemberLimit() Optional. Maximum number of users that can be members of the chat simultaneously after joining the chat via this invite link; 1-99999
28+
* @method int getPendingJoinRequestCount() Optional. Number of pending join requests created using this link
2729
*/
2830
class ChatInviteLink extends Entity
2931
{

0 commit comments

Comments
 (0)