UNPKG

@grammyjs/fluent

Version:

Fluent localization system integration for grammY Telegram bot framework

5 lines 306 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.defaultLocaleNegotiator = void 0; exports.defaultLocaleNegotiator = (context => { var _a; return (_a = context.from) === null || _a === void 0 ? void 0 : _a.language_code; }); //# sourceMappingURL=locale-negotiator.js.map