favoriteChatContact abstract method

Future<void> favoriteChatContact(
  1. ChatContactId id,
  2. 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,
);