-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathActions.php
More file actions
74 lines (63 loc) · 1.61 KB
/
Copy pathActions.php
File metadata and controls
74 lines (63 loc) · 1.61 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<?php namespace bot;
/**
* Chat Actions let you broadcast a type of action depending
* on what the user is about to receive. The status is
* set for 5 seconds or less (when a message arrives
* from your bot, Telegram clients clear its typing
* status).
*
* @author Mehdi Khodayari <mehdi.khodayari.khoram@gmail.com>
* @since 2.0.1
*
* Class Actions
* @package bot
* @link https://core.telegram.org/bots/api#sendchataction
*/
abstract class Actions
{
/**
* Sets chat status as Typing.
* @var string
*/
const TYPING = 'typing';
/**
* Sets chat status as Sending Photo.
* @var string
*/
const UPLOAD_PHOTO = 'upload_photo';
/**
* Sets chat status as Sending Video.
* @var string
*/
const UPLOAD_VIDEO = 'upload_video';
/**
* Sets chat status as Sending Audio.
* @var string
*/
const UPLOAD_AUDIO = 'upload_audio';
/**
* Sets chat status as Sending Document.
* @var string
*/
const UPLOAD_DOCUMENT = 'upload_document';
/**
* Sets chat status as Choosing Geo.
* @var string
*/
const FIND_LOCATION = 'find_location';
/**
* Sets chat status as Recording Video.
* @var string
*/
const RECORD_VIDEO = 'record_video';
/**
* Sets chat status as Recording Video Note.
* @var string
*/
const RECORD_VIDEO_NOTE = 'record_video_note';
/**
* Sets chat status as Sending Video Note.
* @var string
*/
const UPLOAD_VIDEO_NOTE = 'upload_video_note ';
}