If not set, the command will use your username and profile picture.Īuthorization: Token okwexkjpe7ygb8eq1ww58t483wĬontent-Type: application/x-www-form-urlencoded (Optional) Set the response username and icon the command will post messages as in Mattermost. The request URL is the endpoint that Mattermost hits to reach your application, and the request method is either POST or GET and specifies the type of request sent to the request URL. It also cannot be one of the built-in commands. The trigger word must be unique and cannot begin with a slash or contain any spaces. Select Add Slash Command, then add a name and description for the command. Enable them from System Console > Integrations > Integration Management or ask your Mattermost System Admin to do so. If you don’t have the Integrations option in your Main Menu, slash commands may not be enabled or may be disabled for non-admins. Open Main Menu > Integrations > Slash Commands. You can follow these general guidelines to set up a custom Mattermost slash command for your application. By creating a custom slash command, and setting up the application to handle the HTTP POST or GET from the command, you can let your users check the weather in their city using your command, say /weather toronto week. Suppose you want to write an external application that is able to check the weather for certain cities. Sends a Group Message to the specified users Turns off desktop, email and push notifications for the current channel or the specified kick (or /remove) a member from a public or private channel Send an email invite to your Mattermost team Turn off auto-collapsing of image previews, image attachments, as well as in-line images over 100px in height Turn on auto-collapsing of image link previews, image attachments, as well as in-line images over 100px in height You can also choose to trigger messages only when the issue or merge requestĬontains all the labels defined in the filter.Each Mattermost installation comes with some built-in slash commands that are ready to use: Messages are sent when an issue or merge request contains any of the labels specified Labels to be notified behavior: When you use the Labels to be notified filter,.Leave blank to notify for all issues and merge requests. Labels required for the issue or merge request Branches for which notifications are to be sent: The branches to send notifications for.Notifications about failed pipelines only. Notify only broken pipelines: If you enable the Pipeline event, and you want.To change the bot's username, provide a value. The username shown in messages sent to Mattermost.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |