addChannelUrl method

Future<Uri> addChannelUrl(
  1. String channelPublicId
)

KO: 카카오톡 채널 추가 페이지 URL 반환
channelPublicId에 카카오톡 채널 프로필 ID 전달

EN: Returns a URL to add a Kakao Talk Channel as a friend
Pass Kakao Talk Channel profile ID to channelPublicId

Implementation

Future<Uri> addChannelUrl(final String channelPublicId) async {
  return Uri(
      scheme: Constants.scheme,
      host: KakaoSdk.hosts.pf,
      path: "/$channelPublicId/${Constants.friend}",
      queryParameters: await _channelBaseParams());
}