Unique identifier for the target chat or username of the target channel (in the format @channelusername). Integer or String accepted.
Text of the message to be sent, 1-4096 characters after entities parsing
async
(params, auths) => {
}
// https://core.telegram.org/bots/api#sendmessage
const { chat_id, text } = params
return await require("@pipedreamhq/platform").axios(this, {
method: "POST",
url: `https://api.telegram.org/bot${auths.telegram_bot_api.token}/sendMessage`,
params: {
chat_id,
text,
}
})