joinChannel method
Join Channel.
ID: 24b524c5
.
Implementation
Future<Result<UpdatesBase>> joinChannel({
required InputChannelBase channel,
}) async {
// Preparing the request.
final request = ChannelsJoinChannel(
channel: channel,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<UpdatesBase>();
}