Package org.drinkless.tdlib
Class TdApi.ChatInviteLinkSubscriptionInfo
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.ChatInviteLinkSubscriptionInfo
- Enclosing class:
- TdApi
Contains information about subscription plan that must be paid by the user to use a chat invite link.
-
Field Summary
FieldsModifier and TypeFieldDescriptionboolean
True, if the user has already paid for the subscription and can use joinChatByInviteLink to join the subscribed chat again.static final int
Identifier uniquely determining type of the object.long
Identifier of the payment form to use for subscription payment; 0 if the subscription can't be paid.Information about subscription plan that must be paid by the user to use the link. -
Constructor Summary
ConstructorsConstructorDescriptionContains 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. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
pricing
Information about subscription plan that must be paid by the user to use the link. -
canReuse
public boolean canReuseTrue, if the user has already paid for the subscription and can use joinChatByInviteLink to join the subscribed chat again. -
formId
public long formIdIdentifier of the payment form to use for subscription payment; 0 if the subscription can't be paid. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ChatInviteLinkSubscriptionInfo
public ChatInviteLinkSubscriptionInfo()Contains information about subscription plan that must be paid by the user to use a chat invite link. -
ChatInviteLinkSubscriptionInfo
public 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.- Parameters:
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.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-