Identify Geographical Location and Proxy by IP Address
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.
Query IP address using IP2Location API. See the docs here for how to use this API.
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
IP2Location provides a number of API calls that can be used to determine the
location of an IP address. This can be useful for a number of applications,
including:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ip2location: {
type: "app",
app: "ip2location",
},
ip: {
type: "string",
default: "142.113.220.31"
},
package: {
type: "string",
default: "WS1"
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.ip2location.com/v2`,
params: {
key: `${this.ip2location.$auth.api_key}`,
ip: `${this.ip}`,
package: `${this.package}`,
},
})
},
})
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`,
})
},
})