sanchoys Posted June 10 Report Posted June 10 How can I send a picture with sendFriendMessage() method? Quote
sanchoys Posted June 10 Author Report Posted June 10 I tried sending a message with BBcode as described in the documentation, but I'm getting the wrong display. const messageTest = '[img src="https://giphy.com/gifs/test-gw3IWyGkC0rsazTi" thumbnail_src="https://media0.giphy.com/media/gw3IWyGkC0rsazTi/giphy.gif" height="199" width="265" giphy_search="test" title="test GIF"][url=https://media0.giphy.com/media/gw3IWyGkC0rsazTi/giphy.gif]https://media0.giphy.com/media/gw3IWyGkC0rsazTi/giphy.gif[/url][/img]'; console.log(messageTest) const result = await user.chat.sendFriendMessage(steamId, messageTest); console.log(result) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.