add TweetID for Send actions

This commit is contained in:
2013-12-04 20:31:23 +01:00
parent 5480cebe49
commit 84981a5de3
+11
View File
@@ -46,6 +46,15 @@ namespace PocketSharp.Models
[DataMember(Name = "title")]
public string Title { get; set; }
/// <summary>
/// Gets or sets the associated Tweet ID.
/// </summary>
/// <value>
/// The Tweet ID.
/// </value>
[DataMember(Name = "ref_id")]
public string TweetID { get; set; }
/// <summary>
/// Gets or sets the time.
/// </summary>
@@ -107,6 +116,8 @@ namespace PocketSharp.Models
parameters.Add("new_tag", NewTag);
if (Title != null)
parameters.Add("title", Title);
if (TweetID != null)
parameters.Add("ref_id", TweetID);
if (Uri != null)
parameters.Add("uri", Uri.ToString());