Module tdlight.api

Class TdApi.GetChatListsToAddChat

Enclosing class:
TdApi

public static final class TdApi.GetChatListsToAddChat extends TdApi.Function<TdApi.ChatLists>
Returns chat lists to which the chat can be added. This is an offline request.

Returns ChatLists

  • Field Details

    • chatId

      public long chatId
      Chat identifier.
    • CONSTRUCTOR

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

    • GetChatListsToAddChat

      public GetChatListsToAddChat()
      Returns chat lists to which the chat can be added. This is an offline request.

      Returns ChatLists

    • GetChatListsToAddChat

      public GetChatListsToAddChat(long chatId)
      Returns chat lists to which the chat can be added. This is an offline request.

      Returns ChatLists

      Parameters:
      chatId - Chat identifier.

      Returns ChatLists

    • GetChatListsToAddChat

      public GetChatListsToAddChat(DataInput input) throws IOException
      Returns chat lists to which the chat can be added. This is an offline request.

      Returns ChatLists

      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