parent
f8a64f4ae2
commit
30c9f29efe
22
SendLocation.md
Normal file
22
SendLocation.md
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
> SendLocation($destination, $lat, $long)
|
||||
|
||||
```
|
||||
<?php
|
||||
#
|
||||
# include class
|
||||
#
|
||||
require('Telegram.class.php');
|
||||
|
||||
#
|
||||
# instance
|
||||
#
|
||||
$bot = new TelegramBot('mytoken');
|
||||
|
||||
#
|
||||
# Chat action method
|
||||
#
|
||||
$bot->SendLocation('DestinationMsgId', '43.890100441763764', '8.040899920866764');
|
||||
|
||||
|
||||
?>
|
||||
```
|
||||
Loading…
Reference in New Issue
Block a user