@atproto/api 0.20.0-next.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -10
- package/dist/client/lexicons.d.ts +1022 -104
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +581 -7
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/embed/external.d.ts +2 -1
- package/dist/client/types/app/bsky/embed/external.d.ts.map +1 -1
- package/dist/client/types/app/bsky/embed/external.js.map +1 -1
- package/dist/client/types/chat/bsky/convo/defs.d.ts +1 -1
- package/dist/client/types/chat/bsky/convo/defs.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/defs.js.map +1 -1
- package/dist/client/types/chat/bsky/group/addMembers.d.ts +1 -1
- package/dist/client/types/chat/bsky/group/addMembers.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/group/addMembers.js +3 -3
- package/dist/client/types/chat/bsky/group/addMembers.js.map +1 -1
- package/dist/client/types/chat/bsky/group/createGroup.d.ts +1 -1
- package/dist/client/types/chat/bsky/group/createGroup.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/group/createGroup.js +3 -3
- package/dist/client/types/chat/bsky/group/createGroup.js.map +1 -1
- package/dist/client/types/chat/bsky/moderation/getMessageContext.d.ts +5 -1
- package/dist/client/types/chat/bsky/moderation/getMessageContext.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/moderation/getMessageContext.js.map +1 -1
- package/dist/client/types/chat/bsky/moderation/subscribeModEvents.d.ts +206 -0
- package/dist/client/types/chat/bsky/moderation/subscribeModEvents.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/moderation/subscribeModEvents.js +63 -0
- package/dist/client/types/chat/bsky/moderation/subscribeModEvents.js.map +1 -1
- package/dist/rich-text/detection.js +1 -1
- package/dist/rich-text/detection.js.map +1 -1
- package/jest.config.cjs +9 -2
- package/package.json +6 -6
- package/src/client/lexicons.ts +606 -7
- package/src/client/types/app/bsky/embed/external.ts +2 -1
- package/src/client/types/chat/bsky/convo/defs.ts +1 -1
- package/src/client/types/chat/bsky/group/addMembers.ts +2 -3
- package/src/client/types/chat/bsky/group/createGroup.ts +2 -3
- package/src/client/types/chat/bsky/moderation/getMessageContext.ts +4 -1
- package/src/client/types/chat/bsky/moderation/subscribeModEvents.ts +328 -0
- package/src/rich-text/detection.ts +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
|
@@ -2509,9 +2509,12 @@ export declare const schemaDict: {
|
|
|
2509
2509
|
readonly accept: ["image/*"];
|
|
2510
2510
|
readonly maxSize: 1000000;
|
|
2511
2511
|
};
|
|
2512
|
-
readonly
|
|
2513
|
-
readonly type: "
|
|
2514
|
-
readonly
|
|
2512
|
+
readonly associatedRecords: {
|
|
2513
|
+
readonly type: "array";
|
|
2514
|
+
readonly items: {
|
|
2515
|
+
readonly type: "ref";
|
|
2516
|
+
readonly ref: "lex:com.atproto.repo.strongRef";
|
|
2517
|
+
};
|
|
2515
2518
|
readonly description: "The URI of the Atmosphere record representing this external content, if it exists. Example: a site.standard.document record.";
|
|
2516
2519
|
};
|
|
2517
2520
|
};
|
|
@@ -9642,7 +9645,7 @@ export declare const schemaDict: {
|
|
|
9642
9645
|
readonly type: "string";
|
|
9643
9646
|
};
|
|
9644
9647
|
readonly members: {
|
|
9645
|
-
readonly description: "Members of this conversation. For direct convos, it will be an immutable list of the 2 members. For group convos, it will a list of important members (the first few members, the viewer, the member who
|
|
9648
|
+
readonly description: "Members of this conversation. For direct convos, it will be an immutable list of the 2 members. For group convos, it will a list of important members (the first few members, the viewer, the member who added the viewer, the member who sent the last message, the member who sent the last reaction), but will not contain the full list of members. Use chat.bsky.convo.getConvoMembers to list all members.";
|
|
9646
9649
|
readonly type: "array";
|
|
9647
9650
|
readonly items: {
|
|
9648
9651
|
readonly type: "ref";
|
|
@@ -11108,7 +11111,7 @@ export declare const schemaDict: {
|
|
|
11108
11111
|
}, {
|
|
11109
11112
|
readonly name: "BlockedActor";
|
|
11110
11113
|
}, {
|
|
11111
|
-
readonly name: "
|
|
11114
|
+
readonly name: "UserForbidsGroups";
|
|
11112
11115
|
}, {
|
|
11113
11116
|
readonly name: "ConvoLocked";
|
|
11114
11117
|
}, {
|
|
@@ -11223,7 +11226,7 @@ export declare const schemaDict: {
|
|
|
11223
11226
|
}, {
|
|
11224
11227
|
readonly name: "BlockedActor";
|
|
11225
11228
|
}, {
|
|
11226
|
-
readonly name: "
|
|
11229
|
+
readonly name: "UserForbidsGroups";
|
|
11227
11230
|
}, {
|
|
11228
11231
|
readonly name: "NotFollowedBySender";
|
|
11229
11232
|
}, {
|
|
@@ -11886,10 +11889,19 @@ export declare const schemaDict: {
|
|
|
11886
11889
|
readonly before: {
|
|
11887
11890
|
readonly type: "integer";
|
|
11888
11891
|
readonly default: 5;
|
|
11892
|
+
readonly description: "Number of user messages before the target to include. System messages between the earliest returned user message and the target are also included, capped per gap by `maxInterleavedSystemMessages`. If there are no user messages before the target, up to `maxInterleavedSystemMessages` system messages immediately preceding the target are returned instead.";
|
|
11889
11893
|
};
|
|
11890
11894
|
readonly after: {
|
|
11891
11895
|
readonly type: "integer";
|
|
11892
11896
|
readonly default: 5;
|
|
11897
|
+
readonly description: "Number of user messages after the target to include. System messages between the target and the latest returned user message are also included, capped per gap by `maxInterleavedSystemMessages`. If there are no user messages after the target, up to `maxInterleavedSystemMessages` system messages immediately following the target are returned instead.";
|
|
11898
|
+
};
|
|
11899
|
+
readonly maxInterleavedSystemMessages: {
|
|
11900
|
+
readonly type: "integer";
|
|
11901
|
+
readonly default: 10;
|
|
11902
|
+
readonly minimum: 0;
|
|
11903
|
+
readonly maximum: 1000;
|
|
11904
|
+
readonly description: "Maximum number of system messages to include per gap between consecutive returned messages (and per side when there are no user messages on that side). Within a gap, the system messages closest to the earlier message are kept.";
|
|
11893
11905
|
};
|
|
11894
11906
|
};
|
|
11895
11907
|
};
|
|
@@ -11903,7 +11915,7 @@ export declare const schemaDict: {
|
|
|
11903
11915
|
readonly type: "array";
|
|
11904
11916
|
readonly items: {
|
|
11905
11917
|
readonly type: "union";
|
|
11906
|
-
readonly refs: ["lex:chat.bsky.convo.defs#messageView", "lex:chat.bsky.convo.defs#
|
|
11918
|
+
readonly refs: ["lex:chat.bsky.convo.defs#messageView", "lex:chat.bsky.convo.defs#systemMessageView"];
|
|
11907
11919
|
};
|
|
11908
11920
|
};
|
|
11909
11921
|
};
|
|
@@ -11931,7 +11943,7 @@ export declare const schemaDict: {
|
|
|
11931
11943
|
readonly message: {
|
|
11932
11944
|
readonly schema: {
|
|
11933
11945
|
readonly type: "union";
|
|
11934
|
-
readonly refs: ["lex:chat.bsky.moderation.subscribeModEvents#eventConvoFirstMessage"];
|
|
11946
|
+
readonly refs: ["lex:chat.bsky.moderation.subscribeModEvents#eventConvoFirstMessage", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatCreated", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberAdded", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberJoined", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequest", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestApproved", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestRejected", "lex:chat.bsky.moderation.subscribeModEvents#eventChatAccepted", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberLeft", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatUpdated"];
|
|
11935
11947
|
};
|
|
11936
11948
|
};
|
|
11937
11949
|
readonly errors: [{
|
|
@@ -11943,6 +11955,7 @@ export declare const schemaDict: {
|
|
|
11943
11955
|
};
|
|
11944
11956
|
readonly eventConvoFirstMessage: {
|
|
11945
11957
|
readonly type: "object";
|
|
11958
|
+
readonly description: "Fired when the first message was sent on a convo.";
|
|
11946
11959
|
readonly required: ["createdAt", "rev", "convoId", "user", "recipients"];
|
|
11947
11960
|
readonly properties: {
|
|
11948
11961
|
readonly convoId: {
|
|
@@ -11973,158 +11986,604 @@ export declare const schemaDict: {
|
|
|
11973
11986
|
};
|
|
11974
11987
|
};
|
|
11975
11988
|
};
|
|
11976
|
-
|
|
11977
|
-
|
|
11978
|
-
|
|
11979
|
-
|
|
11980
|
-
|
|
11981
|
-
|
|
11982
|
-
|
|
11983
|
-
|
|
11984
|
-
|
|
11985
|
-
|
|
11986
|
-
readonly
|
|
11987
|
-
readonly
|
|
11988
|
-
readonly
|
|
11989
|
-
readonly
|
|
11990
|
-
|
|
11991
|
-
|
|
11992
|
-
|
|
11993
|
-
|
|
11994
|
-
|
|
11995
|
-
|
|
11996
|
-
|
|
11997
|
-
|
|
11998
|
-
|
|
11999
|
-
|
|
11989
|
+
readonly eventGroupChatCreated: {
|
|
11990
|
+
readonly type: "object";
|
|
11991
|
+
readonly description: "Fire when a group chat is created.";
|
|
11992
|
+
readonly required: ["actorDid", "convoCreatedAt", "convoId", "createdAt", "groupMemberCount", "groupName", "initialMemberDids", "ownerDid", "rev"];
|
|
11993
|
+
readonly properties: {
|
|
11994
|
+
readonly actorDid: {
|
|
11995
|
+
readonly description: "The DID of the actor performing the action. For this event, same as ownerDid.";
|
|
11996
|
+
readonly type: "string";
|
|
11997
|
+
readonly format: "did";
|
|
11998
|
+
};
|
|
11999
|
+
readonly convoCreatedAt: {
|
|
12000
|
+
readonly description: "When the group was originally created.";
|
|
12001
|
+
readonly type: "string";
|
|
12002
|
+
readonly format: "datetime";
|
|
12003
|
+
};
|
|
12004
|
+
readonly convoId: {
|
|
12005
|
+
readonly type: "string";
|
|
12006
|
+
};
|
|
12007
|
+
readonly createdAt: {
|
|
12008
|
+
readonly type: "string";
|
|
12009
|
+
readonly format: "datetime";
|
|
12010
|
+
};
|
|
12011
|
+
readonly groupMemberCount: {
|
|
12012
|
+
readonly description: "Current member count at the time of the event.";
|
|
12013
|
+
readonly type: "integer";
|
|
12014
|
+
};
|
|
12015
|
+
readonly groupName: {
|
|
12016
|
+
readonly description: "The name set at creation time.";
|
|
12017
|
+
readonly type: "string";
|
|
12018
|
+
};
|
|
12019
|
+
readonly initialMemberDids: {
|
|
12020
|
+
readonly description: "DIDs of everyone added at creation time.";
|
|
12021
|
+
readonly type: "array";
|
|
12022
|
+
readonly items: {
|
|
12023
|
+
readonly type: "string";
|
|
12024
|
+
readonly format: "did";
|
|
12000
12025
|
};
|
|
12001
12026
|
};
|
|
12027
|
+
readonly ownerDid: {
|
|
12028
|
+
readonly description: "The DID of the group chat owner.";
|
|
12029
|
+
readonly type: "string";
|
|
12030
|
+
readonly format: "did";
|
|
12031
|
+
};
|
|
12032
|
+
readonly rev: {
|
|
12033
|
+
readonly type: "string";
|
|
12034
|
+
};
|
|
12002
12035
|
};
|
|
12003
12036
|
};
|
|
12004
|
-
|
|
12005
|
-
};
|
|
12006
|
-
readonly ComAtprotoAdminDefs: {
|
|
12007
|
-
readonly lexicon: 1;
|
|
12008
|
-
readonly id: "com.atproto.admin.defs";
|
|
12009
|
-
readonly defs: {
|
|
12010
|
-
readonly statusAttr: {
|
|
12037
|
+
readonly eventGroupChatMemberAdded: {
|
|
12011
12038
|
readonly type: "object";
|
|
12012
|
-
readonly
|
|
12039
|
+
readonly description: "Fired when a member is added to a group chat. Note that members are added in the 'request' state.";
|
|
12040
|
+
readonly required: ["actorDid", "convoCreatedAt", "convoId", "createdAt", "groupMemberCount", "groupName", "ownerDid", "requestMembersCount", "rev", "subjectDid", "subjectFollowsOwner"];
|
|
12013
12041
|
readonly properties: {
|
|
12014
|
-
readonly
|
|
12015
|
-
readonly
|
|
12042
|
+
readonly actorDid: {
|
|
12043
|
+
readonly description: "The DID of the actor performing the action. For this event, same as ownerDid.";
|
|
12044
|
+
readonly type: "string";
|
|
12045
|
+
readonly format: "did";
|
|
12016
12046
|
};
|
|
12017
|
-
readonly
|
|
12047
|
+
readonly convoCreatedAt: {
|
|
12048
|
+
readonly description: "When the group was originally created.";
|
|
12049
|
+
readonly type: "string";
|
|
12050
|
+
readonly format: "datetime";
|
|
12051
|
+
};
|
|
12052
|
+
readonly convoId: {
|
|
12053
|
+
readonly type: "string";
|
|
12054
|
+
};
|
|
12055
|
+
readonly createdAt: {
|
|
12056
|
+
readonly type: "string";
|
|
12057
|
+
readonly format: "datetime";
|
|
12058
|
+
};
|
|
12059
|
+
readonly groupMemberCount: {
|
|
12060
|
+
readonly description: "Current member count at the time of the event.";
|
|
12061
|
+
readonly type: "integer";
|
|
12062
|
+
};
|
|
12063
|
+
readonly groupName: {
|
|
12064
|
+
readonly type: "string";
|
|
12065
|
+
};
|
|
12066
|
+
readonly ownerDid: {
|
|
12067
|
+
readonly description: "The DID of the group chat owner.";
|
|
12068
|
+
readonly type: "string";
|
|
12069
|
+
readonly format: "did";
|
|
12070
|
+
};
|
|
12071
|
+
readonly requestMembersCount: {
|
|
12072
|
+
readonly description: "The number of members who have not yet accepted the convo.";
|
|
12073
|
+
readonly type: "integer";
|
|
12074
|
+
};
|
|
12075
|
+
readonly rev: {
|
|
12076
|
+
readonly type: "string";
|
|
12077
|
+
};
|
|
12078
|
+
readonly subjectDid: {
|
|
12079
|
+
readonly description: "The DID of the member who was added.";
|
|
12018
12080
|
readonly type: "string";
|
|
12081
|
+
readonly format: "did";
|
|
12082
|
+
};
|
|
12083
|
+
readonly subjectFollowsOwner: {
|
|
12084
|
+
readonly description: "Whether the added member follows the group owner.";
|
|
12085
|
+
readonly type: "boolean";
|
|
12019
12086
|
};
|
|
12020
12087
|
};
|
|
12021
12088
|
};
|
|
12022
|
-
readonly
|
|
12089
|
+
readonly eventGroupChatMemberJoined: {
|
|
12023
12090
|
readonly type: "object";
|
|
12024
|
-
readonly
|
|
12091
|
+
readonly description: "Fired when a member joins a group chat via an join link that does not require approval.";
|
|
12092
|
+
readonly required: ["actorDid", "convoCreatedAt", "convoId", "createdAt", "groupMemberCount", "groupName", "joinLinkCode", "ownerDid", "rev", "subjectFollowsOwner"];
|
|
12025
12093
|
readonly properties: {
|
|
12026
|
-
readonly
|
|
12094
|
+
readonly actorDid: {
|
|
12095
|
+
readonly description: "The DID of the person joining.";
|
|
12027
12096
|
readonly type: "string";
|
|
12028
12097
|
readonly format: "did";
|
|
12029
12098
|
};
|
|
12030
|
-
readonly
|
|
12099
|
+
readonly convoCreatedAt: {
|
|
12100
|
+
readonly description: "When the group was originally created.";
|
|
12031
12101
|
readonly type: "string";
|
|
12032
|
-
readonly format: "
|
|
12102
|
+
readonly format: "datetime";
|
|
12033
12103
|
};
|
|
12034
|
-
readonly
|
|
12104
|
+
readonly convoId: {
|
|
12035
12105
|
readonly type: "string";
|
|
12036
12106
|
};
|
|
12037
|
-
readonly
|
|
12038
|
-
readonly type: "array";
|
|
12039
|
-
readonly items: {
|
|
12040
|
-
readonly type: "unknown";
|
|
12041
|
-
};
|
|
12042
|
-
};
|
|
12043
|
-
readonly indexedAt: {
|
|
12107
|
+
readonly createdAt: {
|
|
12044
12108
|
readonly type: "string";
|
|
12045
12109
|
readonly format: "datetime";
|
|
12046
12110
|
};
|
|
12047
|
-
readonly
|
|
12048
|
-
readonly
|
|
12049
|
-
readonly
|
|
12111
|
+
readonly groupMemberCount: {
|
|
12112
|
+
readonly description: "Current member count at the time of the event.";
|
|
12113
|
+
readonly type: "integer";
|
|
12050
12114
|
};
|
|
12051
|
-
readonly
|
|
12052
|
-
readonly type: "
|
|
12053
|
-
readonly items: {
|
|
12054
|
-
readonly type: "ref";
|
|
12055
|
-
readonly ref: "lex:com.atproto.server.defs#inviteCode";
|
|
12056
|
-
};
|
|
12115
|
+
readonly groupName: {
|
|
12116
|
+
readonly type: "string";
|
|
12057
12117
|
};
|
|
12058
|
-
readonly
|
|
12118
|
+
readonly joinLinkCode: {
|
|
12119
|
+
readonly description: "The code of the join link used to join.";
|
|
12120
|
+
readonly type: "string";
|
|
12121
|
+
};
|
|
12122
|
+
readonly ownerDid: {
|
|
12123
|
+
readonly description: "The DID of the group chat owner.";
|
|
12124
|
+
readonly type: "string";
|
|
12125
|
+
readonly format: "did";
|
|
12126
|
+
};
|
|
12127
|
+
readonly rev: {
|
|
12128
|
+
readonly type: "string";
|
|
12129
|
+
};
|
|
12130
|
+
readonly subjectFollowsOwner: {
|
|
12131
|
+
readonly description: "Whether the joining member follows the group owner.";
|
|
12059
12132
|
readonly type: "boolean";
|
|
12060
12133
|
};
|
|
12061
|
-
|
|
12134
|
+
};
|
|
12135
|
+
};
|
|
12136
|
+
readonly eventGroupChatJoinRequest: {
|
|
12137
|
+
readonly type: "object";
|
|
12138
|
+
readonly description: "Fired when a user requests to join a group chat via an join link that requires approval.";
|
|
12139
|
+
readonly required: ["actorDid", "convoCreatedAt", "convoId", "createdAt", "groupMemberCount", "groupName", "joinLinkCode", "ownerDid", "rev", "subjectFollowsOwner"];
|
|
12140
|
+
readonly properties: {
|
|
12141
|
+
readonly actorDid: {
|
|
12142
|
+
readonly description: "The DID of the person requesting to join.";
|
|
12143
|
+
readonly type: "string";
|
|
12144
|
+
readonly format: "did";
|
|
12145
|
+
};
|
|
12146
|
+
readonly convoCreatedAt: {
|
|
12147
|
+
readonly description: "When the group was originally created.";
|
|
12062
12148
|
readonly type: "string";
|
|
12063
12149
|
readonly format: "datetime";
|
|
12064
12150
|
};
|
|
12065
|
-
readonly
|
|
12151
|
+
readonly convoId: {
|
|
12066
12152
|
readonly type: "string";
|
|
12067
12153
|
};
|
|
12068
|
-
readonly
|
|
12154
|
+
readonly createdAt: {
|
|
12069
12155
|
readonly type: "string";
|
|
12070
12156
|
readonly format: "datetime";
|
|
12071
12157
|
};
|
|
12072
|
-
readonly
|
|
12073
|
-
readonly
|
|
12074
|
-
readonly
|
|
12075
|
-
|
|
12076
|
-
|
|
12077
|
-
|
|
12158
|
+
readonly groupMemberCount: {
|
|
12159
|
+
readonly description: "Current member count at the time of the event.";
|
|
12160
|
+
readonly type: "integer";
|
|
12161
|
+
};
|
|
12162
|
+
readonly groupName: {
|
|
12163
|
+
readonly type: "string";
|
|
12164
|
+
};
|
|
12165
|
+
readonly joinLinkCode: {
|
|
12166
|
+
readonly description: "The code of the join link used to request joining.";
|
|
12167
|
+
readonly type: "string";
|
|
12168
|
+
};
|
|
12169
|
+
readonly ownerDid: {
|
|
12170
|
+
readonly description: "The DID of the group chat owner.";
|
|
12171
|
+
readonly type: "string";
|
|
12172
|
+
readonly format: "did";
|
|
12173
|
+
};
|
|
12174
|
+
readonly rev: {
|
|
12175
|
+
readonly type: "string";
|
|
12176
|
+
};
|
|
12177
|
+
readonly subjectFollowsOwner: {
|
|
12178
|
+
readonly description: "Whether the requesting member follows the group owner.";
|
|
12179
|
+
readonly type: "boolean";
|
|
12078
12180
|
};
|
|
12079
12181
|
};
|
|
12080
12182
|
};
|
|
12081
|
-
readonly
|
|
12183
|
+
readonly eventGroupChatJoinRequestApproved: {
|
|
12082
12184
|
readonly type: "object";
|
|
12083
|
-
readonly
|
|
12185
|
+
readonly description: "Fired when a join request is approved by the group owner.";
|
|
12186
|
+
readonly required: ["actorDid", "convoCreatedAt", "convoId", "createdAt", "groupMemberCount", "groupName", "ownerDid", "rev", "subjectDid"];
|
|
12084
12187
|
readonly properties: {
|
|
12085
|
-
readonly
|
|
12188
|
+
readonly actorDid: {
|
|
12189
|
+
readonly description: "The DID of the owner approving the request.";
|
|
12190
|
+
readonly type: "string";
|
|
12191
|
+
readonly format: "did";
|
|
12192
|
+
};
|
|
12193
|
+
readonly convoCreatedAt: {
|
|
12194
|
+
readonly description: "When the group was originally created.";
|
|
12195
|
+
readonly type: "string";
|
|
12196
|
+
readonly format: "datetime";
|
|
12197
|
+
};
|
|
12198
|
+
readonly convoId: {
|
|
12199
|
+
readonly type: "string";
|
|
12200
|
+
};
|
|
12201
|
+
readonly createdAt: {
|
|
12202
|
+
readonly type: "string";
|
|
12203
|
+
readonly format: "datetime";
|
|
12204
|
+
};
|
|
12205
|
+
readonly groupMemberCount: {
|
|
12206
|
+
readonly description: "Current member count at the time of the event.";
|
|
12207
|
+
readonly type: "integer";
|
|
12208
|
+
};
|
|
12209
|
+
readonly groupName: {
|
|
12210
|
+
readonly type: "string";
|
|
12211
|
+
};
|
|
12212
|
+
readonly ownerDid: {
|
|
12213
|
+
readonly description: "The DID of the group chat owner.";
|
|
12214
|
+
readonly type: "string";
|
|
12215
|
+
readonly format: "did";
|
|
12216
|
+
};
|
|
12217
|
+
readonly rev: {
|
|
12218
|
+
readonly type: "string";
|
|
12219
|
+
};
|
|
12220
|
+
readonly subjectDid: {
|
|
12221
|
+
readonly description: "The DID of the member whose request was approved.";
|
|
12086
12222
|
readonly type: "string";
|
|
12087
12223
|
readonly format: "did";
|
|
12088
12224
|
};
|
|
12089
12225
|
};
|
|
12090
12226
|
};
|
|
12091
|
-
readonly
|
|
12227
|
+
readonly eventGroupChatJoinRequestRejected: {
|
|
12092
12228
|
readonly type: "object";
|
|
12093
|
-
readonly
|
|
12229
|
+
readonly description: "Fired when a join request is rejected by the group owner.";
|
|
12230
|
+
readonly required: ["actorDid", "convoCreatedAt", "convoId", "createdAt", "groupMemberCount", "groupName", "ownerDid", "rev", "subjectDid"];
|
|
12094
12231
|
readonly properties: {
|
|
12095
|
-
readonly
|
|
12232
|
+
readonly actorDid: {
|
|
12233
|
+
readonly description: "The DID of the owner rejecting the request.";
|
|
12096
12234
|
readonly type: "string";
|
|
12097
12235
|
readonly format: "did";
|
|
12098
12236
|
};
|
|
12099
|
-
readonly
|
|
12237
|
+
readonly convoCreatedAt: {
|
|
12238
|
+
readonly description: "When the group was originally created.";
|
|
12100
12239
|
readonly type: "string";
|
|
12101
|
-
readonly format: "
|
|
12240
|
+
readonly format: "datetime";
|
|
12102
12241
|
};
|
|
12103
|
-
readonly
|
|
12242
|
+
readonly convoId: {
|
|
12243
|
+
readonly type: "string";
|
|
12244
|
+
};
|
|
12245
|
+
readonly createdAt: {
|
|
12246
|
+
readonly type: "string";
|
|
12247
|
+
readonly format: "datetime";
|
|
12248
|
+
};
|
|
12249
|
+
readonly groupMemberCount: {
|
|
12250
|
+
readonly description: "Current member count at the time of the event.";
|
|
12251
|
+
readonly type: "integer";
|
|
12252
|
+
};
|
|
12253
|
+
readonly groupName: {
|
|
12254
|
+
readonly type: "string";
|
|
12255
|
+
};
|
|
12256
|
+
readonly ownerDid: {
|
|
12257
|
+
readonly description: "The DID of the group chat owner.";
|
|
12258
|
+
readonly type: "string";
|
|
12259
|
+
readonly format: "did";
|
|
12260
|
+
};
|
|
12261
|
+
readonly rev: {
|
|
12104
12262
|
readonly type: "string";
|
|
12105
|
-
|
|
12263
|
+
};
|
|
12264
|
+
readonly subjectDid: {
|
|
12265
|
+
readonly description: "The DID of the member whose request was rejected.";
|
|
12266
|
+
readonly type: "string";
|
|
12267
|
+
readonly format: "did";
|
|
12106
12268
|
};
|
|
12107
12269
|
};
|
|
12108
12270
|
};
|
|
12109
|
-
readonly
|
|
12271
|
+
readonly eventChatAccepted: {
|
|
12110
12272
|
readonly type: "object";
|
|
12111
|
-
readonly
|
|
12273
|
+
readonly description: "Fired when a user accepts a chat convo, either explicitly or by sending a message.";
|
|
12274
|
+
readonly required: ["actorDid", "convoCreatedAt", "convoId", "createdAt", "method", "rev"];
|
|
12112
12275
|
readonly properties: {
|
|
12113
|
-
readonly
|
|
12276
|
+
readonly actorDid: {
|
|
12277
|
+
readonly description: "The DID of the person accepting the convo.";
|
|
12114
12278
|
readonly type: "string";
|
|
12279
|
+
readonly format: "did";
|
|
12115
12280
|
};
|
|
12116
|
-
readonly
|
|
12281
|
+
readonly convoCreatedAt: {
|
|
12282
|
+
readonly description: "When the convo was originally created.";
|
|
12283
|
+
readonly type: "string";
|
|
12284
|
+
readonly format: "datetime";
|
|
12285
|
+
};
|
|
12286
|
+
readonly convoId: {
|
|
12287
|
+
readonly type: "string";
|
|
12288
|
+
};
|
|
12289
|
+
readonly createdAt: {
|
|
12290
|
+
readonly type: "string";
|
|
12291
|
+
readonly format: "datetime";
|
|
12292
|
+
};
|
|
12293
|
+
readonly groupMemberCount: {
|
|
12294
|
+
readonly description: "Current member count at the time of the event. Only present for group convos.";
|
|
12295
|
+
readonly type: "integer";
|
|
12296
|
+
};
|
|
12297
|
+
readonly groupName: {
|
|
12298
|
+
readonly description: "The name of the group chat. Only present for group convos.";
|
|
12299
|
+
readonly type: "string";
|
|
12300
|
+
};
|
|
12301
|
+
readonly method: {
|
|
12302
|
+
readonly description: "How the convo was accepted.";
|
|
12303
|
+
readonly type: "string";
|
|
12304
|
+
readonly knownValues: ["explicit", "message"];
|
|
12305
|
+
};
|
|
12306
|
+
readonly ownerDid: {
|
|
12307
|
+
readonly description: "The DID of the group chat owner. Only present for group convos.";
|
|
12308
|
+
readonly type: "string";
|
|
12309
|
+
readonly format: "did";
|
|
12310
|
+
};
|
|
12311
|
+
readonly rev: {
|
|
12117
12312
|
readonly type: "string";
|
|
12118
12313
|
};
|
|
12119
12314
|
};
|
|
12120
12315
|
};
|
|
12121
|
-
|
|
12122
|
-
|
|
12123
|
-
|
|
12124
|
-
|
|
12125
|
-
|
|
12126
|
-
|
|
12127
|
-
|
|
12316
|
+
readonly eventGroupChatMemberLeft: {
|
|
12317
|
+
readonly type: "object";
|
|
12318
|
+
readonly description: "Fired when a member leaves or is removed from a group chat.";
|
|
12319
|
+
readonly required: ["actorDid", "convoCreatedAt", "convoId", "createdAt", "groupMemberCount", "groupName", "leaveMethod", "ownerDid", "rev", "subjectDid"];
|
|
12320
|
+
readonly properties: {
|
|
12321
|
+
readonly actorDid: {
|
|
12322
|
+
readonly description: "The DID of the actor. For voluntary: the person leaving. For kicked: the owner.";
|
|
12323
|
+
readonly type: "string";
|
|
12324
|
+
readonly format: "did";
|
|
12325
|
+
};
|
|
12326
|
+
readonly convoCreatedAt: {
|
|
12327
|
+
readonly description: "When the group was originally created.";
|
|
12328
|
+
readonly type: "string";
|
|
12329
|
+
readonly format: "datetime";
|
|
12330
|
+
};
|
|
12331
|
+
readonly convoId: {
|
|
12332
|
+
readonly type: "string";
|
|
12333
|
+
};
|
|
12334
|
+
readonly createdAt: {
|
|
12335
|
+
readonly type: "string";
|
|
12336
|
+
readonly format: "datetime";
|
|
12337
|
+
};
|
|
12338
|
+
readonly groupMemberCount: {
|
|
12339
|
+
readonly description: "Current member count at the time of the event.";
|
|
12340
|
+
readonly type: "integer";
|
|
12341
|
+
};
|
|
12342
|
+
readonly groupName: {
|
|
12343
|
+
readonly type: "string";
|
|
12344
|
+
};
|
|
12345
|
+
readonly leaveMethod: {
|
|
12346
|
+
readonly description: "How the member left.";
|
|
12347
|
+
readonly type: "string";
|
|
12348
|
+
readonly knownValues: ["voluntary", "kicked"];
|
|
12349
|
+
};
|
|
12350
|
+
readonly ownerDid: {
|
|
12351
|
+
readonly description: "The DID of the group chat owner.";
|
|
12352
|
+
readonly type: "string";
|
|
12353
|
+
readonly format: "did";
|
|
12354
|
+
};
|
|
12355
|
+
readonly rev: {
|
|
12356
|
+
readonly type: "string";
|
|
12357
|
+
};
|
|
12358
|
+
readonly subjectDid: {
|
|
12359
|
+
readonly description: "The DID of the member who left or was removed.";
|
|
12360
|
+
readonly type: "string";
|
|
12361
|
+
readonly format: "did";
|
|
12362
|
+
};
|
|
12363
|
+
};
|
|
12364
|
+
};
|
|
12365
|
+
readonly eventGroupChatUpdated: {
|
|
12366
|
+
readonly type: "object";
|
|
12367
|
+
readonly description: "Fired when a group chat's metadata or status changes.";
|
|
12368
|
+
readonly required: ["actorDid", "convoCreatedAt", "convoId", "createdAt", "groupMemberCount", "groupName", "ownerDid", "rev", "updateType"];
|
|
12369
|
+
readonly properties: {
|
|
12370
|
+
readonly actorDid: {
|
|
12371
|
+
readonly description: "The DID of the actor performing the action (the owner).";
|
|
12372
|
+
readonly type: "string";
|
|
12373
|
+
readonly format: "did";
|
|
12374
|
+
};
|
|
12375
|
+
readonly convoCreatedAt: {
|
|
12376
|
+
readonly description: "When the group was originally created.";
|
|
12377
|
+
readonly type: "string";
|
|
12378
|
+
readonly format: "datetime";
|
|
12379
|
+
};
|
|
12380
|
+
readonly convoId: {
|
|
12381
|
+
readonly type: "string";
|
|
12382
|
+
};
|
|
12383
|
+
readonly createdAt: {
|
|
12384
|
+
readonly type: "string";
|
|
12385
|
+
readonly format: "datetime";
|
|
12386
|
+
};
|
|
12387
|
+
readonly groupMemberCount: {
|
|
12388
|
+
readonly description: "Current member count at the time of the event.";
|
|
12389
|
+
readonly type: "integer";
|
|
12390
|
+
};
|
|
12391
|
+
readonly groupName: {
|
|
12392
|
+
readonly description: "Current group name.";
|
|
12393
|
+
readonly type: "string";
|
|
12394
|
+
};
|
|
12395
|
+
readonly joinLinkCode: {
|
|
12396
|
+
readonly description: "The code of the join link. Only present when updateType is join-link-related.";
|
|
12397
|
+
readonly type: "string";
|
|
12398
|
+
};
|
|
12399
|
+
readonly joinLinkFollowersOnly: {
|
|
12400
|
+
readonly description: "Whether the join link is restricted to followers of the owner. Only present when updateType is join-link-related.";
|
|
12401
|
+
readonly type: "boolean";
|
|
12402
|
+
};
|
|
12403
|
+
readonly joinLinkRequiresApproval: {
|
|
12404
|
+
readonly description: "Whether the join link requires owner approval to join. Only present when updateType is join-link-related.";
|
|
12405
|
+
readonly type: "boolean";
|
|
12406
|
+
};
|
|
12407
|
+
readonly lockReason: {
|
|
12408
|
+
readonly description: "Why the group was locked. Only present when updateType is 'locked'.";
|
|
12409
|
+
readonly type: "string";
|
|
12410
|
+
readonly knownValues: ["owner_action", "owner_left", "owner_deactivated", "owner_deleted", "owner_taken_down", "label_applied"];
|
|
12411
|
+
};
|
|
12412
|
+
readonly newName: {
|
|
12413
|
+
readonly description: "The new group name. Only present when updateType is 'name_changed'.";
|
|
12414
|
+
readonly type: "string";
|
|
12415
|
+
};
|
|
12416
|
+
readonly oldName: {
|
|
12417
|
+
readonly description: "The previous group name. Only present when updateType is 'name_changed'.";
|
|
12418
|
+
readonly type: "string";
|
|
12419
|
+
};
|
|
12420
|
+
readonly ownerDid: {
|
|
12421
|
+
readonly description: "The DID of the group chat owner.";
|
|
12422
|
+
readonly type: "string";
|
|
12423
|
+
readonly format: "did";
|
|
12424
|
+
};
|
|
12425
|
+
readonly rev: {
|
|
12426
|
+
readonly type: "string";
|
|
12427
|
+
};
|
|
12428
|
+
readonly updateType: {
|
|
12429
|
+
readonly description: "What changed.";
|
|
12430
|
+
readonly type: "string";
|
|
12431
|
+
readonly knownValues: ["name_changed", "locked", "locked_permanently", "unlocked", "join_link_created", "join_link_disabled", "join_link_settings_changed"];
|
|
12432
|
+
};
|
|
12433
|
+
};
|
|
12434
|
+
};
|
|
12435
|
+
};
|
|
12436
|
+
};
|
|
12437
|
+
readonly ChatBskyModerationUpdateActorAccess: {
|
|
12438
|
+
readonly lexicon: 1;
|
|
12439
|
+
readonly id: "chat.bsky.moderation.updateActorAccess";
|
|
12440
|
+
readonly defs: {
|
|
12441
|
+
readonly main: {
|
|
12442
|
+
readonly type: "procedure";
|
|
12443
|
+
readonly input: {
|
|
12444
|
+
readonly encoding: "application/json";
|
|
12445
|
+
readonly schema: {
|
|
12446
|
+
readonly type: "object";
|
|
12447
|
+
readonly required: ["actor", "allowAccess"];
|
|
12448
|
+
readonly properties: {
|
|
12449
|
+
readonly actor: {
|
|
12450
|
+
readonly type: "string";
|
|
12451
|
+
readonly format: "did";
|
|
12452
|
+
};
|
|
12453
|
+
readonly allowAccess: {
|
|
12454
|
+
readonly type: "boolean";
|
|
12455
|
+
};
|
|
12456
|
+
readonly ref: {
|
|
12457
|
+
readonly type: "string";
|
|
12458
|
+
};
|
|
12459
|
+
};
|
|
12460
|
+
};
|
|
12461
|
+
};
|
|
12462
|
+
};
|
|
12463
|
+
};
|
|
12464
|
+
};
|
|
12465
|
+
readonly ComAtprotoAdminDefs: {
|
|
12466
|
+
readonly lexicon: 1;
|
|
12467
|
+
readonly id: "com.atproto.admin.defs";
|
|
12468
|
+
readonly defs: {
|
|
12469
|
+
readonly statusAttr: {
|
|
12470
|
+
readonly type: "object";
|
|
12471
|
+
readonly required: ["applied"];
|
|
12472
|
+
readonly properties: {
|
|
12473
|
+
readonly applied: {
|
|
12474
|
+
readonly type: "boolean";
|
|
12475
|
+
};
|
|
12476
|
+
readonly ref: {
|
|
12477
|
+
readonly type: "string";
|
|
12478
|
+
};
|
|
12479
|
+
};
|
|
12480
|
+
};
|
|
12481
|
+
readonly accountView: {
|
|
12482
|
+
readonly type: "object";
|
|
12483
|
+
readonly required: ["did", "handle", "indexedAt"];
|
|
12484
|
+
readonly properties: {
|
|
12485
|
+
readonly did: {
|
|
12486
|
+
readonly type: "string";
|
|
12487
|
+
readonly format: "did";
|
|
12488
|
+
};
|
|
12489
|
+
readonly handle: {
|
|
12490
|
+
readonly type: "string";
|
|
12491
|
+
readonly format: "handle";
|
|
12492
|
+
};
|
|
12493
|
+
readonly email: {
|
|
12494
|
+
readonly type: "string";
|
|
12495
|
+
};
|
|
12496
|
+
readonly relatedRecords: {
|
|
12497
|
+
readonly type: "array";
|
|
12498
|
+
readonly items: {
|
|
12499
|
+
readonly type: "unknown";
|
|
12500
|
+
};
|
|
12501
|
+
};
|
|
12502
|
+
readonly indexedAt: {
|
|
12503
|
+
readonly type: "string";
|
|
12504
|
+
readonly format: "datetime";
|
|
12505
|
+
};
|
|
12506
|
+
readonly invitedBy: {
|
|
12507
|
+
readonly type: "ref";
|
|
12508
|
+
readonly ref: "lex:com.atproto.server.defs#inviteCode";
|
|
12509
|
+
};
|
|
12510
|
+
readonly invites: {
|
|
12511
|
+
readonly type: "array";
|
|
12512
|
+
readonly items: {
|
|
12513
|
+
readonly type: "ref";
|
|
12514
|
+
readonly ref: "lex:com.atproto.server.defs#inviteCode";
|
|
12515
|
+
};
|
|
12516
|
+
};
|
|
12517
|
+
readonly invitesDisabled: {
|
|
12518
|
+
readonly type: "boolean";
|
|
12519
|
+
};
|
|
12520
|
+
readonly emailConfirmedAt: {
|
|
12521
|
+
readonly type: "string";
|
|
12522
|
+
readonly format: "datetime";
|
|
12523
|
+
};
|
|
12524
|
+
readonly inviteNote: {
|
|
12525
|
+
readonly type: "string";
|
|
12526
|
+
};
|
|
12527
|
+
readonly deactivatedAt: {
|
|
12528
|
+
readonly type: "string";
|
|
12529
|
+
readonly format: "datetime";
|
|
12530
|
+
};
|
|
12531
|
+
readonly threatSignatures: {
|
|
12532
|
+
readonly type: "array";
|
|
12533
|
+
readonly items: {
|
|
12534
|
+
readonly type: "ref";
|
|
12535
|
+
readonly ref: "lex:com.atproto.admin.defs#threatSignature";
|
|
12536
|
+
};
|
|
12537
|
+
};
|
|
12538
|
+
};
|
|
12539
|
+
};
|
|
12540
|
+
readonly repoRef: {
|
|
12541
|
+
readonly type: "object";
|
|
12542
|
+
readonly required: ["did"];
|
|
12543
|
+
readonly properties: {
|
|
12544
|
+
readonly did: {
|
|
12545
|
+
readonly type: "string";
|
|
12546
|
+
readonly format: "did";
|
|
12547
|
+
};
|
|
12548
|
+
};
|
|
12549
|
+
};
|
|
12550
|
+
readonly repoBlobRef: {
|
|
12551
|
+
readonly type: "object";
|
|
12552
|
+
readonly required: ["did", "cid"];
|
|
12553
|
+
readonly properties: {
|
|
12554
|
+
readonly did: {
|
|
12555
|
+
readonly type: "string";
|
|
12556
|
+
readonly format: "did";
|
|
12557
|
+
};
|
|
12558
|
+
readonly cid: {
|
|
12559
|
+
readonly type: "string";
|
|
12560
|
+
readonly format: "cid";
|
|
12561
|
+
};
|
|
12562
|
+
readonly recordUri: {
|
|
12563
|
+
readonly type: "string";
|
|
12564
|
+
readonly format: "at-uri";
|
|
12565
|
+
};
|
|
12566
|
+
};
|
|
12567
|
+
};
|
|
12568
|
+
readonly threatSignature: {
|
|
12569
|
+
readonly type: "object";
|
|
12570
|
+
readonly required: ["property", "value"];
|
|
12571
|
+
readonly properties: {
|
|
12572
|
+
readonly property: {
|
|
12573
|
+
readonly type: "string";
|
|
12574
|
+
};
|
|
12575
|
+
readonly value: {
|
|
12576
|
+
readonly type: "string";
|
|
12577
|
+
};
|
|
12578
|
+
};
|
|
12579
|
+
};
|
|
12580
|
+
};
|
|
12581
|
+
};
|
|
12582
|
+
readonly ComAtprotoAdminDeleteAccount: {
|
|
12583
|
+
readonly lexicon: 1;
|
|
12584
|
+
readonly id: "com.atproto.admin.deleteAccount";
|
|
12585
|
+
readonly defs: {
|
|
12586
|
+
readonly main: {
|
|
12128
12587
|
readonly type: "procedure";
|
|
12129
12588
|
readonly description: "Delete a user account as an administrator.";
|
|
12130
12589
|
readonly input: {
|
|
@@ -25071,9 +25530,12 @@ export declare const schemas: ({
|
|
|
25071
25530
|
readonly accept: ["image/*"];
|
|
25072
25531
|
readonly maxSize: 1000000;
|
|
25073
25532
|
};
|
|
25074
|
-
readonly
|
|
25075
|
-
readonly type: "
|
|
25076
|
-
readonly
|
|
25533
|
+
readonly associatedRecords: {
|
|
25534
|
+
readonly type: "array";
|
|
25535
|
+
readonly items: {
|
|
25536
|
+
readonly type: "ref";
|
|
25537
|
+
readonly ref: "lex:com.atproto.repo.strongRef";
|
|
25538
|
+
};
|
|
25077
25539
|
readonly description: "The URI of the Atmosphere record representing this external content, if it exists. Example: a site.standard.document record.";
|
|
25078
25540
|
};
|
|
25079
25541
|
};
|
|
@@ -32086,7 +32548,7 @@ export declare const schemas: ({
|
|
|
32086
32548
|
readonly type: "string";
|
|
32087
32549
|
};
|
|
32088
32550
|
readonly members: {
|
|
32089
|
-
readonly description: "Members of this conversation. For direct convos, it will be an immutable list of the 2 members. For group convos, it will a list of important members (the first few members, the viewer, the member who
|
|
32551
|
+
readonly description: "Members of this conversation. For direct convos, it will be an immutable list of the 2 members. For group convos, it will a list of important members (the first few members, the viewer, the member who added the viewer, the member who sent the last message, the member who sent the last reaction), but will not contain the full list of members. Use chat.bsky.convo.getConvoMembers to list all members.";
|
|
32090
32552
|
readonly type: "array";
|
|
32091
32553
|
readonly items: {
|
|
32092
32554
|
readonly type: "ref";
|
|
@@ -33532,7 +33994,7 @@ export declare const schemas: ({
|
|
|
33532
33994
|
}, {
|
|
33533
33995
|
readonly name: "BlockedActor";
|
|
33534
33996
|
}, {
|
|
33535
|
-
readonly name: "
|
|
33997
|
+
readonly name: "UserForbidsGroups";
|
|
33536
33998
|
}, {
|
|
33537
33999
|
readonly name: "ConvoLocked";
|
|
33538
34000
|
}, {
|
|
@@ -33645,7 +34107,7 @@ export declare const schemas: ({
|
|
|
33645
34107
|
}, {
|
|
33646
34108
|
readonly name: "BlockedActor";
|
|
33647
34109
|
}, {
|
|
33648
|
-
readonly name: "
|
|
34110
|
+
readonly name: "UserForbidsGroups";
|
|
33649
34111
|
}, {
|
|
33650
34112
|
readonly name: "NotFollowedBySender";
|
|
33651
34113
|
}, {
|
|
@@ -34295,10 +34757,19 @@ export declare const schemas: ({
|
|
|
34295
34757
|
readonly before: {
|
|
34296
34758
|
readonly type: "integer";
|
|
34297
34759
|
readonly default: 5;
|
|
34760
|
+
readonly description: "Number of user messages before the target to include. System messages between the earliest returned user message and the target are also included, capped per gap by `maxInterleavedSystemMessages`. If there are no user messages before the target, up to `maxInterleavedSystemMessages` system messages immediately preceding the target are returned instead.";
|
|
34298
34761
|
};
|
|
34299
34762
|
readonly after: {
|
|
34300
34763
|
readonly type: "integer";
|
|
34301
34764
|
readonly default: 5;
|
|
34765
|
+
readonly description: "Number of user messages after the target to include. System messages between the target and the latest returned user message are also included, capped per gap by `maxInterleavedSystemMessages`. If there are no user messages after the target, up to `maxInterleavedSystemMessages` system messages immediately following the target are returned instead.";
|
|
34766
|
+
};
|
|
34767
|
+
readonly maxInterleavedSystemMessages: {
|
|
34768
|
+
readonly type: "integer";
|
|
34769
|
+
readonly default: 10;
|
|
34770
|
+
readonly minimum: 0;
|
|
34771
|
+
readonly maximum: 1000;
|
|
34772
|
+
readonly description: "Maximum number of system messages to include per gap between consecutive returned messages (and per side when there are no user messages on that side). Within a gap, the system messages closest to the earlier message are kept.";
|
|
34302
34773
|
};
|
|
34303
34774
|
};
|
|
34304
34775
|
};
|
|
@@ -34312,7 +34783,7 @@ export declare const schemas: ({
|
|
|
34312
34783
|
readonly type: "array";
|
|
34313
34784
|
readonly items: {
|
|
34314
34785
|
readonly type: "union";
|
|
34315
|
-
readonly refs: ["lex:chat.bsky.convo.defs#messageView", "lex:chat.bsky.convo.defs#
|
|
34786
|
+
readonly refs: ["lex:chat.bsky.convo.defs#messageView", "lex:chat.bsky.convo.defs#systemMessageView"];
|
|
34316
34787
|
};
|
|
34317
34788
|
};
|
|
34318
34789
|
};
|
|
@@ -34339,7 +34810,7 @@ export declare const schemas: ({
|
|
|
34339
34810
|
readonly message: {
|
|
34340
34811
|
readonly schema: {
|
|
34341
34812
|
readonly type: "union";
|
|
34342
|
-
readonly refs: ["lex:chat.bsky.moderation.subscribeModEvents#eventConvoFirstMessage"];
|
|
34813
|
+
readonly refs: ["lex:chat.bsky.moderation.subscribeModEvents#eventConvoFirstMessage", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatCreated", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberAdded", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberJoined", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequest", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestApproved", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestRejected", "lex:chat.bsky.moderation.subscribeModEvents#eventChatAccepted", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberLeft", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatUpdated"];
|
|
34343
34814
|
};
|
|
34344
34815
|
};
|
|
34345
34816
|
readonly errors: [{
|
|
@@ -34351,6 +34822,7 @@ export declare const schemas: ({
|
|
|
34351
34822
|
};
|
|
34352
34823
|
readonly eventConvoFirstMessage: {
|
|
34353
34824
|
readonly type: "object";
|
|
34825
|
+
readonly description: "Fired when the first message was sent on a convo.";
|
|
34354
34826
|
readonly required: ["createdAt", "rev", "convoId", "user", "recipients"];
|
|
34355
34827
|
readonly properties: {
|
|
34356
34828
|
readonly convoId: {
|
|
@@ -34381,6 +34853,452 @@ export declare const schemas: ({
|
|
|
34381
34853
|
};
|
|
34382
34854
|
};
|
|
34383
34855
|
};
|
|
34856
|
+
readonly eventGroupChatCreated: {
|
|
34857
|
+
readonly type: "object";
|
|
34858
|
+
readonly description: "Fire when a group chat is created.";
|
|
34859
|
+
readonly required: ["actorDid", "convoCreatedAt", "convoId", "createdAt", "groupMemberCount", "groupName", "initialMemberDids", "ownerDid", "rev"];
|
|
34860
|
+
readonly properties: {
|
|
34861
|
+
readonly actorDid: {
|
|
34862
|
+
readonly description: "The DID of the actor performing the action. For this event, same as ownerDid.";
|
|
34863
|
+
readonly type: "string";
|
|
34864
|
+
readonly format: "did";
|
|
34865
|
+
};
|
|
34866
|
+
readonly convoCreatedAt: {
|
|
34867
|
+
readonly description: "When the group was originally created.";
|
|
34868
|
+
readonly type: "string";
|
|
34869
|
+
readonly format: "datetime";
|
|
34870
|
+
};
|
|
34871
|
+
readonly convoId: {
|
|
34872
|
+
readonly type: "string";
|
|
34873
|
+
};
|
|
34874
|
+
readonly createdAt: {
|
|
34875
|
+
readonly type: "string";
|
|
34876
|
+
readonly format: "datetime";
|
|
34877
|
+
};
|
|
34878
|
+
readonly groupMemberCount: {
|
|
34879
|
+
readonly description: "Current member count at the time of the event.";
|
|
34880
|
+
readonly type: "integer";
|
|
34881
|
+
};
|
|
34882
|
+
readonly groupName: {
|
|
34883
|
+
readonly description: "The name set at creation time.";
|
|
34884
|
+
readonly type: "string";
|
|
34885
|
+
};
|
|
34886
|
+
readonly initialMemberDids: {
|
|
34887
|
+
readonly description: "DIDs of everyone added at creation time.";
|
|
34888
|
+
readonly type: "array";
|
|
34889
|
+
readonly items: {
|
|
34890
|
+
readonly type: "string";
|
|
34891
|
+
readonly format: "did";
|
|
34892
|
+
};
|
|
34893
|
+
};
|
|
34894
|
+
readonly ownerDid: {
|
|
34895
|
+
readonly description: "The DID of the group chat owner.";
|
|
34896
|
+
readonly type: "string";
|
|
34897
|
+
readonly format: "did";
|
|
34898
|
+
};
|
|
34899
|
+
readonly rev: {
|
|
34900
|
+
readonly type: "string";
|
|
34901
|
+
};
|
|
34902
|
+
};
|
|
34903
|
+
};
|
|
34904
|
+
readonly eventGroupChatMemberAdded: {
|
|
34905
|
+
readonly type: "object";
|
|
34906
|
+
readonly description: "Fired when a member is added to a group chat. Note that members are added in the 'request' state.";
|
|
34907
|
+
readonly required: ["actorDid", "convoCreatedAt", "convoId", "createdAt", "groupMemberCount", "groupName", "ownerDid", "requestMembersCount", "rev", "subjectDid", "subjectFollowsOwner"];
|
|
34908
|
+
readonly properties: {
|
|
34909
|
+
readonly actorDid: {
|
|
34910
|
+
readonly description: "The DID of the actor performing the action. For this event, same as ownerDid.";
|
|
34911
|
+
readonly type: "string";
|
|
34912
|
+
readonly format: "did";
|
|
34913
|
+
};
|
|
34914
|
+
readonly convoCreatedAt: {
|
|
34915
|
+
readonly description: "When the group was originally created.";
|
|
34916
|
+
readonly type: "string";
|
|
34917
|
+
readonly format: "datetime";
|
|
34918
|
+
};
|
|
34919
|
+
readonly convoId: {
|
|
34920
|
+
readonly type: "string";
|
|
34921
|
+
};
|
|
34922
|
+
readonly createdAt: {
|
|
34923
|
+
readonly type: "string";
|
|
34924
|
+
readonly format: "datetime";
|
|
34925
|
+
};
|
|
34926
|
+
readonly groupMemberCount: {
|
|
34927
|
+
readonly description: "Current member count at the time of the event.";
|
|
34928
|
+
readonly type: "integer";
|
|
34929
|
+
};
|
|
34930
|
+
readonly groupName: {
|
|
34931
|
+
readonly type: "string";
|
|
34932
|
+
};
|
|
34933
|
+
readonly ownerDid: {
|
|
34934
|
+
readonly description: "The DID of the group chat owner.";
|
|
34935
|
+
readonly type: "string";
|
|
34936
|
+
readonly format: "did";
|
|
34937
|
+
};
|
|
34938
|
+
readonly requestMembersCount: {
|
|
34939
|
+
readonly description: "The number of members who have not yet accepted the convo.";
|
|
34940
|
+
readonly type: "integer";
|
|
34941
|
+
};
|
|
34942
|
+
readonly rev: {
|
|
34943
|
+
readonly type: "string";
|
|
34944
|
+
};
|
|
34945
|
+
readonly subjectDid: {
|
|
34946
|
+
readonly description: "The DID of the member who was added.";
|
|
34947
|
+
readonly type: "string";
|
|
34948
|
+
readonly format: "did";
|
|
34949
|
+
};
|
|
34950
|
+
readonly subjectFollowsOwner: {
|
|
34951
|
+
readonly description: "Whether the added member follows the group owner.";
|
|
34952
|
+
readonly type: "boolean";
|
|
34953
|
+
};
|
|
34954
|
+
};
|
|
34955
|
+
};
|
|
34956
|
+
readonly eventGroupChatMemberJoined: {
|
|
34957
|
+
readonly type: "object";
|
|
34958
|
+
readonly description: "Fired when a member joins a group chat via an join link that does not require approval.";
|
|
34959
|
+
readonly required: ["actorDid", "convoCreatedAt", "convoId", "createdAt", "groupMemberCount", "groupName", "joinLinkCode", "ownerDid", "rev", "subjectFollowsOwner"];
|
|
34960
|
+
readonly properties: {
|
|
34961
|
+
readonly actorDid: {
|
|
34962
|
+
readonly description: "The DID of the person joining.";
|
|
34963
|
+
readonly type: "string";
|
|
34964
|
+
readonly format: "did";
|
|
34965
|
+
};
|
|
34966
|
+
readonly convoCreatedAt: {
|
|
34967
|
+
readonly description: "When the group was originally created.";
|
|
34968
|
+
readonly type: "string";
|
|
34969
|
+
readonly format: "datetime";
|
|
34970
|
+
};
|
|
34971
|
+
readonly convoId: {
|
|
34972
|
+
readonly type: "string";
|
|
34973
|
+
};
|
|
34974
|
+
readonly createdAt: {
|
|
34975
|
+
readonly type: "string";
|
|
34976
|
+
readonly format: "datetime";
|
|
34977
|
+
};
|
|
34978
|
+
readonly groupMemberCount: {
|
|
34979
|
+
readonly description: "Current member count at the time of the event.";
|
|
34980
|
+
readonly type: "integer";
|
|
34981
|
+
};
|
|
34982
|
+
readonly groupName: {
|
|
34983
|
+
readonly type: "string";
|
|
34984
|
+
};
|
|
34985
|
+
readonly joinLinkCode: {
|
|
34986
|
+
readonly description: "The code of the join link used to join.";
|
|
34987
|
+
readonly type: "string";
|
|
34988
|
+
};
|
|
34989
|
+
readonly ownerDid: {
|
|
34990
|
+
readonly description: "The DID of the group chat owner.";
|
|
34991
|
+
readonly type: "string";
|
|
34992
|
+
readonly format: "did";
|
|
34993
|
+
};
|
|
34994
|
+
readonly rev: {
|
|
34995
|
+
readonly type: "string";
|
|
34996
|
+
};
|
|
34997
|
+
readonly subjectFollowsOwner: {
|
|
34998
|
+
readonly description: "Whether the joining member follows the group owner.";
|
|
34999
|
+
readonly type: "boolean";
|
|
35000
|
+
};
|
|
35001
|
+
};
|
|
35002
|
+
};
|
|
35003
|
+
readonly eventGroupChatJoinRequest: {
|
|
35004
|
+
readonly type: "object";
|
|
35005
|
+
readonly description: "Fired when a user requests to join a group chat via an join link that requires approval.";
|
|
35006
|
+
readonly required: ["actorDid", "convoCreatedAt", "convoId", "createdAt", "groupMemberCount", "groupName", "joinLinkCode", "ownerDid", "rev", "subjectFollowsOwner"];
|
|
35007
|
+
readonly properties: {
|
|
35008
|
+
readonly actorDid: {
|
|
35009
|
+
readonly description: "The DID of the person requesting to join.";
|
|
35010
|
+
readonly type: "string";
|
|
35011
|
+
readonly format: "did";
|
|
35012
|
+
};
|
|
35013
|
+
readonly convoCreatedAt: {
|
|
35014
|
+
readonly description: "When the group was originally created.";
|
|
35015
|
+
readonly type: "string";
|
|
35016
|
+
readonly format: "datetime";
|
|
35017
|
+
};
|
|
35018
|
+
readonly convoId: {
|
|
35019
|
+
readonly type: "string";
|
|
35020
|
+
};
|
|
35021
|
+
readonly createdAt: {
|
|
35022
|
+
readonly type: "string";
|
|
35023
|
+
readonly format: "datetime";
|
|
35024
|
+
};
|
|
35025
|
+
readonly groupMemberCount: {
|
|
35026
|
+
readonly description: "Current member count at the time of the event.";
|
|
35027
|
+
readonly type: "integer";
|
|
35028
|
+
};
|
|
35029
|
+
readonly groupName: {
|
|
35030
|
+
readonly type: "string";
|
|
35031
|
+
};
|
|
35032
|
+
readonly joinLinkCode: {
|
|
35033
|
+
readonly description: "The code of the join link used to request joining.";
|
|
35034
|
+
readonly type: "string";
|
|
35035
|
+
};
|
|
35036
|
+
readonly ownerDid: {
|
|
35037
|
+
readonly description: "The DID of the group chat owner.";
|
|
35038
|
+
readonly type: "string";
|
|
35039
|
+
readonly format: "did";
|
|
35040
|
+
};
|
|
35041
|
+
readonly rev: {
|
|
35042
|
+
readonly type: "string";
|
|
35043
|
+
};
|
|
35044
|
+
readonly subjectFollowsOwner: {
|
|
35045
|
+
readonly description: "Whether the requesting member follows the group owner.";
|
|
35046
|
+
readonly type: "boolean";
|
|
35047
|
+
};
|
|
35048
|
+
};
|
|
35049
|
+
};
|
|
35050
|
+
readonly eventGroupChatJoinRequestApproved: {
|
|
35051
|
+
readonly type: "object";
|
|
35052
|
+
readonly description: "Fired when a join request is approved by the group owner.";
|
|
35053
|
+
readonly required: ["actorDid", "convoCreatedAt", "convoId", "createdAt", "groupMemberCount", "groupName", "ownerDid", "rev", "subjectDid"];
|
|
35054
|
+
readonly properties: {
|
|
35055
|
+
readonly actorDid: {
|
|
35056
|
+
readonly description: "The DID of the owner approving the request.";
|
|
35057
|
+
readonly type: "string";
|
|
35058
|
+
readonly format: "did";
|
|
35059
|
+
};
|
|
35060
|
+
readonly convoCreatedAt: {
|
|
35061
|
+
readonly description: "When the group was originally created.";
|
|
35062
|
+
readonly type: "string";
|
|
35063
|
+
readonly format: "datetime";
|
|
35064
|
+
};
|
|
35065
|
+
readonly convoId: {
|
|
35066
|
+
readonly type: "string";
|
|
35067
|
+
};
|
|
35068
|
+
readonly createdAt: {
|
|
35069
|
+
readonly type: "string";
|
|
35070
|
+
readonly format: "datetime";
|
|
35071
|
+
};
|
|
35072
|
+
readonly groupMemberCount: {
|
|
35073
|
+
readonly description: "Current member count at the time of the event.";
|
|
35074
|
+
readonly type: "integer";
|
|
35075
|
+
};
|
|
35076
|
+
readonly groupName: {
|
|
35077
|
+
readonly type: "string";
|
|
35078
|
+
};
|
|
35079
|
+
readonly ownerDid: {
|
|
35080
|
+
readonly description: "The DID of the group chat owner.";
|
|
35081
|
+
readonly type: "string";
|
|
35082
|
+
readonly format: "did";
|
|
35083
|
+
};
|
|
35084
|
+
readonly rev: {
|
|
35085
|
+
readonly type: "string";
|
|
35086
|
+
};
|
|
35087
|
+
readonly subjectDid: {
|
|
35088
|
+
readonly description: "The DID of the member whose request was approved.";
|
|
35089
|
+
readonly type: "string";
|
|
35090
|
+
readonly format: "did";
|
|
35091
|
+
};
|
|
35092
|
+
};
|
|
35093
|
+
};
|
|
35094
|
+
readonly eventGroupChatJoinRequestRejected: {
|
|
35095
|
+
readonly type: "object";
|
|
35096
|
+
readonly description: "Fired when a join request is rejected by the group owner.";
|
|
35097
|
+
readonly required: ["actorDid", "convoCreatedAt", "convoId", "createdAt", "groupMemberCount", "groupName", "ownerDid", "rev", "subjectDid"];
|
|
35098
|
+
readonly properties: {
|
|
35099
|
+
readonly actorDid: {
|
|
35100
|
+
readonly description: "The DID of the owner rejecting the request.";
|
|
35101
|
+
readonly type: "string";
|
|
35102
|
+
readonly format: "did";
|
|
35103
|
+
};
|
|
35104
|
+
readonly convoCreatedAt: {
|
|
35105
|
+
readonly description: "When the group was originally created.";
|
|
35106
|
+
readonly type: "string";
|
|
35107
|
+
readonly format: "datetime";
|
|
35108
|
+
};
|
|
35109
|
+
readonly convoId: {
|
|
35110
|
+
readonly type: "string";
|
|
35111
|
+
};
|
|
35112
|
+
readonly createdAt: {
|
|
35113
|
+
readonly type: "string";
|
|
35114
|
+
readonly format: "datetime";
|
|
35115
|
+
};
|
|
35116
|
+
readonly groupMemberCount: {
|
|
35117
|
+
readonly description: "Current member count at the time of the event.";
|
|
35118
|
+
readonly type: "integer";
|
|
35119
|
+
};
|
|
35120
|
+
readonly groupName: {
|
|
35121
|
+
readonly type: "string";
|
|
35122
|
+
};
|
|
35123
|
+
readonly ownerDid: {
|
|
35124
|
+
readonly description: "The DID of the group chat owner.";
|
|
35125
|
+
readonly type: "string";
|
|
35126
|
+
readonly format: "did";
|
|
35127
|
+
};
|
|
35128
|
+
readonly rev: {
|
|
35129
|
+
readonly type: "string";
|
|
35130
|
+
};
|
|
35131
|
+
readonly subjectDid: {
|
|
35132
|
+
readonly description: "The DID of the member whose request was rejected.";
|
|
35133
|
+
readonly type: "string";
|
|
35134
|
+
readonly format: "did";
|
|
35135
|
+
};
|
|
35136
|
+
};
|
|
35137
|
+
};
|
|
35138
|
+
readonly eventChatAccepted: {
|
|
35139
|
+
readonly type: "object";
|
|
35140
|
+
readonly description: "Fired when a user accepts a chat convo, either explicitly or by sending a message.";
|
|
35141
|
+
readonly required: ["actorDid", "convoCreatedAt", "convoId", "createdAt", "method", "rev"];
|
|
35142
|
+
readonly properties: {
|
|
35143
|
+
readonly actorDid: {
|
|
35144
|
+
readonly description: "The DID of the person accepting the convo.";
|
|
35145
|
+
readonly type: "string";
|
|
35146
|
+
readonly format: "did";
|
|
35147
|
+
};
|
|
35148
|
+
readonly convoCreatedAt: {
|
|
35149
|
+
readonly description: "When the convo was originally created.";
|
|
35150
|
+
readonly type: "string";
|
|
35151
|
+
readonly format: "datetime";
|
|
35152
|
+
};
|
|
35153
|
+
readonly convoId: {
|
|
35154
|
+
readonly type: "string";
|
|
35155
|
+
};
|
|
35156
|
+
readonly createdAt: {
|
|
35157
|
+
readonly type: "string";
|
|
35158
|
+
readonly format: "datetime";
|
|
35159
|
+
};
|
|
35160
|
+
readonly groupMemberCount: {
|
|
35161
|
+
readonly description: "Current member count at the time of the event. Only present for group convos.";
|
|
35162
|
+
readonly type: "integer";
|
|
35163
|
+
};
|
|
35164
|
+
readonly groupName: {
|
|
35165
|
+
readonly description: "The name of the group chat. Only present for group convos.";
|
|
35166
|
+
readonly type: "string";
|
|
35167
|
+
};
|
|
35168
|
+
readonly method: {
|
|
35169
|
+
readonly description: "How the convo was accepted.";
|
|
35170
|
+
readonly type: "string";
|
|
35171
|
+
readonly knownValues: ["explicit", "message"];
|
|
35172
|
+
};
|
|
35173
|
+
readonly ownerDid: {
|
|
35174
|
+
readonly description: "The DID of the group chat owner. Only present for group convos.";
|
|
35175
|
+
readonly type: "string";
|
|
35176
|
+
readonly format: "did";
|
|
35177
|
+
};
|
|
35178
|
+
readonly rev: {
|
|
35179
|
+
readonly type: "string";
|
|
35180
|
+
};
|
|
35181
|
+
};
|
|
35182
|
+
};
|
|
35183
|
+
readonly eventGroupChatMemberLeft: {
|
|
35184
|
+
readonly type: "object";
|
|
35185
|
+
readonly description: "Fired when a member leaves or is removed from a group chat.";
|
|
35186
|
+
readonly required: ["actorDid", "convoCreatedAt", "convoId", "createdAt", "groupMemberCount", "groupName", "leaveMethod", "ownerDid", "rev", "subjectDid"];
|
|
35187
|
+
readonly properties: {
|
|
35188
|
+
readonly actorDid: {
|
|
35189
|
+
readonly description: "The DID of the actor. For voluntary: the person leaving. For kicked: the owner.";
|
|
35190
|
+
readonly type: "string";
|
|
35191
|
+
readonly format: "did";
|
|
35192
|
+
};
|
|
35193
|
+
readonly convoCreatedAt: {
|
|
35194
|
+
readonly description: "When the group was originally created.";
|
|
35195
|
+
readonly type: "string";
|
|
35196
|
+
readonly format: "datetime";
|
|
35197
|
+
};
|
|
35198
|
+
readonly convoId: {
|
|
35199
|
+
readonly type: "string";
|
|
35200
|
+
};
|
|
35201
|
+
readonly createdAt: {
|
|
35202
|
+
readonly type: "string";
|
|
35203
|
+
readonly format: "datetime";
|
|
35204
|
+
};
|
|
35205
|
+
readonly groupMemberCount: {
|
|
35206
|
+
readonly description: "Current member count at the time of the event.";
|
|
35207
|
+
readonly type: "integer";
|
|
35208
|
+
};
|
|
35209
|
+
readonly groupName: {
|
|
35210
|
+
readonly type: "string";
|
|
35211
|
+
};
|
|
35212
|
+
readonly leaveMethod: {
|
|
35213
|
+
readonly description: "How the member left.";
|
|
35214
|
+
readonly type: "string";
|
|
35215
|
+
readonly knownValues: ["voluntary", "kicked"];
|
|
35216
|
+
};
|
|
35217
|
+
readonly ownerDid: {
|
|
35218
|
+
readonly description: "The DID of the group chat owner.";
|
|
35219
|
+
readonly type: "string";
|
|
35220
|
+
readonly format: "did";
|
|
35221
|
+
};
|
|
35222
|
+
readonly rev: {
|
|
35223
|
+
readonly type: "string";
|
|
35224
|
+
};
|
|
35225
|
+
readonly subjectDid: {
|
|
35226
|
+
readonly description: "The DID of the member who left or was removed.";
|
|
35227
|
+
readonly type: "string";
|
|
35228
|
+
readonly format: "did";
|
|
35229
|
+
};
|
|
35230
|
+
};
|
|
35231
|
+
};
|
|
35232
|
+
readonly eventGroupChatUpdated: {
|
|
35233
|
+
readonly type: "object";
|
|
35234
|
+
readonly description: "Fired when a group chat's metadata or status changes.";
|
|
35235
|
+
readonly required: ["actorDid", "convoCreatedAt", "convoId", "createdAt", "groupMemberCount", "groupName", "ownerDid", "rev", "updateType"];
|
|
35236
|
+
readonly properties: {
|
|
35237
|
+
readonly actorDid: {
|
|
35238
|
+
readonly description: "The DID of the actor performing the action (the owner).";
|
|
35239
|
+
readonly type: "string";
|
|
35240
|
+
readonly format: "did";
|
|
35241
|
+
};
|
|
35242
|
+
readonly convoCreatedAt: {
|
|
35243
|
+
readonly description: "When the group was originally created.";
|
|
35244
|
+
readonly type: "string";
|
|
35245
|
+
readonly format: "datetime";
|
|
35246
|
+
};
|
|
35247
|
+
readonly convoId: {
|
|
35248
|
+
readonly type: "string";
|
|
35249
|
+
};
|
|
35250
|
+
readonly createdAt: {
|
|
35251
|
+
readonly type: "string";
|
|
35252
|
+
readonly format: "datetime";
|
|
35253
|
+
};
|
|
35254
|
+
readonly groupMemberCount: {
|
|
35255
|
+
readonly description: "Current member count at the time of the event.";
|
|
35256
|
+
readonly type: "integer";
|
|
35257
|
+
};
|
|
35258
|
+
readonly groupName: {
|
|
35259
|
+
readonly description: "Current group name.";
|
|
35260
|
+
readonly type: "string";
|
|
35261
|
+
};
|
|
35262
|
+
readonly joinLinkCode: {
|
|
35263
|
+
readonly description: "The code of the join link. Only present when updateType is join-link-related.";
|
|
35264
|
+
readonly type: "string";
|
|
35265
|
+
};
|
|
35266
|
+
readonly joinLinkFollowersOnly: {
|
|
35267
|
+
readonly description: "Whether the join link is restricted to followers of the owner. Only present when updateType is join-link-related.";
|
|
35268
|
+
readonly type: "boolean";
|
|
35269
|
+
};
|
|
35270
|
+
readonly joinLinkRequiresApproval: {
|
|
35271
|
+
readonly description: "Whether the join link requires owner approval to join. Only present when updateType is join-link-related.";
|
|
35272
|
+
readonly type: "boolean";
|
|
35273
|
+
};
|
|
35274
|
+
readonly lockReason: {
|
|
35275
|
+
readonly description: "Why the group was locked. Only present when updateType is 'locked'.";
|
|
35276
|
+
readonly type: "string";
|
|
35277
|
+
readonly knownValues: ["owner_action", "owner_left", "owner_deactivated", "owner_deleted", "owner_taken_down", "label_applied"];
|
|
35278
|
+
};
|
|
35279
|
+
readonly newName: {
|
|
35280
|
+
readonly description: "The new group name. Only present when updateType is 'name_changed'.";
|
|
35281
|
+
readonly type: "string";
|
|
35282
|
+
};
|
|
35283
|
+
readonly oldName: {
|
|
35284
|
+
readonly description: "The previous group name. Only present when updateType is 'name_changed'.";
|
|
35285
|
+
readonly type: "string";
|
|
35286
|
+
};
|
|
35287
|
+
readonly ownerDid: {
|
|
35288
|
+
readonly description: "The DID of the group chat owner.";
|
|
35289
|
+
readonly type: "string";
|
|
35290
|
+
readonly format: "did";
|
|
35291
|
+
};
|
|
35292
|
+
readonly rev: {
|
|
35293
|
+
readonly type: "string";
|
|
35294
|
+
};
|
|
35295
|
+
readonly updateType: {
|
|
35296
|
+
readonly description: "What changed.";
|
|
35297
|
+
readonly type: "string";
|
|
35298
|
+
readonly knownValues: ["name_changed", "locked", "locked_permanently", "unlocked", "join_link_created", "join_link_disabled", "join_link_settings_changed"];
|
|
35299
|
+
};
|
|
35300
|
+
};
|
|
35301
|
+
};
|
|
34384
35302
|
};
|
|
34385
35303
|
} | {
|
|
34386
35304
|
readonly lexicon: 1;
|