@wildix/stream-client 0.0.1 → 0.0.5
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/dist-cjs/StreamService.js +98 -6
- package/dist-cjs/commands/AddChannelMemberCommand.js +21 -0
- package/dist-cjs/commands/AddChannelMembersCommand.js +21 -0
- package/dist-cjs/commands/AssignChannelCommand.js +21 -0
- package/dist-cjs/commands/CreateGroupChannelCommand.js +21 -0
- package/dist-cjs/commands/CreateKiteChannelCommand.js +21 -0
- package/dist-cjs/commands/CreateSectionCommand.js +21 -0
- package/dist-cjs/commands/DeleteChannelCommand.js +21 -0
- package/dist-cjs/commands/DeleteChannelMemberCommand.js +21 -0
- package/dist-cjs/commands/DeleteMessageReactionCommand.js +21 -0
- package/dist-cjs/commands/DeleteSectionCommand.js +21 -0
- package/dist-cjs/commands/GetChannelCommand.js +21 -0
- package/dist-cjs/commands/GetChannelMemberCommand.js +21 -0
- package/dist-cjs/commands/GetDirectChannelIdCommand.js +21 -0
- package/dist-cjs/commands/GetFilePresignedDownloadUrlCommand.js +21 -0
- package/dist-cjs/commands/GetOrCreateDirectChannelCommand.js +21 -0
- package/dist-cjs/commands/GetOrCreateSmsChannelCommand.js +21 -0
- package/dist-cjs/commands/GetOrCreateTelephonyChannelCommand.js +21 -0
- package/dist-cjs/commands/GetOrCreateWhatsAppChannelCommand.js +21 -0
- package/dist-cjs/commands/GetSmsChannelIdCommand.js +21 -0
- package/dist-cjs/commands/GetTelephonyChannelIdCommand.js +21 -0
- package/dist-cjs/commands/GetTokenCommand.js +21 -0
- package/dist-cjs/commands/GetUploadedFileInfoCommand.js +21 -0
- package/dist-cjs/commands/GetWhatsAppChannelIdCommand.js +21 -0
- package/dist-cjs/commands/{AddReactionCommand.js → HideChannelCommand.js} +7 -7
- package/dist-cjs/commands/{EditMessageCommand.js → JoinChannelCommand.js} +7 -7
- package/dist-cjs/commands/LeaveChannelCommand.js +21 -0
- package/dist-cjs/commands/ListChannelMembersCommand.js +21 -0
- package/dist-cjs/commands/ListChannelMembersReadStatusCommand.js +21 -0
- package/dist-cjs/commands/MarkReadCommand.js +21 -0
- package/dist-cjs/commands/MarkUnreadCommand.js +21 -0
- package/dist-cjs/commands/MoveChannelToSectionCommand.js +21 -0
- package/dist-cjs/commands/MuteChannelCommand.js +21 -0
- package/dist-cjs/commands/PartialUpdateChannelCommand.js +21 -0
- package/dist-cjs/commands/PartialUpdateMessageCommand.js +21 -0
- package/dist-cjs/commands/PinChannelCommand.js +21 -0
- package/dist-cjs/commands/QueryChannelsCommand.js +21 -0
- package/dist-cjs/commands/RemoveChannelFromSectionCommand.js +21 -0
- package/dist-cjs/commands/RenameSectionCommand.js +21 -0
- package/dist-cjs/commands/SendGiphyCommand.js +21 -0
- package/dist-cjs/commands/SendMessageReactionCommand.js +21 -0
- package/dist-cjs/commands/SendSystemMessageCommand.js +21 -0
- package/dist-cjs/commands/SendTypingStartCommand.js +21 -0
- package/dist-cjs/commands/{RemoveReactionCommand.js → SendTypingStopCommand.js} +7 -7
- package/dist-cjs/commands/ShowChannelCommand.js +21 -0
- package/dist-cjs/commands/UnmuteChannelCommand.js +21 -0
- package/dist-cjs/commands/UnpinChannelCommand.js +21 -0
- package/dist-cjs/commands/UpdateChannelCommand.js +21 -0
- package/dist-cjs/commands/UpdateMessageCommand.js +21 -0
- package/dist-cjs/commands/UploadFileCommand.js +21 -0
- package/dist-cjs/commands/index.js +49 -3
- package/dist-cjs/models/models_0.js +293 -26
- package/dist-cjs/protocols/Aws_restJson1.js +1955 -131
- package/dist-es/StreamService.js +98 -6
- package/dist-es/commands/AddChannelMemberCommand.js +17 -0
- package/dist-es/commands/AddChannelMembersCommand.js +17 -0
- package/dist-es/commands/AssignChannelCommand.js +17 -0
- package/dist-es/commands/CreateGroupChannelCommand.js +17 -0
- package/dist-es/commands/CreateKiteChannelCommand.js +17 -0
- package/dist-es/commands/CreateSectionCommand.js +17 -0
- package/dist-es/commands/DeleteChannelCommand.js +17 -0
- package/dist-es/commands/DeleteChannelMemberCommand.js +17 -0
- package/dist-es/commands/DeleteMessageReactionCommand.js +17 -0
- package/dist-es/commands/DeleteSectionCommand.js +17 -0
- package/dist-es/commands/GetChannelCommand.js +17 -0
- package/dist-es/commands/GetChannelMemberCommand.js +17 -0
- package/dist-es/commands/GetDirectChannelIdCommand.js +17 -0
- package/dist-es/commands/GetFilePresignedDownloadUrlCommand.js +17 -0
- package/dist-es/commands/GetOrCreateDirectChannelCommand.js +17 -0
- package/dist-es/commands/GetOrCreateSmsChannelCommand.js +17 -0
- package/dist-es/commands/GetOrCreateTelephonyChannelCommand.js +17 -0
- package/dist-es/commands/GetOrCreateWhatsAppChannelCommand.js +17 -0
- package/dist-es/commands/GetSmsChannelIdCommand.js +17 -0
- package/dist-es/commands/GetTelephonyChannelIdCommand.js +17 -0
- package/dist-es/commands/GetTokenCommand.js +17 -0
- package/dist-es/commands/GetUploadedFileInfoCommand.js +17 -0
- package/dist-es/commands/GetWhatsAppChannelIdCommand.js +17 -0
- package/dist-es/commands/{EditMessageCommand.js → HideChannelCommand.js} +6 -6
- package/dist-es/commands/{AddReactionCommand.js → JoinChannelCommand.js} +6 -6
- package/dist-es/commands/LeaveChannelCommand.js +17 -0
- package/dist-es/commands/ListChannelMembersCommand.js +17 -0
- package/dist-es/commands/ListChannelMembersReadStatusCommand.js +17 -0
- package/dist-es/commands/MarkReadCommand.js +17 -0
- package/dist-es/commands/MarkUnreadCommand.js +17 -0
- package/dist-es/commands/MoveChannelToSectionCommand.js +17 -0
- package/dist-es/commands/MuteChannelCommand.js +17 -0
- package/dist-es/commands/PartialUpdateChannelCommand.js +17 -0
- package/dist-es/commands/PartialUpdateMessageCommand.js +17 -0
- package/dist-es/commands/PinChannelCommand.js +17 -0
- package/dist-es/commands/QueryChannelsCommand.js +17 -0
- package/dist-es/commands/RemoveChannelFromSectionCommand.js +17 -0
- package/dist-es/commands/RenameSectionCommand.js +17 -0
- package/dist-es/commands/SendGiphyCommand.js +17 -0
- package/dist-es/commands/SendMessageReactionCommand.js +17 -0
- package/dist-es/commands/SendSystemMessageCommand.js +17 -0
- package/dist-es/commands/SendTypingStartCommand.js +17 -0
- package/dist-es/commands/{RemoveReactionCommand.js → SendTypingStopCommand.js} +6 -6
- package/dist-es/commands/ShowChannelCommand.js +17 -0
- package/dist-es/commands/UnmuteChannelCommand.js +17 -0
- package/dist-es/commands/UnpinChannelCommand.js +17 -0
- package/dist-es/commands/UpdateChannelCommand.js +17 -0
- package/dist-es/commands/UpdateMessageCommand.js +17 -0
- package/dist-es/commands/UploadFileCommand.js +17 -0
- package/dist-es/commands/index.js +49 -3
- package/dist-es/models/models_0.js +281 -23
- package/dist-es/protocols/Aws_restJson1.js +1843 -113
- package/dist-types/StreamService.d.ts +341 -15
- package/dist-types/StreamServiceClient.d.ts +51 -5
- package/dist-types/commands/AddChannelMemberCommand.d.ts +101 -0
- package/dist-types/commands/AddChannelMembersCommand.d.ts +108 -0
- package/dist-types/commands/AssignChannelCommand.d.ts +96 -0
- package/dist-types/commands/CreateGroupChannelCommand.d.ts +201 -0
- package/dist-types/commands/CreateKiteChannelCommand.d.ts +291 -0
- package/dist-types/commands/CreateSectionCommand.d.ts +96 -0
- package/dist-types/commands/DeleteChannelCommand.d.ts +82 -0
- package/dist-types/commands/DeleteChannelMemberCommand.d.ts +88 -0
- package/dist-types/commands/DeleteMessageCommand.d.ts +1 -1
- package/dist-types/commands/DeleteMessageReactionCommand.d.ts +193 -0
- package/dist-types/commands/DeleteSectionCommand.d.ts +84 -0
- package/dist-types/commands/GetChannelCommand.d.ts +150 -0
- package/dist-types/commands/GetChannelMemberCommand.d.ts +93 -0
- package/dist-types/commands/GetDirectChannelIdCommand.d.ts +90 -0
- package/dist-types/commands/GetFilePresignedDownloadUrlCommand.d.ts +94 -0
- package/dist-types/commands/GetInboxCommand.d.ts +53 -6
- package/dist-types/commands/GetMessageCommand.d.ts +57 -1
- package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +154 -0
- package/dist-types/commands/GetOrCreateSmsChannelCommand.d.ts +151 -0
- package/dist-types/commands/GetOrCreateTelephonyChannelCommand.d.ts +150 -0
- package/dist-types/commands/GetOrCreateWhatsAppChannelCommand.d.ts +151 -0
- package/dist-types/commands/GetSmsChannelIdCommand.d.ts +86 -0
- package/dist-types/commands/GetTelephonyChannelIdCommand.d.ts +86 -0
- package/dist-types/commands/GetTokenCommand.d.ts +85 -0
- package/dist-types/commands/GetUploadedFileInfoCommand.d.ts +98 -0
- package/dist-types/commands/GetWhatsAppChannelIdCommand.d.ts +86 -0
- package/dist-types/commands/HideChannelCommand.d.ts +84 -0
- package/dist-types/commands/JoinChannelCommand.d.ts +151 -0
- package/dist-types/commands/LeaveChannelCommand.d.ts +85 -0
- package/dist-types/commands/ListChannelMembersCommand.d.ts +94 -0
- package/dist-types/commands/ListChannelMembersReadStatusCommand.d.ts +92 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +53 -6
- package/dist-types/commands/ListMentionsCommand.d.ts +58 -2
- package/dist-types/commands/ListMessagesCommand.d.ts +57 -1
- package/dist-types/commands/MarkReadCommand.d.ts +99 -0
- package/dist-types/commands/MarkUnreadCommand.d.ts +103 -0
- package/dist-types/commands/MoveChannelToSectionCommand.d.ts +101 -0
- package/dist-types/commands/MuteChannelCommand.d.ts +99 -0
- package/dist-types/commands/PartialUpdateChannelCommand.d.ts +195 -0
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +261 -0
- package/dist-types/commands/PinChannelCommand.d.ts +87 -0
- package/dist-types/commands/PinMessageCommand.d.ts +57 -1
- package/dist-types/commands/QueryChannelsCommand.d.ts +167 -0
- package/dist-types/commands/RemoveChannelFromSectionCommand.d.ts +101 -0
- package/dist-types/commands/RenameSectionCommand.d.ts +98 -0
- package/dist-types/commands/SendGiphyCommand.d.ts +207 -0
- package/dist-types/commands/SendMessageCommand.d.ts +105 -8
- package/dist-types/commands/SendMessageReactionCommand.d.ts +193 -0
- package/dist-types/commands/SendSystemMessageCommand.d.ts +199 -0
- package/dist-types/commands/SendTypingStartCommand.d.ts +84 -0
- package/dist-types/commands/SendTypingStopCommand.d.ts +84 -0
- package/dist-types/commands/ShowChannelCommand.d.ts +84 -0
- package/dist-types/commands/UnmuteChannelCommand.d.ts +98 -0
- package/dist-types/commands/UnpinChannelCommand.d.ts +84 -0
- package/dist-types/commands/UnpinMessageCommand.d.ts +57 -1
- package/dist-types/commands/UpdateChannelCommand.d.ts +190 -0
- package/dist-types/commands/UpdateMessageCommand.d.ts +256 -0
- package/dist-types/commands/UploadFileCommand.d.ts +94 -0
- package/dist-types/commands/index.d.ts +49 -3
- package/dist-types/models/models_0.d.ts +3256 -403
- package/dist-types/protocols/Aws_restJson1.d.ts +429 -15
- package/package.json +1 -1
- package/dist-types/commands/AddReactionCommand.d.ts +0 -137
- package/dist-types/commands/EditMessageCommand.d.ts +0 -151
- package/dist-types/commands/RemoveReactionCommand.d.ts +0 -137
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
|
|
2
|
+
import { PartialUpdateChannelInput, PartialUpdateChannelOutput } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link PartialUpdateChannelCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PartialUpdateChannelCommandInput extends PartialUpdateChannelInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PartialUpdateChannelCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PartialUpdateChannelCommandOutput extends PartialUpdateChannelOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const PartialUpdateChannelCommand_base: {
|
|
25
|
+
new (input: PartialUpdateChannelCommandInput): import("@smithy/smithy-client").CommandImpl<PartialUpdateChannelCommandInput, PartialUpdateChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: PartialUpdateChannelCommandInput): import("@smithy/smithy-client").CommandImpl<PartialUpdateChannelCommandInput, PartialUpdateChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Partially updates channel metadata using `set` and `unset`.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { StreamServiceClient, PartialUpdateChannelCommand } from "@wildix/stream-client"; // ES Modules import
|
|
35
|
+
* // const { StreamServiceClient, PartialUpdateChannelCommand } = require("@wildix/stream-client"); // CommonJS import
|
|
36
|
+
* const client = new StreamServiceClient(config);
|
|
37
|
+
* const input = { // PartialUpdateChannelInput
|
|
38
|
+
* companyId: "STRING_VALUE",
|
|
39
|
+
* userId: "STRING_VALUE",
|
|
40
|
+
* channelId: "STRING_VALUE", // required
|
|
41
|
+
* silent: true || false,
|
|
42
|
+
* set: { // PartialUpdateChannelSetOptions
|
|
43
|
+
* subject: "STRING_VALUE",
|
|
44
|
+
* description: "STRING_VALUE",
|
|
45
|
+
* picture: "STRING_VALUE",
|
|
46
|
+
* pictureColor: "STRING_VALUE",
|
|
47
|
+
* access: "private" || "public",
|
|
48
|
+
* broadcast: true || false,
|
|
49
|
+
* context: { // ChannelContext
|
|
50
|
+
* source: "kite",
|
|
51
|
+
* target: "STRING_VALUE",
|
|
52
|
+
* events: [ // ChannelContextEventList
|
|
53
|
+
* { // ChannelContextEvent
|
|
54
|
+
* id: "STRING_VALUE",
|
|
55
|
+
* owner: "STRING_VALUE",
|
|
56
|
+
* start: "STRING_VALUE",
|
|
57
|
+
* end: "STRING_VALUE",
|
|
58
|
+
* summary: "STRING_VALUE",
|
|
59
|
+
* attendees: [ // ChannelContextEventAttendeeList
|
|
60
|
+
* { // ChannelContextEventAttendee
|
|
61
|
+
* email: "STRING_VALUE", // required
|
|
62
|
+
* name: "STRING_VALUE",
|
|
63
|
+
* status: "accepted" || "tentative" || "declined" || "none", // required
|
|
64
|
+
* },
|
|
65
|
+
* ],
|
|
66
|
+
* },
|
|
67
|
+
* ],
|
|
68
|
+
* ptt: { // ChannelContextPushToTalk
|
|
69
|
+
* broadcastId: "STRING_VALUE",
|
|
70
|
+
* },
|
|
71
|
+
* },
|
|
72
|
+
* whatsappStatus: "24h_channel_closed",
|
|
73
|
+
* sms: true || false,
|
|
74
|
+
* mms: true || false,
|
|
75
|
+
* whatsapp: true || false,
|
|
76
|
+
* kiteAssign: "STRING_VALUE",
|
|
77
|
+
* serviceTitle: "STRING_VALUE",
|
|
78
|
+
* assigneeId: "STRING_VALUE",
|
|
79
|
+
* autoRecord: true || false,
|
|
80
|
+
* transcriptionLanguage: "STRING_VALUE",
|
|
81
|
+
* wizyGuestViewOnly: true || false,
|
|
82
|
+
* },
|
|
83
|
+
* unset: [ // GroupChannelUnsetOptionsList
|
|
84
|
+
* "subject" || "description" || "picture" || "pictureColor" || "access" || "broadcast" || "context" || "contextPtt" || "contextEvents" || "whatsappStatus" || "kiteAssign" || "service" || "serviceTitle" || "assignee" || "sms" || "mms" || "whatsapp",
|
|
85
|
+
* ],
|
|
86
|
+
* };
|
|
87
|
+
* const command = new PartialUpdateChannelCommand(input);
|
|
88
|
+
* const response = await client.send(command);
|
|
89
|
+
* // { // PartialUpdateChannelOutput
|
|
90
|
+
* // channel: { // Channel
|
|
91
|
+
* // channelId: "STRING_VALUE", // required
|
|
92
|
+
* // channelType: "direct" || "group", // required
|
|
93
|
+
* // membersCount: Number("int"), // required
|
|
94
|
+
* // createdAt: "STRING_VALUE", // required
|
|
95
|
+
* // createdBy: "STRING_VALUE", // required
|
|
96
|
+
* // updatedAt: "STRING_VALUE",
|
|
97
|
+
* // channelVersion: Number("long"), // required
|
|
98
|
+
* // lastActivityAt: "STRING_VALUE", // required
|
|
99
|
+
* // lastMessage: { // LastMessagePreview
|
|
100
|
+
* // messageId: "STRING_VALUE", // required
|
|
101
|
+
* // userId: "STRING_VALUE", // required
|
|
102
|
+
* // text: "STRING_VALUE",
|
|
103
|
+
* // createdAt: "STRING_VALUE", // required
|
|
104
|
+
* // },
|
|
105
|
+
* // company: "STRING_VALUE",
|
|
106
|
+
* // kite: true || false,
|
|
107
|
+
* // kiteTarget: "STRING_VALUE",
|
|
108
|
+
* // kiteVariant: "STRING_VALUE",
|
|
109
|
+
* // kiteServiceName: "STRING_VALUE",
|
|
110
|
+
* // kiteDefaultSubject: "STRING_VALUE",
|
|
111
|
+
* // service: "STRING_VALUE",
|
|
112
|
+
* // serviceRecipient: "STRING_VALUE",
|
|
113
|
+
* // telephony: true || false,
|
|
114
|
+
* // external: true || false,
|
|
115
|
+
* // subject: "STRING_VALUE",
|
|
116
|
+
* // description: "STRING_VALUE",
|
|
117
|
+
* // picture: "STRING_VALUE",
|
|
118
|
+
* // pictureColor: "STRING_VALUE",
|
|
119
|
+
* // access: "private" || "public",
|
|
120
|
+
* // broadcast: true || false,
|
|
121
|
+
* // context: { // ChannelContext
|
|
122
|
+
* // source: "kite",
|
|
123
|
+
* // target: "STRING_VALUE",
|
|
124
|
+
* // events: [ // ChannelContextEventList
|
|
125
|
+
* // { // ChannelContextEvent
|
|
126
|
+
* // id: "STRING_VALUE",
|
|
127
|
+
* // owner: "STRING_VALUE",
|
|
128
|
+
* // start: "STRING_VALUE",
|
|
129
|
+
* // end: "STRING_VALUE",
|
|
130
|
+
* // summary: "STRING_VALUE",
|
|
131
|
+
* // attendees: [ // ChannelContextEventAttendeeList
|
|
132
|
+
* // { // ChannelContextEventAttendee
|
|
133
|
+
* // email: "STRING_VALUE", // required
|
|
134
|
+
* // name: "STRING_VALUE",
|
|
135
|
+
* // status: "accepted" || "tentative" || "declined" || "none", // required
|
|
136
|
+
* // },
|
|
137
|
+
* // ],
|
|
138
|
+
* // },
|
|
139
|
+
* // ],
|
|
140
|
+
* // ptt: { // ChannelContextPushToTalk
|
|
141
|
+
* // broadcastId: "STRING_VALUE",
|
|
142
|
+
* // },
|
|
143
|
+
* // },
|
|
144
|
+
* // whatsappStatus: "24h_channel_closed",
|
|
145
|
+
* // sms: true || false,
|
|
146
|
+
* // mms: true || false,
|
|
147
|
+
* // whatsapp: true || false,
|
|
148
|
+
* // kiteAssign: "STRING_VALUE",
|
|
149
|
+
* // serviceTitle: "STRING_VALUE",
|
|
150
|
+
* // assigneeId: "STRING_VALUE",
|
|
151
|
+
* // autoRecord: true || false,
|
|
152
|
+
* // transcriptionLanguage: "STRING_VALUE",
|
|
153
|
+
* // wizyGuestViewOnly: true || false,
|
|
154
|
+
* // },
|
|
155
|
+
* // };
|
|
156
|
+
*
|
|
157
|
+
* ```
|
|
158
|
+
*
|
|
159
|
+
* @param PartialUpdateChannelCommandInput - {@link PartialUpdateChannelCommandInput}
|
|
160
|
+
* @returns {@link PartialUpdateChannelCommandOutput}
|
|
161
|
+
* @see {@link PartialUpdateChannelCommandInput} for command's `input` shape.
|
|
162
|
+
* @see {@link PartialUpdateChannelCommandOutput} for command's `response` shape.
|
|
163
|
+
* @see {@link StreamServiceClientResolvedConfig | config} for StreamServiceClient's `config` shape.
|
|
164
|
+
*
|
|
165
|
+
* @throws {@link ChannelNotFoundException} (client fault)
|
|
166
|
+
*
|
|
167
|
+
* @throws {@link StreamServiceException} (server fault)
|
|
168
|
+
*
|
|
169
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
170
|
+
*
|
|
171
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
172
|
+
*
|
|
173
|
+
* @throws {@link ValidationException} (client fault)
|
|
174
|
+
*
|
|
175
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
176
|
+
*
|
|
177
|
+
* @throws {@link StreamServiceServiceException}
|
|
178
|
+
* <p>Base exception class for all service exceptions from StreamService service.</p>
|
|
179
|
+
*
|
|
180
|
+
*
|
|
181
|
+
* @public
|
|
182
|
+
*/
|
|
183
|
+
export declare class PartialUpdateChannelCommand extends PartialUpdateChannelCommand_base {
|
|
184
|
+
/** @internal type navigation helper, not in runtime. */
|
|
185
|
+
protected static __types: {
|
|
186
|
+
api: {
|
|
187
|
+
input: PartialUpdateChannelInput;
|
|
188
|
+
output: PartialUpdateChannelOutput;
|
|
189
|
+
};
|
|
190
|
+
sdk: {
|
|
191
|
+
input: PartialUpdateChannelCommandInput;
|
|
192
|
+
output: PartialUpdateChannelCommandOutput;
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
}
|
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
|
|
2
|
+
import { PartialUpdateMessageInput, PartialUpdateMessageOutput } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link PartialUpdateMessageCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PartialUpdateMessageCommandInput extends PartialUpdateMessageInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PartialUpdateMessageCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PartialUpdateMessageCommandOutput extends PartialUpdateMessageOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const PartialUpdateMessageCommand_base: {
|
|
25
|
+
new (input: PartialUpdateMessageCommandInput): import("@smithy/smithy-client").CommandImpl<PartialUpdateMessageCommandInput, PartialUpdateMessageCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: PartialUpdateMessageCommandInput): import("@smithy/smithy-client").CommandImpl<PartialUpdateMessageCommandInput, PartialUpdateMessageCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Partially updates an existing message. Use `set` to write fields and `unset` to clear them. Updates never move the message in the timeline or advance unread counters.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { StreamServiceClient, PartialUpdateMessageCommand } from "@wildix/stream-client"; // ES Modules import
|
|
35
|
+
* // const { StreamServiceClient, PartialUpdateMessageCommand } = require("@wildix/stream-client"); // CommonJS import
|
|
36
|
+
* const client = new StreamServiceClient(config);
|
|
37
|
+
* const input = { // PartialUpdateMessageInput
|
|
38
|
+
* companyId: "STRING_VALUE",
|
|
39
|
+
* userId: "STRING_VALUE",
|
|
40
|
+
* channelId: "STRING_VALUE", // required
|
|
41
|
+
* messageId: "STRING_VALUE", // required
|
|
42
|
+
* set: { // PartialUpdateMessageSetInput
|
|
43
|
+
* text: "STRING_VALUE",
|
|
44
|
+
* elements: [ // ElementsList
|
|
45
|
+
* { // Element Union: only one key present
|
|
46
|
+
* template: { // MessageTemplateConfig
|
|
47
|
+
* whatsapp: { // TemplateWithParameters
|
|
48
|
+
* name: "STRING_VALUE", // required
|
|
49
|
+
* parameters: [ // ListTemplateParameter
|
|
50
|
+
* { // TemplateParameter
|
|
51
|
+
* name: "STRING_VALUE", // required
|
|
52
|
+
* value: "STRING_VALUE", // required
|
|
53
|
+
* },
|
|
54
|
+
* ],
|
|
55
|
+
* },
|
|
56
|
+
* },
|
|
57
|
+
* actions: [ // ActionsElementsList
|
|
58
|
+
* { // ActionElement Union: only one key present
|
|
59
|
+
* button: { // ButtonElement
|
|
60
|
+
* text: "STRING_VALUE", // required
|
|
61
|
+
* handler: { // ButtonHandler Union: only one key present
|
|
62
|
+
* link: { // ButtonLinkHandler
|
|
63
|
+
* url: "STRING_VALUE", // required
|
|
64
|
+
* },
|
|
65
|
+
* reply: { // ButtonReplyHandler
|
|
66
|
+
* text: "STRING_VALUE",
|
|
67
|
+
* },
|
|
68
|
+
* action: { // ButtonActionHandler
|
|
69
|
+
* id: "STRING_VALUE", // required
|
|
70
|
+
* },
|
|
71
|
+
* },
|
|
72
|
+
* variant: "contained" || "outlined",
|
|
73
|
+
* disabled: true || false,
|
|
74
|
+
* },
|
|
75
|
+
* },
|
|
76
|
+
* ],
|
|
77
|
+
* },
|
|
78
|
+
* ],
|
|
79
|
+
* attachments: [ // MessageAttachmentRequestList
|
|
80
|
+
* { // MessageAttachmentRequest
|
|
81
|
+
* fsId: "STRING_VALUE", // required
|
|
82
|
+
* mime: "STRING_VALUE",
|
|
83
|
+
* name: "STRING_VALUE", // required
|
|
84
|
+
* size: Number("long"), // required
|
|
85
|
+
* width: Number("int"),
|
|
86
|
+
* height: Number("int"),
|
|
87
|
+
* thumbnail: "STRING_VALUE",
|
|
88
|
+
* },
|
|
89
|
+
* ],
|
|
90
|
+
* quote: { // MessageQuoteRef
|
|
91
|
+
* channelId: "STRING_VALUE", // required
|
|
92
|
+
* messageId: "STRING_VALUE", // required
|
|
93
|
+
* },
|
|
94
|
+
* forward: { // MessageForwardRef
|
|
95
|
+
* channelId: "STRING_VALUE", // required
|
|
96
|
+
* messageId: "STRING_VALUE", // required
|
|
97
|
+
* },
|
|
98
|
+
* markdown: true || false,
|
|
99
|
+
* mentions: [ // UserIdList
|
|
100
|
+
* "STRING_VALUE",
|
|
101
|
+
* ],
|
|
102
|
+
* whatsapp: true || false,
|
|
103
|
+
* whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
104
|
+
* sms: true || false,
|
|
105
|
+
* smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
106
|
+
* },
|
|
107
|
+
* unset: [ // MessageUnsetFieldsList
|
|
108
|
+
* "text" || "mentions" || "elements" || "attachments" || "quote" || "forward" || "whatsapp" || "whatsappStatus" || "sms" || "smsStatus" || "markdown",
|
|
109
|
+
* ],
|
|
110
|
+
* silent: true || false,
|
|
111
|
+
* };
|
|
112
|
+
* const command = new PartialUpdateMessageCommand(input);
|
|
113
|
+
* const response = await client.send(command);
|
|
114
|
+
* // { // PartialUpdateMessageOutput
|
|
115
|
+
* // message: { // Message
|
|
116
|
+
* // messageId: "STRING_VALUE", // required
|
|
117
|
+
* // userId: "STRING_VALUE", // required
|
|
118
|
+
* // messageType: "regular" || "system", // required
|
|
119
|
+
* // text: "STRING_VALUE",
|
|
120
|
+
* // attachments: [ // MessageAttachmentList // required
|
|
121
|
+
* // { // MessageAttachment
|
|
122
|
+
* // fsId: "STRING_VALUE", // required
|
|
123
|
+
* // mime: "STRING_VALUE",
|
|
124
|
+
* // name: "STRING_VALUE", // required
|
|
125
|
+
* // size: Number("long"), // required
|
|
126
|
+
* // width: Number("int"),
|
|
127
|
+
* // height: Number("int"),
|
|
128
|
+
* // thumbnail: "STRING_VALUE",
|
|
129
|
+
* // id: "STRING_VALUE", // required
|
|
130
|
+
* // },
|
|
131
|
+
* // ],
|
|
132
|
+
* // mentions: [ // UserIdList // required
|
|
133
|
+
* // "STRING_VALUE",
|
|
134
|
+
* // ],
|
|
135
|
+
* // quote: { // MessageQuote
|
|
136
|
+
* // channelId: "STRING_VALUE", // required
|
|
137
|
+
* // messageId: "STRING_VALUE", // required
|
|
138
|
+
* // userId: "STRING_VALUE", // required
|
|
139
|
+
* // text: "STRING_VALUE",
|
|
140
|
+
* // createdAt: "STRING_VALUE", // required
|
|
141
|
+
* // },
|
|
142
|
+
* // forward: { // MessageForward
|
|
143
|
+
* // channelId: "STRING_VALUE", // required
|
|
144
|
+
* // messageId: "STRING_VALUE", // required
|
|
145
|
+
* // userId: "STRING_VALUE", // required
|
|
146
|
+
* // forwardedAt: "STRING_VALUE", // required
|
|
147
|
+
* // },
|
|
148
|
+
* // reactionCounts: { // ReactionCounts // required
|
|
149
|
+
* // "<keys>": Number("int"),
|
|
150
|
+
* // },
|
|
151
|
+
* // latestReactions: [ // ReactionList
|
|
152
|
+
* // { // Reaction
|
|
153
|
+
* // type: "STRING_VALUE", // required
|
|
154
|
+
* // userId: "STRING_VALUE", // required
|
|
155
|
+
* // messageId: "STRING_VALUE", // required
|
|
156
|
+
* // },
|
|
157
|
+
* // ],
|
|
158
|
+
* // pinned: true || false, // required
|
|
159
|
+
* // pinnedAt: "STRING_VALUE",
|
|
160
|
+
* // pinnedBy: "STRING_VALUE",
|
|
161
|
+
* // system: true || false, // required
|
|
162
|
+
* // timelineSeq: Number("long"), // required
|
|
163
|
+
* // visibleSeq: Number("long"), // required
|
|
164
|
+
* // channelVersion: Number("long"), // required
|
|
165
|
+
* // messageVersion: Number("long"), // required
|
|
166
|
+
* // createdAt: "STRING_VALUE", // required
|
|
167
|
+
* // editedAt: "STRING_VALUE",
|
|
168
|
+
* // deletedAt: "STRING_VALUE",
|
|
169
|
+
* // elements: [ // ElementsList
|
|
170
|
+
* // { // Element Union: only one key present
|
|
171
|
+
* // template: { // MessageTemplateConfig
|
|
172
|
+
* // whatsapp: { // TemplateWithParameters
|
|
173
|
+
* // name: "STRING_VALUE", // required
|
|
174
|
+
* // parameters: [ // ListTemplateParameter
|
|
175
|
+
* // { // TemplateParameter
|
|
176
|
+
* // name: "STRING_VALUE", // required
|
|
177
|
+
* // value: "STRING_VALUE", // required
|
|
178
|
+
* // },
|
|
179
|
+
* // ],
|
|
180
|
+
* // },
|
|
181
|
+
* // },
|
|
182
|
+
* // actions: [ // ActionsElementsList
|
|
183
|
+
* // { // ActionElement Union: only one key present
|
|
184
|
+
* // button: { // ButtonElement
|
|
185
|
+
* // text: "STRING_VALUE", // required
|
|
186
|
+
* // handler: { // ButtonHandler Union: only one key present
|
|
187
|
+
* // link: { // ButtonLinkHandler
|
|
188
|
+
* // url: "STRING_VALUE", // required
|
|
189
|
+
* // },
|
|
190
|
+
* // reply: { // ButtonReplyHandler
|
|
191
|
+
* // text: "STRING_VALUE",
|
|
192
|
+
* // },
|
|
193
|
+
* // action: { // ButtonActionHandler
|
|
194
|
+
* // id: "STRING_VALUE", // required
|
|
195
|
+
* // },
|
|
196
|
+
* // },
|
|
197
|
+
* // variant: "contained" || "outlined",
|
|
198
|
+
* // disabled: true || false,
|
|
199
|
+
* // },
|
|
200
|
+
* // },
|
|
201
|
+
* // ],
|
|
202
|
+
* // },
|
|
203
|
+
* // ],
|
|
204
|
+
* // whatsapp: true || false,
|
|
205
|
+
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
206
|
+
* // sms: true || false,
|
|
207
|
+
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
208
|
+
* // markdown: true || false,
|
|
209
|
+
* // giphy: { // MessageGiphy
|
|
210
|
+
* // id: "STRING_VALUE", // required
|
|
211
|
+
* // size: "STRING_VALUE", // required
|
|
212
|
+
* // url: "STRING_VALUE", // required
|
|
213
|
+
* // height: "STRING_VALUE", // required
|
|
214
|
+
* // width: "STRING_VALUE", // required
|
|
215
|
+
* // },
|
|
216
|
+
* // silent: true || false,
|
|
217
|
+
* // event: "STRING_VALUE",
|
|
218
|
+
* // },
|
|
219
|
+
* // };
|
|
220
|
+
*
|
|
221
|
+
* ```
|
|
222
|
+
*
|
|
223
|
+
* @param PartialUpdateMessageCommandInput - {@link PartialUpdateMessageCommandInput}
|
|
224
|
+
* @returns {@link PartialUpdateMessageCommandOutput}
|
|
225
|
+
* @see {@link PartialUpdateMessageCommandInput} for command's `input` shape.
|
|
226
|
+
* @see {@link PartialUpdateMessageCommandOutput} for command's `response` shape.
|
|
227
|
+
* @see {@link StreamServiceClientResolvedConfig | config} for StreamServiceClient's `config` shape.
|
|
228
|
+
*
|
|
229
|
+
* @throws {@link ChannelNotFoundException} (client fault)
|
|
230
|
+
*
|
|
231
|
+
* @throws {@link MessageNotFoundException} (client fault)
|
|
232
|
+
*
|
|
233
|
+
* @throws {@link StreamServiceException} (server fault)
|
|
234
|
+
*
|
|
235
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
236
|
+
*
|
|
237
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
238
|
+
*
|
|
239
|
+
* @throws {@link ValidationException} (client fault)
|
|
240
|
+
*
|
|
241
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
242
|
+
*
|
|
243
|
+
* @throws {@link StreamServiceServiceException}
|
|
244
|
+
* <p>Base exception class for all service exceptions from StreamService service.</p>
|
|
245
|
+
*
|
|
246
|
+
*
|
|
247
|
+
* @public
|
|
248
|
+
*/
|
|
249
|
+
export declare class PartialUpdateMessageCommand extends PartialUpdateMessageCommand_base {
|
|
250
|
+
/** @internal type navigation helper, not in runtime. */
|
|
251
|
+
protected static __types: {
|
|
252
|
+
api: {
|
|
253
|
+
input: PartialUpdateMessageInput;
|
|
254
|
+
output: PartialUpdateMessageOutput;
|
|
255
|
+
};
|
|
256
|
+
sdk: {
|
|
257
|
+
input: PartialUpdateMessageCommandInput;
|
|
258
|
+
output: PartialUpdateMessageCommandOutput;
|
|
259
|
+
};
|
|
260
|
+
};
|
|
261
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
|
|
2
|
+
import { PinChannelInput, PinChannelOutput } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link PinChannelCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PinChannelCommandInput extends PinChannelInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PinChannelCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PinChannelCommandOutput extends PinChannelOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const PinChannelCommand_base: {
|
|
25
|
+
new (input: PinChannelCommandInput): import("@smithy/smithy-client").CommandImpl<PinChannelCommandInput, PinChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: PinChannelCommandInput): import("@smithy/smithy-client").CommandImpl<PinChannelCommandInput, PinChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Pins a channel in the current user's inbox.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { StreamServiceClient, PinChannelCommand } from "@wildix/stream-client"; // ES Modules import
|
|
35
|
+
* // const { StreamServiceClient, PinChannelCommand } = require("@wildix/stream-client"); // CommonJS import
|
|
36
|
+
* const client = new StreamServiceClient(config);
|
|
37
|
+
* const input = { // PinChannelInput
|
|
38
|
+
* companyId: "STRING_VALUE",
|
|
39
|
+
* userId: "STRING_VALUE",
|
|
40
|
+
* channelId: "STRING_VALUE", // required
|
|
41
|
+
* force: true || false,
|
|
42
|
+
* };
|
|
43
|
+
* const command = new PinChannelCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // {};
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param PinChannelCommandInput - {@link PinChannelCommandInput}
|
|
50
|
+
* @returns {@link PinChannelCommandOutput}
|
|
51
|
+
* @see {@link PinChannelCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link PinChannelCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link StreamServiceClientResolvedConfig | config} for StreamServiceClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ChannelNotFoundException} (client fault)
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link PinnedChannelsLimitReachedException} (client fault)
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link StreamServiceException} (server fault)
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ValidationException} (client fault)
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link StreamServiceServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from StreamService service.</p>
|
|
71
|
+
*
|
|
72
|
+
*
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export declare class PinChannelCommand extends PinChannelCommand_base {
|
|
76
|
+
/** @internal type navigation helper, not in runtime. */
|
|
77
|
+
protected static __types: {
|
|
78
|
+
api: {
|
|
79
|
+
input: PinChannelInput;
|
|
80
|
+
output: {};
|
|
81
|
+
};
|
|
82
|
+
sdk: {
|
|
83
|
+
input: PinChannelCommandInput;
|
|
84
|
+
output: PinChannelCommandOutput;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
}
|
|
@@ -79,6 +79,13 @@ declare const PinMessageCommand_base: {
|
|
|
79
79
|
* // reactionCounts: { // ReactionCounts // required
|
|
80
80
|
* // "<keys>": Number("int"),
|
|
81
81
|
* // },
|
|
82
|
+
* // latestReactions: [ // ReactionList
|
|
83
|
+
* // { // Reaction
|
|
84
|
+
* // type: "STRING_VALUE", // required
|
|
85
|
+
* // userId: "STRING_VALUE", // required
|
|
86
|
+
* // messageId: "STRING_VALUE", // required
|
|
87
|
+
* // },
|
|
88
|
+
* // ],
|
|
82
89
|
* // pinned: true || false, // required
|
|
83
90
|
* // pinnedAt: "STRING_VALUE",
|
|
84
91
|
* // pinnedBy: "STRING_VALUE",
|
|
@@ -90,6 +97,55 @@ declare const PinMessageCommand_base: {
|
|
|
90
97
|
* // createdAt: "STRING_VALUE", // required
|
|
91
98
|
* // editedAt: "STRING_VALUE",
|
|
92
99
|
* // deletedAt: "STRING_VALUE",
|
|
100
|
+
* // elements: [ // ElementsList
|
|
101
|
+
* // { // Element Union: only one key present
|
|
102
|
+
* // template: { // MessageTemplateConfig
|
|
103
|
+
* // whatsapp: { // TemplateWithParameters
|
|
104
|
+
* // name: "STRING_VALUE", // required
|
|
105
|
+
* // parameters: [ // ListTemplateParameter
|
|
106
|
+
* // { // TemplateParameter
|
|
107
|
+
* // name: "STRING_VALUE", // required
|
|
108
|
+
* // value: "STRING_VALUE", // required
|
|
109
|
+
* // },
|
|
110
|
+
* // ],
|
|
111
|
+
* // },
|
|
112
|
+
* // },
|
|
113
|
+
* // actions: [ // ActionsElementsList
|
|
114
|
+
* // { // ActionElement Union: only one key present
|
|
115
|
+
* // button: { // ButtonElement
|
|
116
|
+
* // text: "STRING_VALUE", // required
|
|
117
|
+
* // handler: { // ButtonHandler Union: only one key present
|
|
118
|
+
* // link: { // ButtonLinkHandler
|
|
119
|
+
* // url: "STRING_VALUE", // required
|
|
120
|
+
* // },
|
|
121
|
+
* // reply: { // ButtonReplyHandler
|
|
122
|
+
* // text: "STRING_VALUE",
|
|
123
|
+
* // },
|
|
124
|
+
* // action: { // ButtonActionHandler
|
|
125
|
+
* // id: "STRING_VALUE", // required
|
|
126
|
+
* // },
|
|
127
|
+
* // },
|
|
128
|
+
* // variant: "contained" || "outlined",
|
|
129
|
+
* // disabled: true || false,
|
|
130
|
+
* // },
|
|
131
|
+
* // },
|
|
132
|
+
* // ],
|
|
133
|
+
* // },
|
|
134
|
+
* // ],
|
|
135
|
+
* // whatsapp: true || false,
|
|
136
|
+
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
137
|
+
* // sms: true || false,
|
|
138
|
+
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
139
|
+
* // markdown: true || false,
|
|
140
|
+
* // giphy: { // MessageGiphy
|
|
141
|
+
* // id: "STRING_VALUE", // required
|
|
142
|
+
* // size: "STRING_VALUE", // required
|
|
143
|
+
* // url: "STRING_VALUE", // required
|
|
144
|
+
* // height: "STRING_VALUE", // required
|
|
145
|
+
* // width: "STRING_VALUE", // required
|
|
146
|
+
* // },
|
|
147
|
+
* // silent: true || false,
|
|
148
|
+
* // event: "STRING_VALUE",
|
|
93
149
|
* // },
|
|
94
150
|
* // };
|
|
95
151
|
*
|
|
@@ -105,7 +161,7 @@ declare const PinMessageCommand_base: {
|
|
|
105
161
|
*
|
|
106
162
|
* @throws {@link MessageNotFoundException} (client fault)
|
|
107
163
|
*
|
|
108
|
-
* @throws {@link
|
|
164
|
+
* @throws {@link StreamServiceException} (server fault)
|
|
109
165
|
*
|
|
110
166
|
* @throws {@link UnauthorizedException} (client fault)
|
|
111
167
|
*
|