Class UserUpdateMessage.Builder
A builder class for UserUpdateMessage.
Namespace: TehGM.Wolfringo.Messages
Assembly: Wolfringo.Core.dll
Syntax
public class Builder
Constructors
| Improve this Doc View SourceBuilder(WolfUser)
Create a new builder for UserUpdateMessage.
Declaration
public Builder(WolfUser user)
Parameters
Type | Name | Description |
---|---|---|
WolfUser | user | User to update. |
Remarks
Ensure that user
is always currently connected user,
as the message is being sent without any user ID, so always updates the current user.
Properties
| Improve this Doc View SourceAbout
User's "About Me" description.
Declaration
public string About { get; set; }
Property Value
Type | Description |
---|---|
String |
DateOfBirth
User's date of birth.
Declaration
public DateTime? DateOfBirth { get; set; }
Property Value
Type | Description |
---|---|
Nullable<DateTime> |
Gender
User's gender.
Declaration
public WolfGender Gender { get; set; }
Property Value
Type | Description |
---|---|
WolfGender |
Language
User's language.
Declaration
public WolfLanguage Language { get; set; }
Property Value
Type | Description |
---|---|
WolfLanguage |
Links
User's links.
Declaration
public ICollection<string> Links { get; set; }
Property Value
Type | Description |
---|---|
ICollection<String> |
LookingFor
User's looking for.
Declaration
public WolfLookingFor LookingFor { get; set; }
Property Value
Type | Description |
---|---|
WolfLookingFor |
Nickname
User's display name.
Declaration
public string Nickname { get; set; }
Property Value
Type | Description |
---|---|
String |
ProfileName
User's name, as specified in the profile.
Declaration
public string ProfileName { get; set; }
Property Value
Type | Description |
---|---|
String |
Relationship
User's relationship status.
Declaration
public WolfRelationship Relationship { get; set; }
Property Value
Type | Description |
---|---|
WolfRelationship |
Status
User's status.
Declaration
public string Status { get; set; }
Property Value
Type | Description |
---|---|
String |
Methods
| Improve this Doc View SourceBuild()
Build the GroupUpdateMessage.
Declaration
public UserUpdateMessage Build()
Returns
Type | Description |
---|---|
UserUpdateMessage | A new GroupUpdateMessage. |