public static class TdApi.ChatInviteLinkSubscriptionInfo extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
canReuse
True, if the user has already paid for the subscription and can use joinChatByInviteLink to join the subscribed chat again.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long |
formId
Identifier of the payment form to use for subscription payment; 0 if the subscription can't be paid.
|
TdApi.StarSubscriptionPricing |
pricing
Information about subscription plan that must be paid by the user to use the link.
|
| Constructor and Description |
|---|
ChatInviteLinkSubscriptionInfo()
Contains information about subscription plan that must be paid by the user to use a chat invite link.
|
ChatInviteLinkSubscriptionInfo(TdApi.StarSubscriptionPricing pricing,
boolean canReuse,
long formId)
Contains information about subscription plan that must be paid by the user to use a chat invite link.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.StarSubscriptionPricing pricing
public boolean canReuse
public long formId
public static final int CONSTRUCTOR
public ChatInviteLinkSubscriptionInfo()
public ChatInviteLinkSubscriptionInfo(TdApi.StarSubscriptionPricing pricing, boolean canReuse, long formId)
pricing - Information about subscription plan that must be paid by the user to use the link.canReuse - True, if the user has already paid for the subscription and can use joinChatByInviteLink to join the subscribed chat again.formId - Identifier of the payment form to use for subscription payment; 0 if the subscription can't be paid.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object