customWithTalk method

Future<Uri> customWithTalk(
  1. int templateId, {
  2. Map<String, String>? templateArgs,
  3. Map<String, String>? serverCallbackArgs,
})

Send KakaoLink messages with custom templates.

Implementation

Future<Uri> customWithTalk(int templateId,
    {Map<String, String>? templateArgs,
    Map<String, String>? serverCallbackArgs}) async {
  final response = await api.custom(templateId, templateArgs: templateArgs);
  return talkWithResponse(response, serverCallbackArgs: serverCallbackArgs);
}