sendContactMessage static method
- @Deprecated('Instead of use Mirrorfly.sendMessage(messageParams: MessageParams.contact())')
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);
}