Class TdApi.TerminateSession

Enclosing class:
TdApi

public static class TdApi.TerminateSession
extends TdApi.Function
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:
      Constant Field Values
  • 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
      Throws:
      IOException
  • Method Details