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.
Example #1
0
        public void Value_Roundtrips()
        {
            SlackField field = new SlackField("MyTitle", "MyValue");

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