Class TdApi.ClearSearchedForTags

Enclosing class:
TdApi

public static class TdApi.ClearSearchedForTags extends TdApi.Function<TdApi.Ok>
Clears the list of recently searched for hashtags or cashtags.

Returns Ok

  • Nested Class Summary

    Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.Function

    TdApi.Function.Constructors
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    boolean
    Pass true to clear the list of recently searched for cashtags; otherwise, the list of recently searched for hashtags will be cleared.
    static final int
    Identifier uniquely determining type of the object.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor for a function, which clears the list of recently searched for hashtags or cashtags.
    ClearSearchedForTags(boolean clearCashtags)
    Creates a function, which clears the list of recently searched for hashtags or cashtags.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class org.drinkless.tdlib.TdApi.Function

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • clearCashtags

      public boolean clearCashtags
      Pass true to clear the list of recently searched for cashtags; otherwise, the list of recently searched for hashtags will be cleared.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • ClearSearchedForTags

      public ClearSearchedForTags()
      Default constructor for a function, which clears the list of recently searched for hashtags or cashtags.

      Returns Ok

    • ClearSearchedForTags

      public ClearSearchedForTags(boolean clearCashtags)
      Creates a function, which clears the list of recently searched for hashtags or cashtags.

      Returns Ok

      Parameters:
      clearCashtags - Pass true to clear the list of recently searched for cashtags; otherwise, the list of recently searched for hashtags will be cleared.
  • 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.Function<TdApi.Ok>
      Returns:
      this.CONSTRUCTOR