Files
openclaw/src/telegram/button-types.ts
Ayaan Zaidi 16327f21da feat(telegram): support inline button styles (#18241)
Merged via /review-pr -> /prepare-pr -> /merge-pr.

Prepared head SHA: 239cb3552e
Co-authored-by: obviyus <22031114+obviyus@users.noreply.github.com>
Co-authored-by: obviyus <22031114+obviyus@users.noreply.github.com>
Reviewed-by: @obviyus
2026-02-16 22:48:47 +05:30

10 lines
244 B
TypeScript

export type TelegramButtonStyle = "danger" | "success" | "primary";
export type TelegramInlineButton = {
text: string;
callback_data: string;
style?: TelegramButtonStyle;
};
export type TelegramInlineButtons = TelegramInlineButton[][];