sendVideoMessage static method

  1. @Deprecated('Instead of use Mirrorfly.sendMessage(messageParams: MessageParams.video())')
Future<String> sendVideoMessage(
  1. String jid,
  2. String filePath,
  3. String? caption,
  4. String? replyMessageID, {
  5. String? videoFileUrl,
  6. num? videoDuration,
  7. String? thumbImageBase64,
  8. String? topicId,
})

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);
}