buildAcceptInviteNotification static method

Future<String> buildAcceptInviteNotification(
  1. String tid,
  2. String from,
  3. NIMMessageNotificationAttachment attachment
)

Implementation

static Future<String> buildAcceptInviteNotification(String tid, String from,
    NIMMessageNotificationAttachment attachment) async {
  return S.of().chatTeamNotifyAcceptInvite(
      await buildMemberListString(tid, attachment.targetIds!,
          needTeamNick: false),
      (await getTeamMemberDisplayName(tid, from)));
}