auths
objectreturn
or this.key = 'value'
, pass input data to your code viaparams
, and maintain state across executions with$checkpoint.async
(event, steps, params, auths) => {
}
console.log(event);
console.log(params);
const text = `https://twitter.com/${event.user.screen_name}/status/${event.id_str}`
await $send.http({
url: `https://api.telegram.org/bot${auths.telegram_bot_api.token}/sendMessage`,
params: {
text: text,
chat_id: params.chat_id
},
method: "GET"
})