Jump to content


Photo

send image to friend

node.js node-steam-user

  • Please log in to reply
9 replies to this topic

#1 Ino

Ino

    Advanced Member

  • Member
  • PipPipPip
  • 100 posts

Posted 11 August 2019 - 11:49 AM

Hi, can you add method for send image via steam chat ? First method for upload photo, and second method for send it to chat.



#2 Ino

Ino

    Advanced Member

  • Member
  • PipPipPip
  • 100 posts

Posted 23 September 2019 - 03:25 PM

up



#3 Dr. McKay

Dr. McKay

    Developer

  • Administrator
  • 2,212 posts

Posted 24 September 2019 - 03:12 AM

https://github.com/D...ses/tag/v3.41.0



#4 Ino

Ino

    Advanced Member

  • Member
  • PipPipPip
  • 100 posts

Posted 24 September 2019 - 05:57 AM

Thank you,but maybe better to add this to steam-user, and send it by user_id like steam chat message ?


Edited by Ino, 24 September 2019 - 12:33 PM.


#5 Ino

Ino

    Advanced Member

  • Member
  • PipPipPip
  • 100 posts

Posted 24 September 2019 - 12:39 PM

Thank you,but maybe better to add this to steam-user, and send it by user_id like steam chat message ?

It'll more comfortable than every time calling method getSteamUser for each user, or tell please what's information need provide for create class CSteamUser and using this method



#6 Dr. McKay

Dr. McKay

    Developer

  • Administrator
  • 2,212 posts

Posted 24 September 2019 - 04:51 PM

It cannot be added to steam-user. Sorry.

 

You don't need to call getSteamUser to use this method. Just call community.sendImageToUser(steamID, imageBuffer, options, callback).



#7 Ino

Ino

    Advanced Member

  • Member
  • PipPipPip
  • 100 posts

Posted 24 September 2019 - 05:22 PM

It cannot be added to steam-user. Sorry.

 

You don't need to call getSteamUser to use this method. Just call community.sendImageToUser(steamID, imageBuffer, options, callback).

Ok, thank you, you're the best )



#8 Ino

Ino

    Advanced Member

  • Member
  • PipPipPip
  • 100 posts

Posted 25 September 2019 - 04:13 AM

It cannot be added to steam-user. Sorry.

 

You don't need to call getSteamUser to use this method. Just call community.sendImageToUser(steamID, imageBuffer, options, callback).

Hello, when i trying to upload the same image second time i getting error Error: A server error occurred. (2)
Can you fix it please ?

Maybe this is due to the generation of the same link / due to the size of the photo or image name


Edited by Ino, 25 September 2019 - 04:20 AM.


#9 Dr. McKay

Dr. McKay

    Developer

  • Administrator
  • 2,212 posts

Posted 25 September 2019 - 04:40 AM

https://github.com/D...ses/tag/v3.41.1



#10 Ino

Ino

    Advanced Member

  • Member
  • PipPipPip
  • 100 posts

Posted 25 September 2019 - 04:45 AM

Thank you very much ! It working nice 







Also tagged with one or more of these keywords: node.js, node-steam-user

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users