Skip to content

How to create a ChatRoom? #1364

Closed Answered by WabiSabikk
WabiSabikk asked this question in General
Discussion options

You must be logged in to vote
  **I was able to solve this problem.**
   public async Task CreateChatRoom(ulong friendID, List<ulong> friends)
     {
         var steamUnifiedMessages = _steamClient.GetHandler<SteamUnifiedMessages>();

         var createChatRequest = new SteamKit2.Internal.CChatRoom_CreateChatRoomGroup_Request 
         {
             steamid_partner = friendID,
         };
         createChatRequest.steamid_invitees.AddRange(friends);
         var createChatResponse = await steamUnifiedMessages.SendMessage("ChatRoom.CreateChatRoomGroup#1", createChatRequest);
     }

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by WabiSabikk
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant