Class Tweet
Inheritance
System.Object
Tweet
Implements
System.IEquatable<Tweet>
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.RTweet
Assembly: TwitterSharp.dll
Syntax
public class Tweet : IEquatable<Tweet>
Properties
| Improve this Doc View SourceAttachments
Objects attached to the tweet
Declaration
public Attachments Attachments { get; set; }
Property Value
Type | Description |
---|---|
Attachments |
Author
Declaration
[JsonIgnore]
public User Author { get; }
Property Value
Type | Description |
---|---|
User |
AuthorId
ID of the user who created the tweet
Declaration
public string AuthorId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ConversationId
The ID of the tweet that the conversation is from
Declaration
public string ConversationId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CreatedAt
When the tweet was created
Declaration
public DateTime? CreatedAt { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
Entities
Information about special entities in the tweet
Declaration
public Entities Entities { get; set; }
Property Value
Type | Description |
---|---|
Entities |
Id
Unique identifier of the tweet
Declaration
public string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String |
InReplyToUserId
ID of the user to whom the tweet is replying
Declaration
public string InReplyToUserId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Lang
Language of the tweet (detected by Twitter)
Declaration
public string Lang { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MatchingRules
Declaration
[JsonIgnore]
public MatchingRule[] MatchingRules { get; set; }
Property Value
Type | Description |
---|---|
MatchingRule[] |
PossiblySensitive
If the tweet may contain sensitive information
Declaration
public bool? PossiblySensitive { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
PublicMetrics
Public metrics of the tweet
Declaration
public TweetPublicMetrics PublicMetrics { get; set; }
Property Value
Type | Description |
---|---|
TweetPublicMetrics |
ReferencedTweets
Tweet that were referenced by this one
Declaration
public ReferencedTweet[] ReferencedTweets { get; set; }
Property Value
Type | Description |
---|---|
ReferencedTweet[] |
ReplySettings
Who can reply to this tweet
Declaration
public ReplySettings? ReplySettings { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<ReplySettings> |
Source
Name of the device that was used to make the tweet
Declaration
public string Source { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Text
Text of the tweet
Declaration
public string Text { 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(Tweet)
Declaration
public bool Equals(Tweet other)
Parameters
Type | Name | Description |
---|---|---|
Tweet | 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(Tweet, Tweet)
Declaration
public static bool operator ==(Tweet left, Tweet right)
Parameters
Type | Name | Description |
---|---|---|
Tweet | left | |
Tweet | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(Tweet, Tweet)
Declaration
public static bool operator !=(Tweet left, Tweet right)
Parameters
Type | Name | Description |
---|---|---|
Tweet | left | |
Tweet | right |
Returns
Type | Description |
---|---|
System.Boolean |
Implements
System.IEquatable<T>