Module tdlight.api

Class TdApi.GetChat

Enclosing class:
TdApi

public static final class TdApi.GetChat extends TdApi.Function<TdApi.Chat>
Returns information about a chat by its identifier, this is an offline request if the current user is not a bot.

Returns Chat

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    long
    Chat identifier.
    static final int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Returns information about a chat by its identifier, this is an offline request if the current user is not a bot.
    GetChat(long chatId)
    Returns information about a chat by its identifier, this is an offline request if the current user is not a bot.
    Returns information about a chat by its identifier, this is an offline request if the current user is not a bot.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
     
    int
     
    void
     

    Methods inherited from class it.tdlight.jni.TdApi.Function

    toString

    Methods inherited from class it.tdlight.jni.TdApi.Object

    serialize

    Methods inherited from class java.lang.Object

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

    • chatId

      public long chatId
      Chat identifier.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • GetChat

      public GetChat()
      Returns information about a chat by its identifier, this is an offline request if the current user is not a bot.

      Returns Chat

    • GetChat

      public GetChat(long chatId)
      Returns information about a chat by its identifier, this is an offline request if the current user is not a bot.

      Returns Chat

      Parameters:
      chatId - long Chat identifier.
    • GetChat

      public GetChat(DataInput input) throws IOException
      Returns information about a chat by its identifier, this is an offline request if the current user is not a bot.

      Returns Chat

      Throws:
      IOException
  • Method Details