@itd-api/chat-bot / ChatCommandContext
Type Alias: ChatCommandContext<C>
ts
type ChatCommandContext<C> = ChatMessageContext<C> & object;Defined in: packages/chat-bot/src/commands.ts:9
Контекст обработчика команды.
Type Declaration
args
ts
args: string;command
ts
command: string;match
ts
match: string;text
ts
text: string;Type Parameters
C
C extends ChatContext = ChatContext