openTelegramChannelViaShareLink method

Future openTelegramChannelViaShareLink({
  1. required String inviteLink,
})

Open a channel on Telegram app method. The method required an inviteLink of the channel.

Working on: Android and iOS platforms.

Implementation

Future<dynamic> openTelegramChannelViaShareLink({
  required String inviteLink,
}) async {
  return _channel.invokeMethod(
    'openTelegramChannelViaShareLink',
    <String, dynamic>{
      'inviteLink': inviteLink,
    },
  );
}