|
17 | 17 | that emits the following events: |
18 | 18 |
|
19 | 19 | 1. `message`: Received a new incoming [Message][message] of any kind |
20 | | - 1. Depending on the properties of the [Message][message], one of these |
| 20 | + 1. Depending on the properties of the [Message][message], one of these |
21 | 21 | events may **ALSO** be emitted: `text`, `audio`, `document`, `photo`, |
22 | 22 | `sticker`, `video`, `voice`, `contact`, `location`, |
23 | 23 | `new_chat_members`, `left_chat_member`, `new_chat_title`, |
24 | 24 | `new_chat_photo`, `delete_chat_photo`, `group_chat_created`, |
25 | 25 | `game`, `pinned_message`, `poll`, `dice`, `migrate_from_chat_id`, `migrate_to_chat_id`, |
26 | 26 | `channel_chat_created`, `supergroup_chat_created`, |
27 | 27 | `successful_payment`, `invoice`, `video_note` |
28 | | - 1. **Arguments**: `message` ([Message][message]), `metadata` (`{ type?:string }`) |
29 | | - 1. `new_chat_participant`, `left_chat_participant` are **deprecated** |
| 28 | + 1. **Arguments**: `message` ([Message][message]), `metadata` (`{ type?:string }`) |
| 29 | + 1. `new_chat_participant`, `left_chat_participant` are **deprecated** |
30 | 30 | 1. `callback_query`: Received a new incoming [Callback Query][callback-query] |
31 | 31 | 1. `inline_query`: Received a new incoming [Inline Query][inline-query] |
32 | 32 | 1. `chosen_inline_result`: Received result of an inline query i.e. [ChosenInlineResult][chosen-inline-result] |
33 | 33 | 1. `channel_post`: Received a new incoming channel post of any kind |
34 | | -1. `edited_message`: Received a new version of a message that is known to the bot and was edited |
35 | | - 1. `edited_message_text` |
36 | | - 1. `edited_message_caption` |
37 | | -1. `edited_channel_post`: Received a new version of a channel post that is known to the bot and was edited |
38 | | - 1. `edited_channel_post_text` |
39 | | - 1. `edited_channel_post_caption` |
| 34 | +1. `edited_message`: Received a new version of a message that is known to the bot and was edited \ |
| 35 | + Depending on the properties of the [Message][message], one of these events may **ALSO** be emitted: |
| 36 | + 1. `edited_message_text` |
| 37 | + 1. `edited_message_caption` |
| 38 | +1. `edited_channel_post`: Received a new version of a channel post that is known to the bot and was edited \ |
| 39 | + Depending on the properties of the [Message][message], one of these events may **ALSO** be emitted: |
| 40 | + 1. `edited_channel_post_text` |
| 41 | + 1. `edited_channel_post_caption` |
40 | 42 | 1. `shipping_query`: Received a new incoming shipping query |
41 | 43 | 1. `pre_checkout_query`: Received a new incoming pre-checkout query |
42 | 44 | 1. `poll`: Received a new incoming poll |
|
0 commit comments