with AcyMailing and Telegram?
Emit new event when a user subscribes to a specified list.
Emit new event when a user unsubscribes from the specified mailing list.
Emit new event each time a Telegram Bot command is received.
Emit new event each time a channel post is created or updated.
Creates a new user or updates an existing user in AcyMailing. If the user exists, will update the user's data with provided information. See the documentation
Create an additional invite link for a chat, See the docs for more information
Sends an email to a single AcyMailing user. The user must exist in the AcyMailing database. See the documentation
Edits photo or video messages. See the docs for more information
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
acymailing: {
type: "app",
app: "acymailing",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.acymailing.$auth.url}/index.php?page=acymailing_front&option=com_acym&ctrl=api&task=getUsers&limit=1&offset=0`,
headers: {
"Api-Key": `${this.acymailing.$auth.api_key}`,
},
})
},
})
The Telegram Bot API allows you to build bots that can interact with users on the Telegram platform. Using Pipedream, you can automate messaging, handle commands, and trigger actions based on conversations or alerts. Pipedream's serverless execution model enables you to create complex workflows involving Telegram messages without managing any infrastructure. With Pipedream's integration, you can process inbound messages, send outbound notifications, and connect the Telegram Bot API with numerous other services to create powerful automation solutions.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
telegram_bot_api: {
type: "app",
app: "telegram_bot_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.telegram.org/bot${this.telegram_bot_api.$auth.token}/getMe`,
})
},
})