umbot
Version:
Universal bot(vk, telegram, viber) or skills for Yandex.Alisa, Маруся and sber
18 lines (17 loc) • 377 B
TypeScript
export interface IVkButtonObject {
one_time: boolean;
buttons: IVkButton[] | IVkButton[][] | any;
}
export interface IVkButtonAction {
type?: string;
link?: string;
label?: string | null;
payload?: string | object;
}
export interface IVkButton {
action: IVkButtonAction;
color?: string;
hash?: string;
payload?: any;
_group?: any;
}