-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChatAction.php
executable file
·91 lines (78 loc) · 2.44 KB
/
ChatAction.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
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<?php
/*
* This file is part of the TelegramBotPHP package.
* https://github.com/ErfanBahramali/Telegram-Bot-PHP
*/
namespace TelegramBotPHP\Constants;
/**
* @link https://core.telegram.org/bots/api#sendchataction
*/
class ChatAction
{
/**
* Typing chat action
* typing for text messages
* @link https://core.telegram.org/bots/api#sendmessage
*/
public const TYPING = 'typing';
/**
* Upload Photo chat action
* upload_photo for photos
* @link https://core.telegram.org/bots/api#sendphoto
*/
public const UPLOAD_PHOTO = 'upload_photo';
/**
* Record Video chat action
* record_video or upload_video for videos
* @link https://core.telegram.org/bots/api#sendvideo
*/
public const RECORD_VIDEO = 'record_video';
/**
* Upload Video chat action
* record_video or upload_video for videos
* @link https://core.telegram.org/bots/api#sendvideo
*/
public const UPLOAD_VIDEO = 'upload_video';
/**
* Record Voice chat action
* record_voice or upload_voice for voice notes
* @link https://core.telegram.org/bots/api#sendvoice
*/
public const RECORD_VOICE = 'record_voice';
/**
* Upload Voice chat action
* record_voice or upload_voice for voice notes
* @link https://core.telegram.org/bots/api#sendvoice
*/
public const UPLOAD_VOICE = 'upload_voice';
/**
* Upload Document chat action
* upload_document for general files
* @link https://core.telegram.org/bots/api#senddocument
*/
public const UPLOAD_DOCUMENT = 'upload_document';
/**
* Choose Sticker chat action
* choose_sticker for stickers
* @link https://core.telegram.org/bots/api#sendsticker
*/
public const CHOOSE_STICKER = 'choose_sticker';
/**
* Find Location chat action
* find_location for location data
* @link https://core.telegram.org/bots/api#sendlocation
*/
public const FIND_LOCATION = 'find_location';
/**
* Record Video Note chat action
* record_video_note or upload_video_note for video notes
* @link https://core.telegram.org/bots/api#sendvideonote
*/
public const RECORD_VIDEO_NOTE = 'record_video_note';
/**
* Upload Video note chat action
* record_video_note or upload_video_note for video notes
* @link https://core.telegram.org/bots/api#sendvideonote
*/
public const UPLOAD_VIDEO_NOTE = 'upload_video_note';
}