custom method

Future<LinkResult> custom(
  1. int templateId, {
  2. Map<String, String>? templateArgs,
})

Send KakaoLink messages with custom templates. This

Implementation

Future<LinkResult> custom(int templateId,
    {Map<String, String>? templateArgs}) async {
  return _validate("validate", {
    "template_id": templateId,
    "template_args": templateArgs == null ? null : jsonEncode(templateArgs)
  });
}