mirror of
https://github.com/abocn/TelegramBot.git
synced 2025-03-10 21:00:03 +00:00
15 lines
417 B
JavaScript
15 lines
417 B
JavaScript
const resources = require('../props/resources.json');
|
|
const { getStrings } = require('./checklang.js');
|
|
|
|
module.exports = (bot) => {
|
|
bot.start((ctx) => {
|
|
const Strings = getStrings(ctx.from.language_code);
|
|
ctx.replyWithPhoto(
|
|
resources.lynxProfilePhoto, {
|
|
caption: Strings.lynxWelcome,
|
|
parse_mode: 'Markdown',
|
|
reply_to_message_id: ctx.message.message_id
|
|
}
|
|
);
|
|
});
|
|
}; |