Module tdlight.api

Class TdApi.UpdateAnimationSearchParameters

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Update
it.tdlight.jni.TdApi.UpdateAnimationSearchParameters
Enclosing class:
TdApi

public static final class TdApi.UpdateAnimationSearchParameters extends TdApi.Update
The parameters of animation search through getOption("animation_search_bot_username") bot has changed.
  • Field Details

    • provider

      public String provider
      Name of the animation search provider.
    • emojis

      public String[] emojis
      The new list of emojis suggested for searching.
    • CONSTRUCTOR

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

    • UpdateAnimationSearchParameters

      public UpdateAnimationSearchParameters()
      The parameters of animation search through getOption("animation_search_bot_username") bot has changed.
    • UpdateAnimationSearchParameters

      public UpdateAnimationSearchParameters(String provider, String[] emojis)
      The parameters of animation search through getOption("animation_search_bot_username") bot has changed.
      Parameters:
      provider - Name of the animation search provider.
      emojis - The new list of emojis suggested for searching.
    • UpdateAnimationSearchParameters

      public UpdateAnimationSearchParameters(DataInput input) throws IOException
      The parameters of animation search through getOption("animation_search_bot_username") bot has changed.
      Parameters:
      input - Serialized input
      Throws:
      IOException - the deserialization failed
  • 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
    • serialize

      public void serialize(DataOutput output) throws IOException
      Serialize the TDLib class
      Specified by:
      serialize in class TdApi.Object
      Parameters:
      output - output data stream
      Throws:
      IOException - the serialization failed
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object