disconnectChannel abstract method

  1. @Get()
Future<Response<AlifResponse<Map<String, dynamic>>>> disconnectChannel({
  1. @Query('rx_id') required String receiverId,
  2. @Query() required String token,
  3. @Query() int force = 0,
  4. @Query('v') int version = 6,
  5. @Query() String method = 'disconnect_channel',
})

This method disconnects a receiver, a number of receivers, or all connected receivers.

Implementation

@Get()
Future<Response<AlifResponse<Map<String, dynamic>>>> disconnectChannel({
  /// ID(s) of the receiver, as an integer, or comma-separated set of integers.
  /// Optional. If not supplied, all connections will be ended
  @Query('rx_id') required String receiverId,

  /// Authentication token of a currently logged-in user (active session)
  @Query() required String token,

  /// whether to disconnect existing connections by other users,
  /// or for offline receivers
  @Query() int force = 0,

  /// The AIM API version this request is designed for
  @Query('v') int version = 6,

  /// The remote procedure to call. Do not edit this
  @Query() String method = 'disconnect_channel',
});