Adds a member to the list of members-to-add. Will be added to the group on command execution.
Namespace: CkSoftware.GroupMe.Sdk.Groups.CommandsAssembly: CkSoftware.GroupMe.Sdk.Groups (in CkSoftware.GroupMe.Sdk.Groups.dll) Version: 1.0.1.35398 (1.0.1.0)
public GroupAddMemberCommand WithMember(
string nickname,
string userId = "",
string phoneNumber = "",
string email = ""
)
public GroupAddMemberCommand WithMember(
string nickname,
string userId = "",
string phoneNumber = "",
string email = ""
)
Public Function WithMember (
nickname As String,
Optional userId As String = "",
Optional phoneNumber As String = "",
Optional email As String = ""
) As GroupAddMemberCommand
Public Function WithMember (
nickname As String,
Optional userId As String = "",
Optional phoneNumber As String = "",
Optional email As String = ""
) As GroupAddMemberCommand
member WithMember :
nickname : string *
?userId : string *
?phoneNumber : string *
?email : string
(* Defaults:
let _userId = defaultArg userId ""
let _phoneNumber = defaultArg phoneNumber ""
let _email = defaultArg email ""
*)
-> GroupAddMemberCommand
member WithMember :
nickname : string *
?userId : string *
?phoneNumber : string *
?email : string
(* Defaults:
let _userId = defaultArg userId ""
let _phoneNumber = defaultArg phoneNumber ""
let _email = defaultArg email ""
*)
-> GroupAddMemberCommand
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:
GroupAddMemberCommandThe extended
GroupAddMemberCommand.