The Best CRM Plugin for WordPress. Groundhogg does all the Heavy Lifting & Marketing Automation Marketers need to CRUSH IT!
Emit new event each time a Telegram Bot command is received.
Emit new event each time a channel post is created or updated.
Emit new event each time a Telegram message is created or updated.
Create an additional invite link for a chat, See the docs for more information
Edits photo or video messages. See the docs for more information
Edits text or game messages. See the docs for more information
Generate a new primary invite link for a chat, See the docs for more information
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
groundhogg: {
type: "app",
app: "groundhogg",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.groundhogg.$auth.url}/wp-json/gh/v4/contacts`,
headers: {
"gh-token": `${this.groundhogg.$auth.api_token}`,
"gh-public-key": `${this.groundhogg.$auth.public_key}`,
},
})
},
})
With the Telegram Bot API, you can build bots that perform a variety of tasks,
including:
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`,
})
},
})