Класс CopilotGenerationState

Broadcasts the copilot generation state to chat members. The initiatorId carries the user this state belongs to, but its exact meaning is status-dependent: - Stopped: the user who pressed stop; - Generating / Completed / Error: the owner of the generation session (the user whose turn is being generated). In a one-to-one copilot chat these are always the same user, which is why a single field is enough; the distinction matters only if this event is ever reused for a multi-user chat.

class Наследует BaseChatEvent

Полное имя класса

Bitrix\Im\V2\Pull\Event\CopilotGenerationState

Методы

Методы и их характеристики

5 методов