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