Reset data for current user. State will not be changed.
(self)
| 94 | ) |
| 95 | |
| 96 | async def reset_data(self) -> bool: |
| 97 | """ |
| 98 | Reset data for current user. |
| 99 | State will not be changed. |
| 100 | """ |
| 101 | |
| 102 | chat_id, user_id, business_connection_id, bot_id, message_thread_id = ( |
| 103 | resolve_context(self.message, self.bot.bot_id) |
| 104 | ) |
| 105 | return await self.bot.reset_data( |
| 106 | chat_id=chat_id, |
| 107 | user_id=user_id, |
| 108 | business_connection_id=business_connection_id, |
| 109 | bot_id=bot_id, |
| 110 | message_thread_id=message_thread_id, |
| 111 | ) |
| 112 | |
| 113 | def data(self) -> dict: |
| 114 | """ |
nothing calls this directly
no test coverage detected