-
-
Save BrightnBubbly/4072b40493cb698f4305339252b4e7c9 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
message := &stream.Message{ | |
Text: "@paris Everything was your fault", | |
Attachments: []*stream.Attachment{ | |
&stream.Attachment{ | |
Type: "image", | |
ThumbURL: "https://i.imgur.com/1UtEbH7.jpg", | |
AssetURL: "https://i.imgur.com/1UtEbH7.jpg", | |
}, | |
}, | |
MentionedUsers: []*stream.User{ | |
&stream.User{ID: "paris"}, | |
}, | |
} | |
channel.SendMessage(message, "helenoftroy") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment