Cross-Platform Contacts App
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: {
contacts: {
type: "app",
app: "contacts",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://api.contactsplus.com/api/v1/account.get`,
headers: {
Authorization: `Bearer ${this.contacts.$auth.oauth_access_token}`,
},
})
},
})
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`,
})
},
})