Adds the given member-data to a list of members to add to the group. This DOES NOT directly submit the member to the
group. To submit the added member(s), call SubmitAddedMembers().
Namespace: CkSoftware.GroupMe.Sdk.GroupsAssembly: CkSoftware.GroupMe.Sdk.Groups (in CkSoftware.GroupMe.Sdk.Groups.dll) Version: 1.0.1.35398 (1.0.1.0)
public GroupMeGroup AddMember(
string nickname,
string userId = "",
string phoneNumber = "",
string email = ""
)
public GroupMeGroup AddMember(
string nickname,
string userId = "",
string phoneNumber = "",
string email = ""
)
Public Function AddMember (
nickname As String,
Optional userId As String = "",
Optional phoneNumber As String = "",
Optional email As String = ""
) As GroupMeGroup
Public Function AddMember (
nickname As String,
Optional userId As String = "",
Optional phoneNumber As String = "",
Optional email As String = ""
) As GroupMeGroup
member AddMember :
nickname : string *
?userId : string *
?phoneNumber : string *
?email : string
(* Defaults:
let _userId = defaultArg userId ""
let _phoneNumber = defaultArg phoneNumber ""
let _email = defaultArg email ""
*)
-> GroupMeGroup
member AddMember :
nickname : string *
?userId : string *
?phoneNumber : string *
?email : string
(* Defaults:
let _userId = defaultArg userId ""
let _phoneNumber = defaultArg phoneNumber ""
let _email = defaultArg email ""
*)
-> GroupMeGroup
Parameters
- nickname
- Type: System String
The member's nickname.
- userId (Optional)
- Type: System String
The user-id of the member to add. At least one of userId, phoneNumber or email must be specified.
- phoneNumber (Optional)
- Type: System String
The phoneNumber of the member to add.
- email (Optional)
- Type: System String
The email of the member to add.
Return Value
Type:
GroupMeGroupReference to this, used for FluentApi calls.