Package org.drinkless.tdlib
Class TdApi.EditStarSubscription
- Enclosing class:
- TdApi
Cancels or re-enables Telegram Star subscription.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.boolean
New value of isCanceled.Identifier of the subscription to change. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which cancels or re-enables Telegram Star subscription.EditStarSubscription
(String subscriptionId, boolean isCanceled) Creates a function, which cancels or re-enables Telegram Star subscription. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
subscriptionId
Identifier of the subscription to change. -
isCanceled
public boolean isCanceledNew value of isCanceled. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
EditStarSubscription
public EditStarSubscription()Default constructor for a function, which cancels or re-enables Telegram Star subscription.Returns
Ok
-
EditStarSubscription
Creates a function, which cancels or re-enables Telegram Star subscription.Returns
Ok
- Parameters:
subscriptionId
- Identifier of the subscription to change.isCanceled
- New value of isCanceled.
-
-
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
-