@@ -6,18 +6,18 @@ |
||
6 | 6 | * Different type of updates |
7 | 7 | */ |
8 | 8 | class updateTypes { |
9 | - public const MESSAGE = 'message'; |
|
10 | - public const EDITED_MESSAGE = 'edited_message'; |
|
11 | - public const CHANNEL_POST = 'channel_post'; |
|
12 | - public const EDITED_CHANNEL_POST = 'edited_channel_post'; |
|
13 | - public const INLINE_QUERY = 'inline_query'; |
|
14 | - public const CHOSEN_INLINE_RESULT = 'chosen_inline_result'; |
|
15 | - public const CALLBACK_QUERY = 'callback_query'; |
|
16 | - public const SHIPPING_QUERY = 'shipping_query'; |
|
17 | - public const PRE_CHECKOUT_QUERY = 'pre_checkout_query'; |
|
18 | - public const POLL = 'poll'; |
|
19 | - public const POLL_ANSWER = 'poll_answer'; |
|
20 | - public const MY_CHAT_MEMBER = 'my_chat_member'; |
|
21 | - public const CHAT_MEMBER = 'chat_member'; |
|
22 | - public const CHAT_JOIN_REQUEST = 'chat_join_request'; |
|
9 | + public const MESSAGE = 'message'; |
|
10 | + public const EDITED_MESSAGE = 'edited_message'; |
|
11 | + public const CHANNEL_POST = 'channel_post'; |
|
12 | + public const EDITED_CHANNEL_POST = 'edited_channel_post'; |
|
13 | + public const INLINE_QUERY = 'inline_query'; |
|
14 | + public const CHOSEN_INLINE_RESULT = 'chosen_inline_result'; |
|
15 | + public const CALLBACK_QUERY = 'callback_query'; |
|
16 | + public const SHIPPING_QUERY = 'shipping_query'; |
|
17 | + public const PRE_CHECKOUT_QUERY = 'pre_checkout_query'; |
|
18 | + public const POLL = 'poll'; |
|
19 | + public const POLL_ANSWER = 'poll_answer'; |
|
20 | + public const MY_CHAT_MEMBER = 'my_chat_member'; |
|
21 | + public const CHAT_MEMBER = 'chat_member'; |
|
22 | + public const CHAT_JOIN_REQUEST = 'chat_join_request'; |
|
23 | 23 | } |
@@ -7,33 +7,33 @@ |
||
7 | 7 | * set for 5 seconds or less (when a message arrives from your bot, Telegram clients clear its status) |
8 | 8 | */ |
9 | 9 | class chatActions { |
10 | - /** Sets chat status as Typing */ |
|
11 | - public const TYPING = 'typing'; |
|
10 | + /** Sets chat status as Typing */ |
|
11 | + public const TYPING = 'typing'; |
|
12 | 12 | |
13 | - /** Sets chat status as Sending Photo */ |
|
14 | - public const UPLOAD_PHOTO = 'upload_photo'; |
|
13 | + /** Sets chat status as Sending Photo */ |
|
14 | + public const UPLOAD_PHOTO = 'upload_photo'; |
|
15 | 15 | |
16 | - /** Sets chat status as Recording Video */ |
|
17 | - public const RECORD_VIDEO = 'record_video'; |
|
16 | + /** Sets chat status as Recording Video */ |
|
17 | + public const RECORD_VIDEO = 'record_video'; |
|
18 | 18 | |
19 | - /** Sets chat status as Sending Video */ |
|
20 | - public const UPLOAD_VIDEO = 'upload_video'; |
|
19 | + /** Sets chat status as Sending Video */ |
|
20 | + public const UPLOAD_VIDEO = 'upload_video'; |
|
21 | 21 | |
22 | - /** Sets chat status as Recording Audio */ |
|
23 | - public const RECORD_AUDIO = 'record_audio'; |
|
22 | + /** Sets chat status as Recording Audio */ |
|
23 | + public const RECORD_AUDIO = 'record_audio'; |
|
24 | 24 | |
25 | - /** Sets chat status as Sending Audio */ |
|
26 | - public const UPLOAD_AUDIO = 'upload_audio'; |
|
25 | + /** Sets chat status as Sending Audio */ |
|
26 | + public const UPLOAD_AUDIO = 'upload_audio'; |
|
27 | 27 | |
28 | - /** Sets chat status as Sending Document */ |
|
29 | - public const UPLOAD_DOCUMENT = 'upload_document'; |
|
28 | + /** Sets chat status as Sending Document */ |
|
29 | + public const UPLOAD_DOCUMENT = 'upload_document'; |
|
30 | 30 | |
31 | - /** Sets chat status as Choosing Geo */ |
|
32 | - public const FIND_LOCATION = 'find_location'; |
|
31 | + /** Sets chat status as Choosing Geo */ |
|
32 | + public const FIND_LOCATION = 'find_location'; |
|
33 | 33 | |
34 | - /** Sets chat status as Recording Video Note */ |
|
35 | - public const RECORD_VIDEO_NOTE = 'record_video_note'; |
|
34 | + /** Sets chat status as Recording Video Note */ |
|
35 | + public const RECORD_VIDEO_NOTE = 'record_video_note'; |
|
36 | 36 | |
37 | - /** Sets chat status as Sending Video Note */ |
|
38 | - public const UPLOAD_VIDEO_NOTE = 'upload_video_note'; |
|
37 | + /** Sets chat status as Sending Video Note */ |
|
38 | + public const UPLOAD_VIDEO_NOTE = 'upload_video_note'; |
|
39 | 39 | } |
@@ -6,6 +6,6 @@ |
||
6 | 6 | * Different type of polls |
7 | 7 | */ |
8 | 8 | class pollType { |
9 | - public const REGULAR = 'regular'; |
|
10 | - public const QUIZ = 'quiz'; |
|
9 | + public const REGULAR = 'regular'; |
|
10 | + public const QUIZ = 'quiz'; |
|
11 | 11 | } |
@@ -6,7 +6,7 @@ |
||
6 | 6 | * Different types of parse modes |
7 | 7 | */ |
8 | 8 | class parseMode { |
9 | - public const MARKDOWNV2 = 'MarkdownV2'; |
|
10 | - public const MARKDOWN = 'Markdown'; |
|
11 | - public const HTML = 'HTML'; |
|
9 | + public const MARKDOWNV2 = 'MarkdownV2'; |
|
10 | + public const MARKDOWN = 'Markdown'; |
|
11 | + public const HTML = 'HTML'; |
|
12 | 12 | } |
@@ -6,6 +6,6 @@ |
||
6 | 6 | * Different types of update receiver |
7 | 7 | */ |
8 | 8 | class receiver { |
9 | - public const GETUPDATES = 'getupdates'; |
|
10 | - public const WEBHOOK = 'webhook'; |
|
9 | + public const GETUPDATES = 'getupdates'; |
|
10 | + public const WEBHOOK = 'webhook'; |
|
11 | 11 | } |
@@ -6,19 +6,19 @@ |
||
6 | 6 | * types of message entity |
7 | 7 | */ |
8 | 8 | class messageEntityTypes { |
9 | - public const MENTION = 'mention'; |
|
10 | - public const HASHTAG = 'hashtag'; |
|
11 | - public const CASHTAG = 'cashtag'; |
|
12 | - public const BOT_COMMAND = 'bot_command'; |
|
13 | - public const URL = 'url'; |
|
14 | - public const EMAIL = 'email'; |
|
15 | - public const PHONE_NUMBER = 'phone_number'; |
|
16 | - public const BOLD = 'bold'; |
|
17 | - public const ITALIC = 'italic'; |
|
18 | - public const UNDERLINE = 'underline'; |
|
19 | - public const STRIKETHROUGH = 'strikethrough'; |
|
20 | - public const CODE = 'code'; |
|
21 | - public const PRE = 'pre'; |
|
22 | - public const TEXT_LINK = 'text_link'; |
|
23 | - public const TEXT_MENTION = 'text_mention'; |
|
9 | + public const MENTION = 'mention'; |
|
10 | + public const HASHTAG = 'hashtag'; |
|
11 | + public const CASHTAG = 'cashtag'; |
|
12 | + public const BOT_COMMAND = 'bot_command'; |
|
13 | + public const URL = 'url'; |
|
14 | + public const EMAIL = 'email'; |
|
15 | + public const PHONE_NUMBER = 'phone_number'; |
|
16 | + public const BOLD = 'bold'; |
|
17 | + public const ITALIC = 'italic'; |
|
18 | + public const UNDERLINE = 'underline'; |
|
19 | + public const STRIKETHROUGH = 'strikethrough'; |
|
20 | + public const CODE = 'code'; |
|
21 | + public const PRE = 'pre'; |
|
22 | + public const TEXT_LINK = 'text_link'; |
|
23 | + public const TEXT_MENTION = 'text_mention'; |
|
24 | 24 | } |
@@ -6,21 +6,21 @@ |
||
6 | 6 | * User status in the chat |
7 | 7 | */ |
8 | 8 | class chatMemberStatus { |
9 | - /** The creator of the chat */ |
|
10 | - public const CREATOR = 'creator'; |
|
9 | + /** The creator of the chat */ |
|
10 | + public const CREATOR = 'creator'; |
|
11 | 11 | |
12 | - /** The admin of the chat */ |
|
13 | - public const ADMINISTRATOR = 'administrator'; |
|
12 | + /** The admin of the chat */ |
|
13 | + public const ADMINISTRATOR = 'administrator'; |
|
14 | 14 | |
15 | - /** The member of the chat */ |
|
16 | - public const MEMBER = 'member'; |
|
15 | + /** The member of the chat */ |
|
16 | + public const MEMBER = 'member'; |
|
17 | 17 | |
18 | - /** Restricted in the chat */ |
|
19 | - public const RESTRICTED = 'restricted'; |
|
18 | + /** Restricted in the chat */ |
|
19 | + public const RESTRICTED = 'restricted'; |
|
20 | 20 | |
21 | - /** Left or not joined in the chat */ |
|
22 | - public const LEFT = 'left'; |
|
21 | + /** Left or not joined in the chat */ |
|
22 | + public const LEFT = 'left'; |
|
23 | 23 | |
24 | - /** Kicked in the chat */ |
|
25 | - public const KICKED = 'kicked'; |
|
24 | + /** Kicked in the chat */ |
|
25 | + public const KICKED = 'kicked'; |
|
26 | 26 | } |
@@ -6,10 +6,10 @@ |
||
6 | 6 | * Different type of passport sources |
7 | 7 | */ |
8 | 8 | class passportSources { |
9 | - public const DATA = 'data'; |
|
10 | - public const FRONT_SIDE = 'front_side'; |
|
11 | - public const REVERSE_SIDE = 'reverse_side'; |
|
12 | - public const SELFIE = 'selfie'; |
|
13 | - public const FILE = 'file'; |
|
14 | - public const FILES = 'files'; |
|
9 | + public const DATA = 'data'; |
|
10 | + public const FRONT_SIDE = 'front_side'; |
|
11 | + public const REVERSE_SIDE = 'reverse_side'; |
|
12 | + public const SELFIE = 'selfie'; |
|
13 | + public const FILE = 'file'; |
|
14 | + public const FILES = 'files'; |
|
15 | 15 | } |
@@ -6,8 +6,8 @@ |
||
6 | 6 | * Mask positions point which you can use in Sticker |
7 | 7 | */ |
8 | 8 | class maskPositionPoint { |
9 | - public const FOREHEAD = 'forehead'; |
|
10 | - public const EYES = 'eyes'; |
|
11 | - public const MOUTH = 'mouth'; |
|
12 | - public const CHIN = 'chin'; |
|
9 | + public const FOREHEAD = 'forehead'; |
|
10 | + public const EYES = 'eyes'; |
|
11 | + public const MOUTH = 'mouth'; |
|
12 | + public const CHIN = 'chin'; |
|
13 | 13 | } |