@@ -26,7 +26,7 @@ public class MattermostMessage
2626 /// Bot/User Icon
2727 /// </summary>
2828 [ JsonProperty ( PropertyName = "icon_url" ) ]
29- public Uri IconUrl { get ; set ; }
29+ public string IconUrl { get ; set ; }
3030
3131 /// <summary>
3232 /// Message body. Supports Markdown
@@ -89,13 +89,13 @@ public class MattermostAttachment
8989 /// An optional URL used to hyperlink the author_name. If no author_name is specified, this field does nothing.
9090 /// </summary>
9191 [ JsonProperty ( PropertyName = "author_link" ) ]
92- public Uri AuthorLink { get ; set ; }
92+ public string AuthorLink { get ; set ; }
9393
9494 /// <summary>
9595 /// An optional URL used to display a 16x16 pixel icon beside the author_name.
9696 /// </summary>
9797 [ JsonProperty ( PropertyName = "author_icon" ) ]
98- public Uri AuthorIcon { get ; set ; }
98+ public string AuthorIcon { get ; set ; }
9999
100100 #endregion
101101
@@ -112,7 +112,7 @@ public class MattermostAttachment
112112 /// An optional URL used to hyperlink the title. If no title is specified, this field does nothing.
113113 /// </summary>
114114 [ JsonProperty ( PropertyName = "title_link" ) ]
115- public Uri TitleLink { get ; set ; }
115+ public string TitleLink { get ; set ; }
116116
117117 #endregion
118118
@@ -135,14 +135,14 @@ public class MattermostAttachment
135135 /// Large images are resized to a maximum width of 400px or a maximum height of 300px, while still maintaining the original aspect ratio.
136136 /// </summary>
137137 [ JsonProperty ( PropertyName = "image_url" ) ]
138- public Uri ImageUrl { get ; set ; }
138+ public string ImageUrl { get ; set ; }
139139
140140 /// <summary>
141141 /// 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.
142142 /// We recommend using an image that is already 75x75 pixels, but larger images will be scaled down with the aspect ratio maintained.
143143 /// </summary>
144144 [ JsonProperty ( PropertyName = "thumb_url" ) ]
145- public Uri ThumbUrl { get ; set ; }
145+ public string ThumbUrl { get ; set ; }
146146
147147
148148 #endregion
0 commit comments