import { Context, Composer } from 'telegraf'; export type TelegrafActionTriggers = Parameters['action']>[0]; export type TelegrafHearsTriggers = Parameters['hears']>[0]; export type TelegrafInlineQueryTriggers = Parameters< Composer['inlineQuery'] >[0]; export type TelegrafCashtag = Parameters['cashtag']>[0]; export type TelegrafHashtag = Parameters['hashtag']>[0]; export type TelegrafCommand = Parameters['command']>[0]; export type TelegrafMention = Parameters['mention']>[0]; export type TelegrafPhone = Parameters['phone']>[0]; export type TelegrafUpdateType = Parameters['on']>[0];