microsoft/teams.net

Public

mirrored fromhttps://github.com/microsoft/teams.netAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
next/core

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

core/test/aot-checks/SampleActivities.cs

68lines · modecode

1internal static class SampleActivities
2{
3 public const string TeamsMessage = """
4 {
5 "type": "message",
6 "channelId": "msteams",
7 "text": "\u003Cat\u003Eridotest\u003C/at\u003E reply to thread",
8 "id": "1759944781430",
9 "serviceUrl": "https://smba.trafficmanager.net/amer/50612dbb-0237-4969-b378-8d42590f9c00/",
10 "channelData": {
11 "teamsChannelId": "19:6848757105754c8981c67612732d9aa7@thread.tacv2",
12 "teamsTeamId": "19:66P469zibfbsGI-_a0aN_toLTZpyzS6u7CT3TsXdgPw1@thread.tacv2",
13 "channel": {
14 "id": "19:6848757105754c8981c67612732d9aa7@thread.tacv2"
15 },
16 "team": {
17 "id": "19:66P469zibfbsGI-_a0aN_toLTZpyzS6u7CT3TsXdgPw1@thread.tacv2"
18 },
19 "tenant": {
20 "id": "50612dbb-0237-4969-b378-8d42590f9c00"
21 }
22 },
23 "from": {
24 "id": "29:17bUvCasIPKfQIXHvNzcPjD86fwm6GkWc1PvCGP2-NSkNb7AyGYpjQ7Xw-XgTwaHW5JxZ4KMNDxn1kcL8fwX1Nw",
25 "name": "rido",
26 "aadObjectId": "b15a9416-0ad3-4172-9210-7beb711d3f70"
27 },
28 "recipient": {
29 "id": "28:0b6fe6d1-fece-44f7-9a48-56465e2d5ab8",
30 "name": "ridotest"
31 },
32 "conversation": {
33 "id": "19:6848757105754c8981c67612732d9aa7@thread.tacv2;messageid=1759881511856",
34 "isGroup": true,
35 "conversationType": "channel",
36 "tenantId": "50612dbb-0237-4969-b378-8d42590f9c00"
37 },
38 "entities": [
39 {
40 "mentioned": {
41 "id": "28:0b6fe6d1-fece-44f7-9a48-56465e2d5ab8",
42 "name": "ridotest"
43 },
44 "text": "\u003Cat\u003Eridotest\u003C/at\u003E",
45 "type": "mention"
46 },
47 {
48 "locale": "en-US",
49 "country": "US",
50 "platform": "Web",
51 "timezone": "America/Los_Angeles",
52 "type": "clientInfo"
53 }
54 ],
55 "textFormat": "plain",
56 "attachments": [
57 {
58 "contentType": "text/html",
59 "content": "\u003Cp\u003E\u003Cspan itemtype=\u0022http://schema.skype.com/Mention\u0022 itemscope=\u0022\u0022 itemid=\u00220\u0022\u003Eridotest\u003C/span\u003E\u0026nbsp;reply to thread\u003C/p\u003E"
60 }
61 ],
62 "timestamp": "2025-10-08T17:33:01.4953744Z",
63 "localTimestamp": "2025-10-08T10:33:01.4953744-07:00",
64 "locale": "en-US",
65 "localTimezone": "America/Los_Angeles"
66 }
67 """;
68}