GroupAddMemberCommand WithMember Method CkSoftware GroupMe SDK - Documentation
Adds a member to the list of members-to-add. Will be added to the group on command execution.

Namespace: CkSoftware.GroupMe.Sdk.Groups.Commands
Assembly: CkSoftware.GroupMe.Sdk.Groups (in CkSoftware.GroupMe.Sdk.Groups.dll) Version: 1.0.1.35398 (1.0.1.0)
Syntax

public GroupAddMemberCommand WithMember(
	string nickname,
	string userId = "",
	string phoneNumber = "",
	string email = ""
)

Parameters

nickname
Type: System String
The nickname the user will have in this group initially.
userId (Optional)
Type: System String
The userId of the member to add. Either userId, phoneNumber or email must be added but not all of it.
phoneNumber (Optional)
Type: System String
The phone number of the user. Either userId, phoneNumber or email must be added but not all of it.
email (Optional)
Type: System String
The email address of the user. Either userId, phoneNumber or email must be added but not all of it.

Return Value

Type: GroupAddMemberCommand
The extended GroupAddMemberCommand.
See Also