Skip to content

Commit f971825

Browse files
4d1616205afce8b8c44a5e6673419f1c8ce5340a
1 parent 8d43e90 commit f971825

4 files changed

Lines changed: 32 additions & 32 deletions

File tree

esm/client/5_client.d.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1651,7 +1651,7 @@ export declare class Client<C extends Context = Context> extends Composer<C> {
16511651
* Join a video chat. User-only.
16521652
*
16531653
* @method vc
1654-
* @param id The identifier of the video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
1654+
* @param id The identifier of a video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
16551655
* @param params_ WebRTC connection parameters.
16561656
* @returns Parameters to be passed to the used WebRTC library.
16571657
*/
@@ -1660,36 +1660,36 @@ export declare class Client<C extends Context = Context> extends Composer<C> {
16601660
* Leave a video chat. User-only.
16611661
*
16621662
* @method vc
1663-
* @param id The identifier of the video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
1663+
* @param id The identifier of a video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
16641664
*/
16651665
leaveVideoChat(id: string): Promise<void>;
16661666
/**
16671667
* Join a live stream. User-only.
16681668
*
16691669
* @method vc
1670-
* @param id The identifier of the video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
1670+
* @param id The identifier of a video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
16711671
*/
16721672
joinLiveStream(id: string): Promise<void>;
16731673
/**
16741674
* Get a video chat. User-only.
16751675
*
16761676
* @method vc
1677-
* @param id The identifier of the video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
1677+
* @param id The identifier of a video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
16781678
* @cache
16791679
*/
16801680
getVideoChat(id: string): Promise<VideoChat>;
16811681
/**
16821682
* Get live stream channels. User-only.
16831683
*
16841684
* @method vc
1685-
* @param id The identifier of the video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
1685+
* @param id The identifier of a video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
16861686
*/
16871687
getLiveStreamChannels(id: string): Promise<LiveStreamChannel[]>;
16881688
/**
16891689
* Download a live stream chunk. User-only.
16901690
*
16911691
* @method vc
1692-
* @param id The identifier of the video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
1692+
* @param id The identifier of a video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
16931693
* @param channelId Stream channel ID.
16941694
* @param scale Stream channel scale.
16951695
* @param timestamp Millisecond timestamp of the chunk to download.
@@ -1755,14 +1755,14 @@ export declare class Client<C extends Context = Context> extends Composer<C> {
17551755
* Get gifts claimed by a user or a channel. User-only.
17561756
*
17571757
* @method gf
1758-
* @param chatId The identifier of the user or a channel to get gifts for.
1758+
* @param chatId The identifier of a user or a channel to get gifts for.
17591759
*/
17601760
getClaimedGifts(chatId: ID, params?: GetClaimedGiftsParams): Promise<ClaimedGifts>;
17611761
/**
17621762
* Send a gift.
17631763
*
17641764
* @method gf
1765-
* @param chatId The identifier of the user or a channel to send the gift to.
1765+
* @param chatId The identifier of a user or a channel to send the gift to.
17661766
* @param giftId The identifier of the gift to send.
17671767
*/
17681768
sendGift(chatId: ID, giftId: string, params?: SendGiftParams): Promise<void>;

esm/client/5_client.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3129,7 +3129,7 @@ export class Client extends Composer {
31293129
* Join a video chat. User-only.
31303130
*
31313131
* @method vc
3132-
* @param id The identifier of the video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
3132+
* @param id The identifier of a video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
31333133
* @param params_ WebRTC connection parameters.
31343134
* @returns Parameters to be passed to the used WebRTC library.
31353135
*/
@@ -3140,7 +3140,7 @@ export class Client extends Composer {
31403140
* Leave a video chat. User-only.
31413141
*
31423142
* @method vc
3143-
* @param id The identifier of the video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
3143+
* @param id The identifier of a video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
31443144
*/
31453145
async leaveVideoChat(id) {
31463146
await __classPrivateFieldGet(this, _Client_videoChatManager, "f").leaveVideoChat(id);
@@ -3149,7 +3149,7 @@ export class Client extends Composer {
31493149
* Join a live stream. User-only.
31503150
*
31513151
* @method vc
3152-
* @param id The identifier of the video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
3152+
* @param id The identifier of a video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
31533153
*/
31543154
async joinLiveStream(id) {
31553155
await __classPrivateFieldGet(this, _Client_videoChatManager, "f").joinLiveStream(id);
@@ -3158,7 +3158,7 @@ export class Client extends Composer {
31583158
* Get a video chat. User-only.
31593159
*
31603160
* @method vc
3161-
* @param id The identifier of the video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
3161+
* @param id The identifier of a video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
31623162
* @cache
31633163
*/
31643164
async getVideoChat(id) {
@@ -3168,7 +3168,7 @@ export class Client extends Composer {
31683168
* Get live stream channels. User-only.
31693169
*
31703170
* @method vc
3171-
* @param id The identifier of the video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
3171+
* @param id The identifier of a video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
31723172
*/
31733173
async getLiveStreamChannels(id) {
31743174
return await __classPrivateFieldGet(this, _Client_videoChatManager, "f").getLiveStreamChannels(id);
@@ -3177,7 +3177,7 @@ export class Client extends Composer {
31773177
* Download a live stream chunk. User-only.
31783178
*
31793179
* @method vc
3180-
* @param id The identifier of the video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
3180+
* @param id The identifier of a video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
31813181
* @param channelId Stream channel ID.
31823182
* @param scale Stream channel scale.
31833183
* @param timestamp Millisecond timestamp of the chunk to download.
@@ -3273,7 +3273,7 @@ export class Client extends Composer {
32733273
* Get gifts claimed by a user or a channel. User-only.
32743274
*
32753275
* @method gf
3276-
* @param chatId The identifier of the user or a channel to get gifts for.
3276+
* @param chatId The identifier of a user or a channel to get gifts for.
32773277
*/
32783278
async getClaimedGifts(chatId, params) {
32793279
return await __classPrivateFieldGet(this, _Client_giftManager, "f").getClaimedGifts(chatId, params);
@@ -3282,7 +3282,7 @@ export class Client extends Composer {
32823282
* Send a gift.
32833283
*
32843284
* @method gf
3285-
* @param chatId The identifier of the user or a channel to send the gift to.
3285+
* @param chatId The identifier of a user or a channel to send the gift to.
32863286
* @param giftId The identifier of the gift to send.
32873287
*/
32883288
async sendGift(chatId, giftId, params) {

script/client/5_client.d.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1651,7 +1651,7 @@ export declare class Client<C extends Context = Context> extends Composer<C> {
16511651
* Join a video chat. User-only.
16521652
*
16531653
* @method vc
1654-
* @param id The identifier of the video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
1654+
* @param id The identifier of a video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
16551655
* @param params_ WebRTC connection parameters.
16561656
* @returns Parameters to be passed to the used WebRTC library.
16571657
*/
@@ -1660,36 +1660,36 @@ export declare class Client<C extends Context = Context> extends Composer<C> {
16601660
* Leave a video chat. User-only.
16611661
*
16621662
* @method vc
1663-
* @param id The identifier of the video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
1663+
* @param id The identifier of a video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
16641664
*/
16651665
leaveVideoChat(id: string): Promise<void>;
16661666
/**
16671667
* Join a live stream. User-only.
16681668
*
16691669
* @method vc
1670-
* @param id The identifier of the video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
1670+
* @param id The identifier of a video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
16711671
*/
16721672
joinLiveStream(id: string): Promise<void>;
16731673
/**
16741674
* Get a video chat. User-only.
16751675
*
16761676
* @method vc
1677-
* @param id The identifier of the video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
1677+
* @param id The identifier of a video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
16781678
* @cache
16791679
*/
16801680
getVideoChat(id: string): Promise<VideoChat>;
16811681
/**
16821682
* Get live stream channels. User-only.
16831683
*
16841684
* @method vc
1685-
* @param id The identifier of the video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
1685+
* @param id The identifier of a video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
16861686
*/
16871687
getLiveStreamChannels(id: string): Promise<LiveStreamChannel[]>;
16881688
/**
16891689
* Download a live stream chunk. User-only.
16901690
*
16911691
* @method vc
1692-
* @param id The identifier of the video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
1692+
* @param id The identifier of a video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
16931693
* @param channelId Stream channel ID.
16941694
* @param scale Stream channel scale.
16951695
* @param timestamp Millisecond timestamp of the chunk to download.
@@ -1755,14 +1755,14 @@ export declare class Client<C extends Context = Context> extends Composer<C> {
17551755
* Get gifts claimed by a user or a channel. User-only.
17561756
*
17571757
* @method gf
1758-
* @param chatId The identifier of the user or a channel to get gifts for.
1758+
* @param chatId The identifier of a user or a channel to get gifts for.
17591759
*/
17601760
getClaimedGifts(chatId: ID, params?: GetClaimedGiftsParams): Promise<ClaimedGifts>;
17611761
/**
17621762
* Send a gift.
17631763
*
17641764
* @method gf
1765-
* @param chatId The identifier of the user or a channel to send the gift to.
1765+
* @param chatId The identifier of a user or a channel to send the gift to.
17661766
* @param giftId The identifier of the gift to send.
17671767
*/
17681768
sendGift(chatId: ID, giftId: string, params?: SendGiftParams): Promise<void>;

script/client/5_client.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3133,7 +3133,7 @@ class Client extends Composer {
31333133
* Join a video chat. User-only.
31343134
*
31353135
* @method vc
3136-
* @param id The identifier of the video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
3136+
* @param id The identifier of a video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
31373137
* @param params_ WebRTC connection parameters.
31383138
* @returns Parameters to be passed to the used WebRTC library.
31393139
*/
@@ -3144,7 +3144,7 @@ class Client extends Composer {
31443144
* Leave a video chat. User-only.
31453145
*
31463146
* @method vc
3147-
* @param id The identifier of the video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
3147+
* @param id The identifier of a video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
31483148
*/
31493149
async leaveVideoChat(id) {
31503150
await __classPrivateFieldGet(this, _Client_videoChatManager, "f").leaveVideoChat(id);
@@ -3153,7 +3153,7 @@ class Client extends Composer {
31533153
* Join a live stream. User-only.
31543154
*
31553155
* @method vc
3156-
* @param id The identifier of the video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
3156+
* @param id The identifier of a video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
31573157
*/
31583158
async joinLiveStream(id) {
31593159
await __classPrivateFieldGet(this, _Client_videoChatManager, "f").joinLiveStream(id);
@@ -3162,7 +3162,7 @@ class Client extends Composer {
31623162
* Get a video chat. User-only.
31633163
*
31643164
* @method vc
3165-
* @param id The identifier of the video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
3165+
* @param id The identifier of a video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
31663166
* @cache
31673167
*/
31683168
async getVideoChat(id) {
@@ -3172,7 +3172,7 @@ class Client extends Composer {
31723172
* Get live stream channels. User-only.
31733173
*
31743174
* @method vc
3175-
* @param id The identifier of the video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
3175+
* @param id The identifier of a video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
31763176
*/
31773177
async getLiveStreamChannels(id) {
31783178
return await __classPrivateFieldGet(this, _Client_videoChatManager, "f").getLiveStreamChannels(id);
@@ -3181,7 +3181,7 @@ class Client extends Composer {
31813181
* Download a live stream chunk. User-only.
31823182
*
31833183
* @method vc
3184-
* @param id The identifier of the video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
3184+
* @param id The identifier of a video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
31853185
* @param channelId Stream channel ID.
31863186
* @param scale Stream channel scale.
31873187
* @param timestamp Millisecond timestamp of the chunk to download.
@@ -3277,7 +3277,7 @@ class Client extends Composer {
32773277
* Get gifts claimed by a user or a channel. User-only.
32783278
*
32793279
* @method gf
3280-
* @param chatId The identifier of the user or a channel to get gifts for.
3280+
* @param chatId The identifier of a user or a channel to get gifts for.
32813281
*/
32823282
async getClaimedGifts(chatId, params) {
32833283
return await __classPrivateFieldGet(this, _Client_giftManager, "f").getClaimedGifts(chatId, params);
@@ -3286,7 +3286,7 @@ class Client extends Composer {
32863286
* Send a gift.
32873287
*
32883288
* @method gf
3289-
* @param chatId The identifier of the user or a channel to send the gift to.
3289+
* @param chatId The identifier of a user or a channel to send the gift to.
32903290
* @param giftId The identifier of the gift to send.
32913291
*/
32923292
async sendGift(chatId, giftId, params) {

0 commit comments

Comments
 (0)