-
Notifications
You must be signed in to change notification settings - Fork 0
/
categorias.php
45 lines (40 loc) · 1.25 KB
/
categorias.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
$bot->cmd('/emagrecimento|/beleza', function () {
require_once __DIR__.'/categorias/emagrecimentoebeleza.php';
$message = Bot::message();
$name = $message['from']['first_name'];
$userId = $message['from']['id'];
$options = [
'parse_mode' => 'html',
'reply' => true,
//'chat_id' => $userId,
'cache_time' => 3600,
];
return Bot::sendMessage($emagrecimentoebeleza, $options);
});
$bot->cmd('/lanches', function () {
require_once __DIR__.'/categorias/lanches.php';
$message = Bot::message();
$name = $message['from']['first_name'];
$userId = $message['from']['id'];
$options = [
'parse_mode' => 'html',
'reply' => true,
//'chat_id' => $userId,
'cache_time' => 3600,
];
return Bot::sendMessage($lanchonetes, $options);
});
$bot->cmd('/locacao_brinquedos', function () {
require_once __DIR__.'/categorias/locacao_brinquedos.php';
$message = Bot::message();
$name = $message['from']['first_name'];
$userId = $message['from']['id'];
$options = [
'parse_mode' => 'html',
'reply' => true,
//'chat_id' => $userId,
'cache_time' => 3600,
];
return Bot::sendMessage($locacao_brinquedos, $options);
});