| Conditions | 1 |
| Total Lines | 16 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | # -*- coding: utf-8 -*- |
||
| 19 | @rate_limit(5, 'sticker') |
||
| 20 | @dp.message_handler(content_types=types.ContentTypes.STICKER) |
||
| 21 | async def bot_start(message: types.Message): |
||
| 22 | |||
| 23 | """ |
||
| 24 | |||
| 25 | The function is designed to process the sticker. |
||
| 26 | |||
| 27 | """ |
||
| 28 | |||
| 29 | await types.ChatActions.typing() |
||
| 30 | |||
| 31 | sticker_id = message.sticker.file_id |
||
| 32 | |||
| 33 | await message.answer_sticker( |
||
| 34 | sticker=sticker_id) |
||
| 35 |