updateWelcomeMessage method

Future<void> updateWelcomeMessage({
  1. ChatMessageText? text,
  2. List<Attachment>? attachments,
})

Updates the WelcomeMessage of the authenticated MyUser.

Implementation

Future<void> updateWelcomeMessage({
  ChatMessageText? text,
  List<Attachment>? attachments,
}) async {
  Log.debug(
    'updateWelcomeMessage(text: $text, attachments: $attachments)',
    '$runtimeType',
  );

  await _myUserRepository.updateWelcomeMessage(
    text: text,
    attachments: attachments,
  );
}