sendVideoMessage static method
- @Deprecated('Instead of use Mirrorfly.sendMessage(messageParams: MessageParams.video())')
Sends a video message to a specified JID.
This method allows you to send a video message to a user or group identified by the jid
.
The filePath
parameter specifies the local path of the video file to be sent.
The caption
parameter allows you to add a text caption to the video message (optional).
The replyMessageID
parameter is used if the message is a reply to a previous message (optional).
Additional parameters such as imageFileUrl
and topicId
can be used for further customization (optional).
Implementation
@Deprecated(
'Instead of use Mirrorfly.sendMessage(messageParams: MessageParams.video())')
static Future<String> sendVideoMessage(
String jid, String filePath, String? caption, String? replyMessageID,
{String? videoFileUrl,
num? videoDuration,
String? thumbImageBase64,
String? topicId}) {
return FlyChatFlutterPlatform.instance.sendVideoMessage(
jid, filePath, caption, replyMessageID,
videoFileUrl: videoFileUrl,
videoDuration: videoDuration,
thumbImageBase64: thumbImageBase64,
topicId: topicId);
}