surfaces/sdk
Mikhail Putilovskij d5ab527f5d fix(tg): QA fixes — stream_message, topic_created, archive reply
- sdk/mock.py: stream_message was async def (coroutine), must be async
  generator with yield — caused TypeError on every user message
- topic_events.py: on_topic_created now skips bot-created topics
  (from_user.id == bot.id); cmd_new already registers them under the
  correct human user_id
- commands.py: cmd_archive now sends "Чат архивирован." confirmation
- test_topic_events.py: add bot=SimpleNamespace(id=BOT_ID) to fixture
2026-04-02 14:14:19 +03:00
..
__init__.py refactor: rename platform/ → sdk/ to avoid stdlib conflict 2026-03-31 21:57:23 +03:00
interface.py refactor: rename platform/ → sdk/ to avoid stdlib conflict 2026-03-31 21:57:23 +03:00
mock.py fix(tg): QA fixes — stream_message, topic_created, archive reply 2026-04-02 14:14:19 +03:00