favoriteChatContact method
- ChatContactId id, [
- ChatContactFavoritePosition? position
Marks the specified ChatContact as favorited for the authenticated MyUser and sets its position in the favorites list.
Implementation
Future<void> favoriteChatContact(
ChatContactId id, [
ChatContactFavoritePosition? position,
]) async {
Log.debug('favoriteChatContact($id, $position)', '$runtimeType');
await _contactRepository.favoriteChatContact(id, position);
}