|
103 | 103 | } |
104 | 104 | } |
105 | 105 | }, |
| 106 | + "entity": { |
| 107 | + "event": { |
| 108 | + "update_event": { |
| 109 | + "name": "Update event", |
| 110 | + "state_attributes": { |
| 111 | + "args": { |
| 112 | + "name": "Received command arguments" |
| 113 | + }, |
| 114 | + "chat_id": { |
| 115 | + "name": "Chat ID" |
| 116 | + }, |
| 117 | + "command": { |
| 118 | + "name": "Received command" |
| 119 | + }, |
| 120 | + "data": { |
| 121 | + "name": "Received callback query" |
| 122 | + }, |
| 123 | + "date": { |
| 124 | + "name": "Received datetime" |
| 125 | + }, |
| 126 | + "event_type": { |
| 127 | + "state": { |
| 128 | + "telegram_attachment": "Attachment received", |
| 129 | + "telegram_callback": "Callback query received", |
| 130 | + "telegram_command": "Command received", |
| 131 | + "telegram_sent": "Message sent", |
| 132 | + "telegram_text": "Text message received" |
| 133 | + } |
| 134 | + }, |
| 135 | + "file_id": { |
| 136 | + "name": "Received file ID" |
| 137 | + }, |
| 138 | + "file_mime_type": { |
| 139 | + "name": "Received file MIME type" |
| 140 | + }, |
| 141 | + "file_name": { |
| 142 | + "name": "Received file name" |
| 143 | + }, |
| 144 | + "file_size": { |
| 145 | + "name": "Received file size (bytes)" |
| 146 | + }, |
| 147 | + "from_first": { |
| 148 | + "name": "Received From first name" |
| 149 | + }, |
| 150 | + "from_last": { |
| 151 | + "name": "Received from last name" |
| 152 | + }, |
| 153 | + "id": { |
| 154 | + "name": "ID" |
| 155 | + }, |
| 156 | + "message_id": { |
| 157 | + "name": "Sent message ID" |
| 158 | + }, |
| 159 | + "message_tag": { |
| 160 | + "name": "Sent message tag" |
| 161 | + }, |
| 162 | + "message_thread_id": { |
| 163 | + "name": "Received message thread ID" |
| 164 | + }, |
| 165 | + "text": { |
| 166 | + "name": "Received text/caption" |
| 167 | + }, |
| 168 | + "user_id": { |
| 169 | + "name": "Received from user ID" |
| 170 | + } |
| 171 | + } |
| 172 | + } |
| 173 | + } |
| 174 | + }, |
106 | 175 | "exceptions": { |
107 | 176 | "action_failed": { |
108 | 177 | "message": "Action failed. {error}" |
|
213 | 282 | } |
214 | 283 | } |
215 | 284 | }, |
216 | | - "entity": { |
217 | | - "event": { |
218 | | - "update_event": { |
219 | | - "name": "Update event", |
220 | | - "state_attributes": { |
221 | | - "event_type": { |
222 | | - "state": { |
223 | | - "telegram_attachment": "Attachment received", |
224 | | - "telegram_callback": "Callback query received", |
225 | | - "telegram_command": "Command received", |
226 | | - "telegram_text": "Text message received", |
227 | | - "telegram_sent": "Message sent" |
228 | | - } |
229 | | - }, |
230 | | - "args": { |
231 | | - "name": "Received command arguments" |
232 | | - }, |
233 | | - "chat_id": { |
234 | | - "name": "Chat ID" |
235 | | - }, |
236 | | - "command": { |
237 | | - "name": "Received command" |
238 | | - }, |
239 | | - "data": { |
240 | | - "name": "Received callback query" |
241 | | - }, |
242 | | - "date": { |
243 | | - "name": "Received datetime" |
244 | | - }, |
245 | | - "file_id": { |
246 | | - "name": "Received file ID" |
247 | | - }, |
248 | | - "file_mime_type": { |
249 | | - "name": "Received file MIME type" |
250 | | - }, |
251 | | - "file_name": { |
252 | | - "name": "Received file name" |
253 | | - }, |
254 | | - "file_size": { |
255 | | - "name": "Received file size (bytes)" |
256 | | - }, |
257 | | - "from_first": { |
258 | | - "name": "Received From first name" |
259 | | - }, |
260 | | - "from_last": { |
261 | | - "name": "Received from last name" |
262 | | - }, |
263 | | - "id": { |
264 | | - "name": "ID" |
265 | | - }, |
266 | | - "message_id": { |
267 | | - "name": "Sent message ID" |
268 | | - }, |
269 | | - "message_tag": { |
270 | | - "name": "Sent message tag" |
271 | | - }, |
272 | | - "message_thread_id": { |
273 | | - "name": "Received message thread ID" |
274 | | - }, |
275 | | - "text": { |
276 | | - "name": "Received text/caption" |
277 | | - }, |
278 | | - "user_id": { |
279 | | - "name": "Received from user ID" |
280 | | - } |
281 | | - } |
282 | | - } |
283 | | - } |
284 | | - }, |
285 | 285 | "services": { |
286 | 286 | "answer_callback_query": { |
287 | 287 | "description": "Responds to a callback query originated by clicking on an online keyboard button. The answer will be displayed to the user as a notification at the top of the chat screen or as an alert.", |
|
0 commit comments