Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the ObjsMessage class.
 /// </summary>
 public ObjsMessage(string text, string ts, string type, IList <ObjsMessageAttachmentsItem> attachments = default(IList <ObjsMessageAttachmentsItem>), object botId = default(object), ObjsComment comment = default(ObjsComment), bool?displayAsBot = default(bool?), ObjsFile file = default(ObjsFile), ObjsMessageIcons icons = default(ObjsMessageIcons), string inviter = default(string), bool?isIntro = default(bool?), string lastRead = default(string), string name = default(string), string oldName = default(string), string permalink = default(string), IList <string> pinnedTo = default(IList <string>), string purpose = default(string), IList <ObjsReaction> reactions = default(IList <ObjsReaction>), IList <ObjsMessageRepliesItem> replies = default(IList <ObjsMessageRepliesItem>), int?replyCount = default(int?), string sourceTeam = default(string), bool?subscribed = default(bool?), string subtype = default(string), string team = default(string), string threadTs = default(string), string topic = default(string), int?unreadCount = default(int?), bool?upload = default(bool?), string user = default(string), ObjsUserProfileShort userProfile = default(ObjsUserProfileShort), string userTeam = default(string), string username = default(string))
 {
     Attachments  = attachments;
     BotId        = botId;
     Comment      = comment;
     DisplayAsBot = displayAsBot;
     File         = file;
     Icons        = icons;
     Inviter      = inviter;
     IsIntro      = isIntro;
     LastRead     = lastRead;
     Name         = name;
     OldName      = oldName;
     Permalink    = permalink;
     PinnedTo     = pinnedTo;
     Purpose      = purpose;
     Reactions    = reactions;
     Replies      = replies;
     ReplyCount   = replyCount;
     SourceTeam   = sourceTeam;
     Subscribed   = subscribed;
     Subtype      = subtype;
     Team         = team;
     Text         = text;
     ThreadTs     = threadTs;
     Topic        = topic;
     Ts           = ts;
     Type         = type;
     UnreadCount  = unreadCount;
     Upload       = upload;
     User         = user;
     UserProfile  = userProfile;
     UserTeam     = userTeam;
     Username     = username;
     CustomInit();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the UploadOKResponse class.
 /// </summary>
 public UploadOKResponse(ObjsFile file)
 {
     File = file;
     CustomInit();
 }