Hashtag for telegram

This commit is contained in:
Ibnu Maksum 2022-09-07 15:28:59 +07:00
parent 6c64d0944f
commit 19f79680ff
No known key found for this signature in database
GPG key ID: 7FC82848810579E5
3 changed files with 32 additions and 7 deletions

View file

@ -247,7 +247,8 @@ switch ($action) {
$v1->user = $c['username'];
$v1->save();
// Telegram to Admin
sendTelegram( $c['username']." Activate Voucher Hotspot\n".$p['name_plan'].
sendTelegram( '#'.$c['username']." Activate #Voucher #Hotspot\n".$p['name_plan'].
"\nCode: ".$code.
"\nRouter: ".$v1['routers'].
"\nPrice: ".$p['price']);
} else {
@ -351,7 +352,8 @@ switch ($action) {
$v1->user = $c['username'];
$v1->save();
// Telegram to Admin
sendTelegram( $c['username']." Activate Voucher PPPOE\n".$p['name_plan'].
sendTelegram( '#'.$c['username']." Activate #Voucher #PPPOE\n".$p['name_plan'].
"\nCode: ".$code.
"\nRouter: ".$v1['routers'].
"\nPrice: ".$p['price']);
}