Skip to content

pantoken / formats/interactions/src / CommandHandler

نام مستعار نوع: CommandHandler

CommandHandler = (command, source) => void

تابع callback زمانی فراخوانی می‌شود که یک رویداد command (یا کلیک پشتیبان) به یک هدف منتهی شود.

پارامترها

command

string

source

Element | null

مقدار بازگشتی

void