121
public Message(string postUrl, string text, string channel = null, string icon_emoji = null, string username = null)
1
//Written by Paul Seal for http://www.codeshare.co.uk
2
//Free for use by anyone however they want
3
//Buy me a coffee sometime, or donate on my PayPal link if you want.
4
5
using System;
6
using System.IO;
7
using System.Net;
8
using System.Text;
9
10
namespace Slack.Net
11
{
12
/// <summary>
13
/// This is the main class for Slack Messages
14
/// </summary>
15
public class Message
16
{
17
public string PostUrl { get; set; }
18
public string Text { get; set; }
19
public string Channel { get; set; }
20
public string Icon_Emoji { get; set; }
21
public string Username { get; set; }
22
private string PostData
23
{
24
get
Cached Result