Telegram Chat Box Demo! arrow

wp_telegram_send_video()

Description

Returns the send Video result.

This function can be used in your themes or plugins for sending Videos simply.

 

Parameters

wp_telegram_send_video( $channel_name, $video, $msg, $after_text = false );
  • $channel_name (string) (Required) The Channel name(@YourChannelName) OR Channel ID(-100xxxxxxxxxx) or Group ID (-xxxxxxxxxx)
  • $video (string) (Required) The image URL.
  • $msg (string) (Required) The SMS text message.
  • $after_text (bool) (Optional) Showing after text if become true.

 

Example

Send Video message to a channel

$channel_name = "@YourChannelName"
$video = "Your Video URL" // E.g: http://your-website.com/your-video.mp4
$msg = "This is a test message.";
$after_text = true;

wp_telegram_send_video( $channel_name, $image, $msg, $after_text = false );

Feel free to contact!