Module tdlight.api

Class TdApi.InputStoryAreaTypeFoundVenue

Enclosing class:
TdApi

public static final class TdApi.InputStoryAreaTypeFoundVenue extends TdApi.InputStoryAreaType
An area pointing to a venue found by the bot getOption("venue_search_bot_username").
  • Field Details

    • queryId

      public long queryId
      Identifier of the inline query, used to found the venue.
    • resultId

      public String resultId
      Identifier of the inline query result.
    • CONSTRUCTOR

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

    • InputStoryAreaTypeFoundVenue

      public InputStoryAreaTypeFoundVenue()
      An area pointing to a venue found by the bot getOption("venue_search_bot_username").
    • InputStoryAreaTypeFoundVenue

      public InputStoryAreaTypeFoundVenue(long queryId, String resultId)
      An area pointing to a venue found by the bot getOption("venue_search_bot_username").
      Parameters:
      queryId - Identifier of the inline query, used to found the venue.
      resultId - Identifier of the inline query result.
    • InputStoryAreaTypeFoundVenue

      public InputStoryAreaTypeFoundVenue(DataInput input) throws IOException
      An area pointing to a venue found by the bot getOption("venue_search_bot_username").
      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