When working with telegraf.js, how can I find the chat id for sending a message when adding a bot to a group?
const Telegraf = require('telegraf') const config = require ('./config.json') const bot = new Telegraf(config.token) bot.start((ctx) => ctx.reply('Welcome')) bot.help((ctx) => ctx.reply('Send me a sticker')) bot.on('new_chat_members', (ctx) => console.log(ctx.message.new_chat_members)) bot.hears('hi', (ctx) => ctx.reply('Hey there')) bot.hears(/buy/i, (ctx) => ctx.reply('Buy-buy')) bot.telegram.sendMessage(chat.id,'sd') bot.startPolling()