messaging.py (1092B)
1 from talon import Context, actions, ui, Module, app 2 3 mod = Module() 4 mod.tag("messaging", desc="Tag for generic multi-channel messaging apps") 5 6 7 @mod.action_class 8 class messaging_actions: 9 # Navigation and UI components 10 11 def messaging_workspace_previous(): 12 """Move to previous workspace/server""" 13 14 def messaging_workspace_next(): 15 """Move to next qorkspace/server""" 16 17 def messaging_open_channel_picker(): 18 """Open channel picker""" 19 20 def messaging_channel_previous(): 21 """Move to previous channel""" 22 23 def messaging_channel_next(): 24 """Move to next channel""" 25 26 def messaging_unread_previous(): 27 """Move to previous unread channel""" 28 29 def messaging_unread_next(): 30 """Moved to next unread channel""" 31 32 def messaging_open_search(): 33 """Open message search""" 34 35 def messaging_mark_workspace_read(): 36 """Mark this workspace/server as read""" 37 38 def messaging_mark_channel_read(): 39 """Mark this channel as read.""" 40 41 def messaging_upload_file(): 42 """Upload a file as a message"""