InternalLinkTypeUserPhoneNumber constructor

const InternalLinkTypeUserPhoneNumber({
  1. required String phoneNumber,
  2. required String draftText,
  3. required bool openProfile,
  4. required String unpaidMessagesToken,
  5. dynamic extra,
  6. int? clientId,
})

The link is a link to a user by its phone number. Call searchUserByPhoneNumber with the given phone number to process the link. If the user is found, then call createPrivateChat and open user's profile information screen or the chat itself. If draft text isn't empty, then put the draft text in the input field

Implementation

const InternalLinkTypeUserPhoneNumber({
  required this.phoneNumber,
  required this.draftText,
  required this.openProfile,
  required this.unpaidMessagesToken,
  this.extra,
  this.clientId,
});