The SlackField class is used for expression table fields as part of a SlackAttachment, please see https://api.slack.com/docs/attachments for details. Fields are displayed in a table inside the message attachment.
Exemple #1
0
        public void Value_Roundtrips()
        {
            SlackField field = new SlackField("MyTitle", "MyValue");

            PropertyAssert.Roundtrips(field, a => a.Value, PropertySetter.NullThrows, defaultValue: "MyValue", roundtripValue: "你好世界");
        }
Exemple #2
0
 public void Value_Roundtrips()
 {
     SlackField field = new SlackField("MyTitle", "MyValue");
     PropertyAssert.Roundtrips(field, a => a.Value, PropertySetter.NullThrows, defaultValue: "MyValue", roundtripValue: "你好世界");
 }