sendContactMessage static method

  1. @Deprecated('Instead of use Mirrorfly.sendMessage(messageParams: MessageParams.contact())')
Future<String> sendContactMessage(
  1. List<String> contactList,
  2. String jid,
  3. String contactName,
  4. String replyMessageId, {
  5. String? topicId,
})

Sends a contact message to a specified JID.

This method allows you to send a contact message to a user or group identified by the jid. The contactList parameter is a list of strings, each representing a contact's unique identifier. The contactName parameter specifies the name of the contact being sent. The replyMessageId parameter is used if the message is a reply to a previous message (optional). Additional parameters such as contactFileUrl and topicId can be used for further customization (optional).

Implementation

@Deprecated(
    'Instead of use Mirrorfly.sendMessage(messageParams: MessageParams.contact())')
static Future<String> sendContactMessage(List<String> contactList, String jid,
    String contactName, String replyMessageId,
    {String? topicId}) {
  return FlyChatFlutterPlatform.instance.sendContactMessage(
      contactList, jid, contactName, replyMessageId,
      topicId: topicId);
}