connectChannel abstract method

  1. @Get()
Future<Response<AlifResponse<Map<String, dynamic>>>> connectChannel({
  1. @Query('c_id') required String channelId,
  2. @Query('rx_id') required String receiverId,
  3. @Query() required String token,
  4. @Query('v') int version = 5,
  5. @Query() String method = 'connect_channel',
})

This method connects a receiver to a channel.

Implementation

@Get()
Future<Response<AlifResponse<Map<String, dynamic>>>> connectChannel({
  /// ID of the channel
  @Query('c_id') required String channelId,

  /// ID of the receiver
  @Query('rx_id') required String receiverId,

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

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

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