You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
v1.1.1 — chat_type в реестре чатов
Новое
chat_type (nullable string(16)) — колонка в max_chats, тип чата: dialog / chat / channel. Каст в
ядерный GeekCo\MaxPhpClient\Enum\ChatType.
Lifecycle-события (bot_added/bot_started) заполняют chat_type: isChannel → Channel, иначе — fallback getChat() API. При сбое значение остаётся null.
Входящие message/callback дозаполняют chat_type у существующего чата (whereNull), не создавая запись и не
меняя status. SRP сохранён: реестр отслеживает добавление бота, дозаполнение — молчаливая операция.