sendCustomMemo method

Future<void> sendCustomMemo({
  1. required int templateId,
  2. Map<String, String>? templateArgs,
})

KO: 나에게 사용자 정의 템플릿으로 메시지 발송
templateId에 메시지 템플릿 ID 전달

EN: Send message with custom template to me
Pass the message template ID to templateId

Implementation

Future<void> sendCustomMemo({
  required int templateId,
  Map<String, String>? templateArgs,
}) {
  SdkLog.d(
    '[TalkApi.sendCustomMemo] started | templateId=$templateId templateArgsCount=${templateArgs?.length ?? 0}',
  );
  return _sendMemo(
    pathPart: '',
    params: {
      Constants.templateId: templateId,
      Constants.templateArgs: ?templateArgs?.toJson(),
    },
  );
}