Skip to main content

@wildix/xbees-conversations-client > ListInboxTaggedChannelsCommand

ListInboxTaggedChannelsCommand class

Returns a list of channels associated with the specified tag.

Signature:

export declare class ListInboxTaggedChannelsCommand extends ListInboxTaggedChannelsCommand_base 

Extends: ListInboxTaggedChannelsCommand_base

Example

Use a bare-bones client and the command you need to make an API call.

import { ConversationsClient, ListInboxTaggedChannelsCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
// const { ConversationsClient, ListInboxTaggedChannelsCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
const client = new ConversationsClient(config);
const input = { // ListInboxTaggedChannelsInput
userId: "STRING_VALUE",
tagId: "STRING_VALUE", // required
};
const command = new ListInboxTaggedChannelsCommand(input);
const response = await client.send(command);
// { // ListInboxTaggedChannelsOutput
// channels: [ // InboxTaggedChannelsList // required
// { // InboxTaggedChannel
// channelId: "STRING_VALUE", // required
// tagId: "STRING_VALUE", // required
// },
// ],
// };