Package org.drinkless.tdlib
Class TdApi.SuggestedActionCustom
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.SuggestedAction
org.drinkless.tdlib.TdApi.SuggestedActionCustom
- Enclosing class:
- TdApi
A custom suggestion to be shown at the top of the chat list.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.Description of the suggestion.Unique name of the suggestion.Title of the suggestion.The link to open when the suggestion is clicked. -
Constructor Summary
ConstructorsConstructorDescriptionA custom suggestion to be shown at the top of the chat list.SuggestedActionCustom
(String name, TdApi.FormattedText title, TdApi.FormattedText description, String url) A custom suggestion to be shown at the top of the chat list. -
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
-
name
Unique name of the suggestion. -
title
Title of the suggestion. -
description
Description of the suggestion. -
url
The link to open when the suggestion is clicked. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SuggestedActionCustom
public SuggestedActionCustom()A custom suggestion to be shown at the top of the chat list. -
SuggestedActionCustom
public SuggestedActionCustom(String name, TdApi.FormattedText title, TdApi.FormattedText description, String url) A custom suggestion to be shown at the top of the chat list.- Parameters:
name
- Unique name of the suggestion.title
- Title of the suggestion.description
- Description of the suggestion.url
- The link to open when the suggestion is clicked.
-
-
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
-