buildAcceptInviteNotification static method

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

Implementation

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