parent
beb74f251e
commit
de25e9b395
20
SendVideo.md
Normal file
20
SendVideo.md
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
> SendVideo($destination, $url)
|
||||||
|
|
||||||
|
```
|
||||||
|
<?php
|
||||||
|
#
|
||||||
|
# include class
|
||||||
|
#
|
||||||
|
require('Telegram.class.php');
|
||||||
|
|
||||||
|
#
|
||||||
|
# instance
|
||||||
|
#
|
||||||
|
$bot = new TelegramBot('mytoken');
|
||||||
|
|
||||||
|
#
|
||||||
|
# send a video: url or local path
|
||||||
|
#
|
||||||
|
$bot->SendVideo('362870431', 'vid.mp4');
|
||||||
|
?>
|
||||||
|
```
|
||||||
Loading…
Reference in New Issue
Block a user