Similar to action(),Īn action_id or constraints object is required. The options() method listens for incoming option request payloads from Slack. views_open ( trigger_id = shortcut, # A simple view payload for a modal shortcut ( "open_modal" ) def open_modal ( ack, shortcut, client ): # Acknowledge the shortcut requestĪck () # Call the views_open method using the built-in WebClientĬlient. # The open_modal shortcut listens to a shortcut with the callback_id app.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |