Airgram

Guides
/
/
Methods

api.terminateAllOtherSessions()

Terminates all other sessions of the current user

Returns ApiResponse interface:
interface ApiResponse {
  _: 'terminateAllOtherSessions' | 'error'
  airgram: Airgram
  request: {
    method: 'terminateAllOtherSessions'
  }
  response:  | 
  setState: (nextState: Record<string, unknown>) => void
  getState: () => Record<string, unknown>
}