github.com/yaegashi/msgraph.go@v0.1.4/beta/ModelChat.go (about) 1 // Code generated by msgraph.go/gen DO NOT EDIT. 2 3 package msgraph 4 5 import "time" 6 7 // Chat undocumented 8 type Chat struct { 9 // Entity is the base model of Chat 10 Entity 11 // Topic undocumented 12 Topic *string `json:"topic,omitempty"` 13 // CreatedDateTime undocumented 14 CreatedDateTime *time.Time `json:"createdDateTime,omitempty"` 15 // LastUpdatedDateTime undocumented 16 LastUpdatedDateTime *time.Time `json:"lastUpdatedDateTime,omitempty"` 17 // Members undocumented 18 Members []ConversationMember `json:"members,omitempty"` 19 // Messages undocumented 20 Messages []ChatMessage `json:"messages,omitempty"` 21 // InstalledApps undocumented 22 InstalledApps []TeamsAppInstallation `json:"installedApps,omitempty"` 23 } 24 25 // ChatActivityStatistics undocumented 26 type ChatActivityStatistics struct { 27 // ActivityStatistics is the base model of ChatActivityStatistics 28 ActivityStatistics 29 // AfterHours undocumented 30 AfterHours *Duration `json:"afterHours,omitempty"` 31 } 32 33 // ChatInfo undocumented 34 type ChatInfo struct { 35 // Object is the base model of ChatInfo 36 Object 37 // ThreadID undocumented 38 ThreadID *string `json:"threadId,omitempty"` 39 // MessageID undocumented 40 MessageID *string `json:"messageId,omitempty"` 41 // ReplyChainMessageID undocumented 42 ReplyChainMessageID *string `json:"replyChainMessageId,omitempty"` 43 } 44 45 // ChatMembersNotificationAudience undocumented 46 type ChatMembersNotificationAudience struct { 47 // Object is the base model of ChatMembersNotificationAudience 48 Object 49 } 50 51 // ChatMessage undocumented 52 type ChatMessage struct { 53 // Entity is the base model of ChatMessage 54 Entity 55 // ReplyToID undocumented 56 ReplyToID *string `json:"replyToId,omitempty"` 57 // From undocumented 58 From *IdentitySet `json:"from,omitempty"` 59 // Etag undocumented 60 Etag *string `json:"etag,omitempty"` 61 // MessageType undocumented 62 MessageType *ChatMessageType `json:"messageType,omitempty"` 63 // CreatedDateTime undocumented 64 CreatedDateTime *time.Time `json:"createdDateTime,omitempty"` 65 // LastModifiedDateTime undocumented 66 LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"` 67 // DeletedDateTime undocumented 68 DeletedDateTime *time.Time `json:"deletedDateTime,omitempty"` 69 // Subject undocumented 70 Subject *string `json:"subject,omitempty"` 71 // Body undocumented 72 Body *ItemBody `json:"body,omitempty"` 73 // Summary undocumented 74 Summary *string `json:"summary,omitempty"` 75 // Attachments undocumented 76 Attachments []ChatMessageAttachment `json:"attachments,omitempty"` 77 // Mentions undocumented 78 Mentions []ChatMessageMention `json:"mentions,omitempty"` 79 // Importance undocumented 80 Importance *ChatMessageImportance `json:"importance,omitempty"` 81 // PolicyViolation undocumented 82 PolicyViolation *ChatMessagePolicyViolation `json:"policyViolation,omitempty"` 83 // Reactions undocumented 84 Reactions []ChatMessageReaction `json:"reactions,omitempty"` 85 // Locale undocumented 86 Locale *string `json:"locale,omitempty"` 87 // WebURL undocumented 88 WebURL *string `json:"webUrl,omitempty"` 89 // Replies undocumented 90 Replies []ChatMessage `json:"replies,omitempty"` 91 // HostedContents undocumented 92 HostedContents []ChatMessageHostedContent `json:"hostedContents,omitempty"` 93 } 94 95 // ChatMessageAttachment undocumented 96 type ChatMessageAttachment struct { 97 // Object is the base model of ChatMessageAttachment 98 Object 99 // ID undocumented 100 ID *string `json:"id,omitempty"` 101 // ContentType undocumented 102 ContentType *string `json:"contentType,omitempty"` 103 // ContentURL undocumented 104 ContentURL *string `json:"contentUrl,omitempty"` 105 // Content undocumented 106 Content *string `json:"content,omitempty"` 107 // Name undocumented 108 Name *string `json:"name,omitempty"` 109 // ThumbnailURL undocumented 110 ThumbnailURL *string `json:"thumbnailUrl,omitempty"` 111 } 112 113 // ChatMessageHostedContent undocumented 114 type ChatMessageHostedContent struct { 115 // Entity is the base model of ChatMessageHostedContent 116 Entity 117 } 118 119 // ChatMessageMention undocumented 120 type ChatMessageMention struct { 121 // Object is the base model of ChatMessageMention 122 Object 123 // ID undocumented 124 ID *int `json:"id,omitempty"` 125 // MentionText undocumented 126 MentionText *string `json:"mentionText,omitempty"` 127 // Mentioned undocumented 128 Mentioned *IdentitySet `json:"mentioned,omitempty"` 129 } 130 131 // ChatMessagePolicyViolation undocumented 132 type ChatMessagePolicyViolation struct { 133 // Object is the base model of ChatMessagePolicyViolation 134 Object 135 // DlpAction undocumented 136 DlpAction *ChatMessagePolicyViolationDlpActionTypes `json:"dlpAction,omitempty"` 137 // JustificationText undocumented 138 JustificationText *string `json:"justificationText,omitempty"` 139 // PolicyTip undocumented 140 PolicyTip *ChatMessagePolicyViolationPolicyTip `json:"policyTip,omitempty"` 141 // UserAction undocumented 142 UserAction *ChatMessagePolicyViolationUserActionTypes `json:"userAction,omitempty"` 143 // VerdictDetails undocumented 144 VerdictDetails *ChatMessagePolicyViolationVerdictDetailsTypes `json:"verdictDetails,omitempty"` 145 } 146 147 // ChatMessagePolicyViolationPolicyTip undocumented 148 type ChatMessagePolicyViolationPolicyTip struct { 149 // Object is the base model of ChatMessagePolicyViolationPolicyTip 150 Object 151 // GeneralText undocumented 152 GeneralText *string `json:"generalText,omitempty"` 153 // ComplianceURL undocumented 154 ComplianceURL *string `json:"complianceUrl,omitempty"` 155 // MatchedConditionDescriptions undocumented 156 MatchedConditionDescriptions []string `json:"matchedConditionDescriptions,omitempty"` 157 } 158 159 // ChatMessageReaction undocumented 160 type ChatMessageReaction struct { 161 // Object is the base model of ChatMessageReaction 162 Object 163 // ReactionType undocumented 164 ReactionType *string `json:"reactionType,omitempty"` 165 // CreatedDateTime undocumented 166 CreatedDateTime *time.Time `json:"createdDateTime,omitempty"` 167 // User undocumented 168 User *IdentitySet `json:"user,omitempty"` 169 }