Send Message
Send a message to a specified channel or user in 2chat.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SEND_MESSAGE])
Create Channel
Create a new channel in 2chat workspace.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_CHANNEL])
Invite User
Invite a new user to join the 2chat workspace.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.INVITE_USER])
Update User Profile
Update a user's profile information in 2chat.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPDATE_USER_PROFILE])
Archive Channel
Archive an existing channel in 2chat workspace.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ARCHIVE_CHANNEL])
Pin Message
Pin a message to a channel in 2chat.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.PIN_MESSAGE])
Set Channel Topic
Set or update the topic for a channel in 2chat.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SET_CHANNEL_TOPIC])
Upload File
Upload a file to a specified channel in 2chat.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPLOAD_FILE])
Create Group
Create a new group for private conversations in 2chat.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_GROUP])
Set User Status
Set or update a user's status in 2chat.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SET_USER_STATUS])
Create Poll
Create a new poll in a specified channel in 2chat.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_POLL])
Assign Task
Assign a task to a user or group in 2chat.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ASSIGN_TASK])
Schedule Meeting
Schedule a meeting and send invitations through 2chat.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SCHEDULE_MEETING])
New Message Received
Triggered when a new message is received in a specified channel or from a user.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.NEW_MESSAGE_RECEIVED])
Channel Created
Triggered when a new channel is created in the 2chat workspace.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHANNEL_CREATED])
User Joined
Triggered when a new user joins the 2chat workspace.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.USER_JOINED])
Message Reacted
Triggered when a user reacts to a message in 2chat.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.MESSAGE_REACTED])
File Shared
Triggered when a file is shared in a channel or direct message.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.FILE_SHARED])
User Status Changed
Triggered when a user changes their status in 2chat.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.USER_STATUS_CHANGED])
Channel Archived
Triggered when a channel is archived in the 2chat workspace.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHANNEL_ARCHIVED])
Mention Received
Triggered when a user is mentioned in a message.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.MENTION_RECEIVED])
Poll Created
Triggered when a new poll is created in a channel.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.POLL_CREATED])
Task Assigned
Triggered when a task is assigned to a user or group.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.TASK_ASSIGNED])
Message Pinned
Triggered when a message is pinned in a channel.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.MESSAGE_PINNED])
User Left
Triggered when a user leaves the 2chat workspace.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.USER_LEFT])
Channel Topic Changed
Triggered when a channel's topic is changed.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHANNEL_TOPIC_CHANGED])
Message Edited
Triggered when a message is edited in 2chat.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.MESSAGE_EDITED])
User Typing
Triggered when a user starts typing in a channel or direct message.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.USER_TYPING])
Meeting Scheduled
Triggered when a new meeting is scheduled through 2chat.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.MEETING_SCHEDULED])
Group Created
Triggered when a new group is created for private conversations.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GROUP_CREATED])