Class TdApi.EditBusinessChatLink
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.BusinessChatLink>
dev.voroby.springframework.telegram.client.TdApi.EditBusinessChatLink
- Enclosing class:
- TdApi
Edits a business chat link of the current account. Requires Telegram Business subscription. Returns the edited link.
Returns BusinessChatLink
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.The link to edit.New description of the link. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which edits a business chat link of the current account.EditBusinessChatLink
(String link, TdApi.InputBusinessChatLink linkInfo) Creates a function, which edits a business chat link of the current account. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Function
toString
-
Field Details
-
link
The link to edit. -
linkInfo
New description of the link. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
EditBusinessChatLink
public EditBusinessChatLink()Default constructor for a function, which edits a business chat link of the current account. Requires Telegram Business subscription. Returns the edited link.Returns
BusinessChatLink
-
EditBusinessChatLink
Creates a function, which edits a business chat link of the current account. Requires Telegram Business subscription. Returns the edited link.Returns
BusinessChatLink
- Parameters:
link
- The link to edit.linkInfo
- New description of the link.
-
-
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
-