UNPKG

@grammyjs/fluent

Version:

Fluent localization system integration for grammY Telegram bot framework

5 lines (4 loc) 306 B
import { LocaleId } from '@moebius/fluent'; import { Context } from 'grammy'; export declare type LocaleNegotiator<ContextType extends Context = Context> = (context: ContextType) => (LocaleId | undefined | PromiseLike<LocaleId | undefined>); export declare const defaultLocaleNegotiator: LocaleNegotiator;