File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ export default class Client {
207
207
do {
208
208
const res = await this . http . get < { userIds : string [ ] ; next ?: string } > (
209
209
`${ MESSAGING_API_PREFIX } /followers/ids` ,
210
- start ? { start } : null ,
210
+ start ? { start, limit : 1000 } : { limit : 1000 } ,
211
211
) ;
212
212
ensureJSON ( res ) ;
213
213
userIds = userIds . concat ( res . userIds ) ;
Original file line number Diff line number Diff line change @@ -523,9 +523,14 @@ export type StickerEventMessage = {
523
523
| "ANIMATION_SOUND"
524
524
| "POPUP"
525
525
| "POPUP_SOUND"
526
- | "NAME_TEXT "
527
- | "PER_STICKER_TEXT " ;
526
+ | "CUSTOM "
527
+ | "MESSAGE " ;
528
528
keywords : string [ ] ;
529
+ /**
530
+ * Any text entered by the user. This property is only included for message stickers.
531
+ * Max character limit: 100
532
+ */
533
+ text ?: string ;
529
534
} & EventMessageBase ;
530
535
531
536
export type Postback = {
Original file line number Diff line number Diff line change @@ -375,7 +375,7 @@ describe("client", () => {
375
375
} ) ;
376
376
377
377
it ( "getBotFollowersIds" , async ( ) => {
378
- const scope = mockGet ( MESSAGING_API_PREFIX , "/followers/ids" ) ;
378
+ const scope = mockGet ( MESSAGING_API_PREFIX , "/followers/ids?limit=1000 " ) ;
379
379
const ids = await client . getBotFollowersIds ( ) ;
380
380
equal ( scope . isDone ( ) , true ) ;
381
381
} ) ;
You can’t perform that action at this time.
0 commit comments