Module tdlight.api

Class TdApi.TerminateSession

Enclosing class:
TdApi

public static final class TdApi.TerminateSession extends TdApi.Function<TdApi.Ok>
Terminates a session of the current user.

Returns Ok

  • Field Details

    • sessionId

      public long sessionId
      Session identifier.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • TerminateSession

      public TerminateSession()
      Terminates a session of the current user.

      Returns Ok

    • TerminateSession

      public TerminateSession(long sessionId)
      Terminates a session of the current user.

      Returns Ok

      Parameters:
      sessionId - long Session identifier.
    • TerminateSession

      public TerminateSession(DataInput input) throws IOException
      Terminates a session of the current user.

      Returns Ok

      Throws:
      IOException
  • Method Details