Skip to content

Commit

Permalink
Merge branch 'master' of github.com:PromoFaux/Matterhook.NET.Matterho…
Browse files Browse the repository at this point in the history
…okClient
  • Loading branch information
Adam Warner committed Oct 6, 2018
2 parents 1548318 + 7dc5861 commit e85e0b3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Matterhook.NET.MatterhookClient/MessageSpec.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class MattermostMessage
/// Bot/User Icon
/// </summary>
[JsonProperty(PropertyName = "icon_url")]
public Uri IconUrl { get; set; }
public string IconUrl { get; set; }

/// <summary>
/// Message body. Supports Markdown
Expand Down Expand Up @@ -89,13 +89,13 @@ public class MattermostAttachment
/// An optional URL used to hyperlink the author_name. If no author_name is specified, this field does nothing.
/// </summary>
[JsonProperty(PropertyName = "author_link")]
public Uri AuthorLink { get; set; }
public string AuthorLink { get; set; }

/// <summary>
/// An optional URL used to display a 16x16 pixel icon beside the author_name.
/// </summary>
[JsonProperty(PropertyName = "author_icon")]
public Uri AuthorIcon { get; set; }
public string AuthorIcon { get; set; }

#endregion

Expand All @@ -112,7 +112,7 @@ public class MattermostAttachment
/// An optional URL used to hyperlink the title. If no title is specified, this field does nothing.
/// </summary>
[JsonProperty(PropertyName = "title_link")]
public Uri TitleLink { get; set; }
public string TitleLink { get; set; }

#endregion

Expand All @@ -135,14 +135,14 @@ public class MattermostAttachment
/// Large images are resized to a maximum width of 400px or a maximum height of 300px, while still maintaining the original aspect ratio.
/// </summary>
[JsonProperty(PropertyName = "image_url")]
public Uri ImageUrl { get; set; }
public string ImageUrl { get; set; }

/// <summary>
/// An optional URL to an image file(GIF, JPEG, PNG, or BMP) that is displayed as a 75x75 pixel thumbnail on the right side of an attachment.
/// We recommend using an image that is already 75x75 pixels, but larger images will be scaled down with the aspect ratio maintained.
/// </summary>
[JsonProperty(PropertyName = "thumb_url")]
public Uri ThumbUrl { get; set; }
public string ThumbUrl { get; set; }


#endregion
Expand Down

0 comments on commit e85e0b3

Please sign in to comment.