Skip to main content

@wildix/xbees-conversations-client > ListInboxTagsCommand

ListInboxTagsCommand class

Returns a list of tags associated with the user.

Signature:

export declare class ListInboxTagsCommand extends ListInboxTagsCommand_base 

Extends: ListInboxTagsCommand_base

Example

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

import { ConversationsClient, ListInboxTagsCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
// const { ConversationsClient, ListInboxTagsCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
const client = new ConversationsClient(config);
const input = { // ListInboxTagsInput
userId: "STRING_VALUE",
};
const command = new ListInboxTagsCommand(input);
const response = await client.send(command);
// { // ListInboxTagsOutput
// tags: [ // InboxTagsList // required
// { // InboxTag
// id: "STRING_VALUE", // required
// name: "STRING_VALUE", // required
// },
// ],
// };