Skip to content

messaging

This directory contains files that provide a tag and actions for controlling generic multi-channel messaging applications.

The file messaging.talon defines the voice commands that users can use to interact with messaging applications. It uses the user.messaging tag, and it defines commands for navigating between workspaces and channels, marking channels as read, searching for messages, and uploading files. These commands map to actions defined in the messaging.py file.

The file messaging.py defines the messaging tag and a set of actions that can be used to control messaging applications. The messaging tag is used by other Talon files, such as messaging.talon, to activate the messaging commands. The actions are generic and need to be implemented by specific application integrations (e.g. Slack, Discord). The actions provided in the file are:

  • messaging_workspace_previous / messaging_workspace_next: Move between servers or workspaces.
  • messaging_open_channel_picker: Open a channel picker.
  • messaging_channel_previous / messaging_channel_next: Move between channels.
  • messaging_unread_previous / messaging_unread_next: Move between unread channels.
  • messaging_open_search: Open the search interface.
  • messaging_mark_workspace_read: Marks all messages in the current workspace as read.
  • messaging_mark_channel_read: Marks all messages in the current channel as read.
  • messaging_upload_file: Upload a file as a message.

In summary, the files in this directory provide a generic set of commands and actions that can be used to control different messaging applications. The messaging.talon file defines the voice commands and the messaging.py file defines the actions that the commands map to.