Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.ajax({
- url: botPostUrl,
- type:"POST",
- success: function(result){
- console.log(result);
- },
- error: function(error){
- console.log(`Error ${error}`);
- },
- data: {
- "text" : messageContents + "n" + mentionedMessageBlock,
- "bot_id" : "my_bot_id",
- "attachments": [
- {
- "type": "mentions",
- "user_ids": [mentionedMembersUserIds],
- "loci": [loci]
- }
- ]
- },
- async: false
- });
Add Comment
Please, Sign In to add comment