You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Telegram/ChatInviteLink.php
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,12 @@ class ChatInviteLink extends Type
40
40
/** <em>Optional</em>. Number of pending join requests created using this link */
41
41
public ?int$pending_join_request_count = null;
42
42
43
+
/** <em>Optional</em>. The number of seconds the subscription will be active for before the next payment */
44
+
public ?int$subscription_period = null;
45
+
46
+
/** <em>Optional</em>. The amount of Telegram Stars a user must pay initially and after each subsequent subscription period to be a member of the chat using the link */
47
+
public ?int$subscription_price = null;
48
+
43
49
/**
44
50
* @param string $invite_link The invite link. If the link was created by another chat administrator, then the second part of the link will be replaced with “…”.
45
51
* @param User $creator Creator of the link
@@ -50,6 +56,8 @@ class ChatInviteLink extends Type
50
56
* @param int $expire_date <em>Optional</em>. Point in time (Unix timestamp) when the link will expire or has been expired
51
57
* @param int $member_limit <em>Optional</em>. The maximum number of users that can be members of the chat simultaneously after joining the chat via this invite link; 1-99999
52
58
* @param int $pending_join_request_count <em>Optional</em>. Number of pending join requests created using this link
59
+
* @param int $subscription_period <em>Optional</em>. The number of seconds the subscription will be active for before the next payment
60
+
* @param int $subscription_price <em>Optional</em>. The amount of Telegram Stars a user must pay initially and after each subsequent subscription period to be a member of the chat using the link
0 commit comments