Get Forum Channel Available Tags

LoopThreads

Get the tags of a forum channel.

  • Loop block: the blocks placed inside it run once for each item, and can use the current item's outputs.

Inputs

Channel IDRequired

ID of the forum or media channel to get the tags of.

Loop Body

Blocks to run for each tag.

Holds blocks

Outputs

Iteration Number

Current iteration (1-based).

Example: 1

Total Iterations

Total number of iterations.

Example: 5

Tag ID

ID of the tag.

Tag Name

Name of the tag.

Moderated

Whether the tag is moderated.

Emoji ID

Emoji ID for the tag.

Emoji Name

Emoji name for the tag.

Build a bot using blocks like Get Forum Channel Available Tags

Use this block in our visual flow editor. Bots are hosted 24/7 for free on inventor.bot.

Advanced Documentation

This documentation can be useful when using code mode. View as Markdown

ID: get_forum_thread_tags
  • Loop block: write for item := range get_forum_thread_tags(Args{...}) { ... } and read the current item's outputs from item. See loops.

Inputs

FieldInventScript nameValue
Channel IDchannel_id
Loop Bodybodyblocks: func() { ... }

Outputs

FieldInventScript nameValue
Iteration Numberiteration_numbere.g. "1"
Total Iterationstotal_iterationse.g. "5"
Tag IDtag_id
Tag Nametag_name
Moderatedmoderated
Emoji IDemoji_id
Emoji Nameemoji_name

Example InventScript

for forumThreadTag := range get_forum_thread_tags(Args{channel_id: trigger.channel_id}) {
	send_text_message(Args{
		channel_id:      trigger.channel_id,
		message_content: "Tag ID: " + forumThreadTag.tag_id,
	})
}

More threads blocks