Package org.drinkless.tdlib
Class TdApi.CreateBusinessChatLink
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.BusinessChatLink>
org.drinkless.tdlib.TdApi.CreateBusinessChatLink
- Enclosing class:
- TdApi
Creates a business chat link for the current account. Requires Telegram Business subscription. There can be up to getOption("business_chat_link_count_max") links created. Returns the created link.
Returns BusinessChatLink
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.Information about the link to create. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which creates a business chat link for the current account.Creates a function, which creates a business chat link for the current account. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
linkInfo
Information about the link to create. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
CreateBusinessChatLink
public CreateBusinessChatLink()Default constructor for a function, which creates a business chat link for the current account. Requires Telegram Business subscription. There can be up to getOption("business_chat_link_count_max") links created. Returns the created link.Returns
BusinessChatLink -
CreateBusinessChatLink
Creates a function, which creates a business chat link for the current account. Requires Telegram Business subscription. There can be up to getOption("business_chat_link_count_max") links created. Returns the created link.Returns
BusinessChatLink- Parameters:
linkInfo- Information about the link to create.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-