Class TdApi.SuggestedActionCustom

Enclosing class:
TdApi

public static class TdApi.SuggestedActionCustom extends TdApi.SuggestedAction
A custom suggestion to be shown at the top of the chat list.
  • Field Details

    • name

      public String name
      Unique name of the suggestion.
    • title

      public TdApi.FormattedText title
      Title of the suggestion.
    • description

      public TdApi.FormattedText description
      Description of the suggestion.
    • url

      public String url
      The link to open when the suggestion is clicked.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier 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 class TdApi.Object
      Returns:
      this.CONSTRUCTOR