Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to send MSG to GroupChat(ClanChat) #646

Closed
Linnni opened this issue Mar 10, 2019 · 7 comments
Closed

How to send MSG to GroupChat(ClanChat) #646

Linnni opened this issue Mar 10, 2019 · 7 comments
Labels

Comments

@Linnni
Copy link

Linnni commented Mar 10, 2019

For example i have group id 103582791429521592 , how can i do send message in chat this group?

@voided
Copy link
Member

voided commented Mar 10, 2019

The SteamFriends handler has a SendChatRoomMessage method that'll allow you to do that.

@JustArchi
Copy link
Contributor

@voided If he's still living in the past and means old group chat, because it doesn't apply to the new one which the OP probably refers to.

See #561

@voided
Copy link
Member

voided commented Mar 10, 2019

Oops, yeah - I totally forgot that entire system got reworked. @Linnni ignore what I mentioned, my suggestion was for the older version of chat that isn't used by today's Steam clients.

@JustArchi
Copy link
Contributor

JustArchi commented Mar 10, 2019

If you want some helpful resources before SK2 delivers user-friendly methods, you can check how I achieved it in ASF, Bot.cs and ArchiHandler.cs should be useful.

@Linnni
Copy link
Author

Linnni commented Apr 9, 2019

If you want some helpful resources before SK2 delivers user-friendly methods, you can check how I achieved it in ASF, Bot.cs and ArchiHandler.cs should be useful.

Bro, i see this method "SendMessage(ulong chatGroupID, ulong chatID, string message)" , how can i get this param chatGroupID and chatID from chat group?

@JustArchi
Copy link
Contributor

@yaakov-h
Copy link
Member

Closing as kinda-of-answered-I-guess?

Not something we can address in SK2 itself until #561 is done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants