You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/Twift+Tweets.swift
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -165,8 +165,12 @@ extension Twift {
165
165
}
166
166
}
167
167
168
+
/// A response object containing the newly-posted Tweet's ID and text content
168
169
publicstructPostTweetResponse:Codable{
170
+
/// The unique ID of the new Tweet
169
171
publicletid:Tweet.ID
172
+
173
+
/// The text content of the new Tweet
170
174
publiclettext:String
171
175
}
172
176
@@ -184,14 +188,18 @@ public struct MutableTweet: Codable {
184
188
/// Link to the Tweet being quoted.
185
189
publicvarquoteTweetId:Tweet.ID?
186
190
187
-
/// An object that contains information of the Tweet being replied to.
191
+
/// Information about the Tweet this Tweet is replying to
188
192
publicvarreply:Reply?
189
193
190
194
/// Settings to indicate who can reply to the Tweet. Options include "mentionedUsers" and "following". If the field isn’t specified, it will default to everyone.
191
195
publicvarreplySettings:Tweet.ReplyAudience?
192
196
197
+
/// An object describing how to form a reply to a Tweet
193
198
publicstructReply:Codable{
199
+
/// An array of User IDs to exclude from the replying Tweet
194
200
publicvarexcludeReplyUserIds:[User.ID]?
201
+
202
+
/// The ID of the Tweet that this Tweet is replying to
0 commit comments