-
-
Save astrotars/8ec8056d021fe27e3f1d6df71ba385d2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
await channel.sendMessage({ | |
text: 'Hello @Josh', | |
attachments: [ | |
{ | |
type: 'image', | |
asset_url: 'https://bit.ly/2K74TaG', | |
thumb_url: 'https://bit.ly/2Uumxti', | |
myCustomField: 123 | |
} | |
], | |
mentioned_users: [josh.id], | |
anotherCustomField: 234 | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment