discord.getChannel retrieve one Discord channel or thread by ID.
automations/discord-get-channel.automation.ts
Inputs
RequiredchannelId. Optional second argument { account } selects the Discord binding.
Output
Returns aDiscordChannel.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Retrieve one Discord channel or thread by ID.
discord.getChannel retrieve one Discord channel or thread by ID.
import { automation, onHttpRequest } from "automate.ax"
import { discord } from "automate.ax/discord"
export default automation("Get channel", () => {
onHttpRequest({ scope: "automation" })
discord.getChannel({ channelId: "234567890123456789" })
})
channelId. Optional second argument { account } selects the Discord binding.
DiscordChannel.