Releases: Mengkodingan/ckptw
Releases · Mengkodingan/ckptw
v4.4.4
v4.4.0
changes
- can define a custom auth adapter for storing the bot state. See #custom-auth-adapter.
v4.3.8
v4.3.6
changes
- add
autoMention
option in client (see #auto-mention) - add
ctx.msg.media.toBuffer()
(see #downloading-media) - add
ctx.msg.media.toStream()
(see #downloading-media) - add
ctx.quoted.media.toBuffer()
(see #downloading-media) - add
ctx.quoted.media.toStream()
(see #downloading-media)
v4.3.4
v4.3.3
changes
- add
ctx.prepareWAMessageMedia
. - add Carousel Builder.
- add
setURL
method in Button Builder (fixescta_url
button not working properly).
v4.3.0
changes
- add
ctx.quoted
- add
ctx.getContentType(content: WAProto.IMessage | undefined)
- add
ctx.downloadContentFromMessage(downloadable: DownloadableMessage, type: MediaType, opts?: MediaDownloadOptions)
- add
ctx._self.proto
(Baileys proto) - Button Builder re-implementation (see #button)
- Sections Builder re-implementation (see #sections)
- add
ctx.sendInteractiveMessage(jid: string, content: IInteractiveMessageContent, options: MessageGenerationOptionsFromContent | {} = {})
- add
ctx.replyInteractiveMessage(content: IInteractiveMessageContent, options: MessageGenerationOptionsFromContent | {} = {})
v4.2.1
v4.2.0
changes
- bump
@whiskeysockets/baileys
tov6.7.5
. - fix
fetchBio
causing errors (#10).
new
- add
ctx.block(jid?: string)
andctx.unblock(jid?: string)
. - add
ctx.decodedId
- add
decodedJid
toctx.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()