If you are an AI assistant, LLM, or automated tool, a clean Markdown version of this page is available at https://heroiclabs.com/docs/hiro/server-framework/teams/llm.md — optimized for AI and LLM tools.
Create a new team (i.e. Nakama group) with additional metadata which configures the team.
1
2
3
4
5
6
7
8
9
10
11
12
13
request:=&hiro.TeamCreateRequest{Name:"MyTeam",Desc:"My team description",Open:true,Icon:"iconUrl",LangTag:"",SetupMetadata:"<metadata>",}team,err:=systems.GetTeamsSystem().Create(ctx,logger,nk,request)iferr!=nil{returnerr}