Class User
Inheritance
System.Object
User
Implements
System.IEquatable<User>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: TwitterSharp.Response.RUser
Assembly: TwitterSharp.dll
Syntax
public class User : IEquatable<User>
Properties
| Improve this Doc View SourceCreatedAt
Creation date of the account
Declaration
public DateTime? CreatedAt { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
Description
Profile description
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Entities
Information about special entities in user description
Declaration
public Entities Entities { get; set; }
Property Value
Type | Description |
---|---|
Entities |
Id
Unique identifier of the user
Declaration
public string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String |
IsProtected
Are the user tweet private
Declaration
public bool? IsProtected { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
IsVerified
If the user is a verified Twitter user
Declaration
public bool? IsVerified { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
Location
Location specified on user profile
Declaration
public string Location { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
Name shown on the user profile
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PinnedTweetId
Identifier of the pinned tweet
Declaration
public string PinnedTweetId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ProfileImageUrl
URL to the picture profile
Declaration
public string ProfileImageUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PublicMetrics
Public metrics of the user
Declaration
public UserPublicMetrics PublicMetrics { get; set; }
Property Value
Type | Description |
---|---|
UserPublicMetrics |
Url
URL specified on user profile
Declaration
public string Url { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Username
Twitter handle
Declaration
public string Username { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceEquals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
|
Improve this Doc
View Source
Equals(User)
Declaration
public bool Equals(User other)
Parameters
Type | Name | Description |
---|---|---|
User | other |
Returns
Type | Description |
---|---|
System.Boolean |
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()
Operators
| Improve this Doc View SourceEquality(User, User)
Declaration
public static bool operator ==(User left, User right)
Parameters
Type | Name | Description |
---|---|---|
User | left | |
User | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(User, User)
Declaration
public static bool operator !=(User left, User right)
Parameters
Type | Name | Description |
---|---|---|
User | left | |
User | right |
Returns
Type | Description |
---|---|
System.Boolean |
Implements
System.IEquatable<T>