C_PartyInfo.InviteUnit

From Warcraft Wiki
(Redirected from API InviteByName)
Jump to navigation Jump to search
GitHub Octocat.png  Townlong-Yak BAD.png  ProfIcons engineering.png  BTNTemp.png C_PartyInfo.InviteUnit TheWarWithin-Icon-Inline.pngDragonflight-Icon-Inline.png + 8.2.5
Wowprogramming.png  BTNTemp.png InviteUnit Cata-Logo-Small.pngWrath-Logo-Small.pngWoW Icon update.png + 2.0.1 / 1.13.2
BTNTemp.png InviteByName + 1.0.0

Invites a player to your group.

C_PartyInfo.InviteUnit(name)

Arguments

name
string - The name of the player you would like to invite.

Details

  • Attempt to invite the named unit to a party, requires confirmation in some cases (e.g. the party will convert to a raid, or if there is a party sync in progress).

Patch changes

Battle for Azeroth Patch 8.2.5 (2019-09-24): Moved to C_PartyInfo.InviteUnit(). The previous alias is deprecated. [1]. Replaces the InviteToGroup() FrameXML function.
Wrath-Logo-Small.png Patch 3.0.8 (2009-01-20): No longer accepts UnitIds, use the player name instead.
Bc icon.gif Patch 2.0.1 (2006-12-05): Moved to InviteUnit()
WoW Icon update.png Patch 1.0.0 (2004-10-08): Added as InviteByName()