Releases
v4.2.0
changes
bump @whiskeysockets/baileys
to v6.7.5
.
fix fetchBio
causing errors (#10 ).
new
add ctx.block(jid?: string)
and ctx.unblock(jid?: string)
.
add ctx.decodedId
add decodedJid
to ctx.sender
property.
add Call
events.
add bot.groups()
.
add lots of group stuff
ctx . groups . create ( subject : string, members : string [ ] ) ;
ctx . groups . inviteCodeInfo ( code : string ) ;
ctx . groups . acceptInvite ( code : string ) ;
ctx . groups . acceptInviteV4 ( key : string | proto . IMessageKey , inviteMessage : proto . Message . IGroupInviteMessage ) ;
ctx . group ( jid ?: string ) ; // jid is optional
ctx . group ( ) . members ( ) ;
ctx . group ( ) . inviteCode ( ) ;
ctx . group ( ) . revokeInviteCode ( ) ;
ctx . group ( ) . joinApproval ( mode : "on" | "off" ) ;
ctx . group ( ) . leave ( ) ;
ctx . group ( ) . membersCanAddMemberMode ( mode : "on" | "off" ) ;
ctx . group ( ) . metadata ( ) ;
ctx . group ( ) . toggleEphemeral ( expiration : number) ;
ctx . group ( ) . updateDescription ( description : number) ;
ctx . group ( ) . updateSubject ( subject : number) ;
ctx . group ( ) . membersUpdate ( members : string [ ] , action : ParticipantAction ) ;
ctx . group ( ) . kick ( members : string [ ] ) ;
ctx . group ( ) . add ( members : string [ ] ) ;
ctx . group ( ) . promote ( members : string [ ] ) ;
ctx . group ( ) . demote ( members : string [ ] ) ;
ctx . group ( ) . pendingMembers ( ) ;
ctx . group ( ) . pendingMembersUpdate ( members : string [ ] , action : 'reject' | 'approve' ) ;
ctx . group ( ) . approvePendingMembers ( members : string [ ] ) ;
ctx . group ( ) . rejectPendingMembers ( members : string [ ] ) ;
ctx . group ( ) . updateSetting ( setting : 'announcement' | 'not_announcement' | 'locked' | 'unlocked' )
ctx . group ( ) . open ( )
ctx . group ( ) . close ( )
ctx . group ( ) . lock ( )
ctx . group ( ) . unlock ( )
You can’t perform that action at this time.