Skip to content

Releases: Mengkodingan/ckptw

v4.4.4

28 Jan 03:40
Compare
Choose a tag to compare

changes

  • adding ctx.decodeJid
  • adding bot.decodeJid
  • adding decodedJid and decodedSender to collector collections.
  • collector.stop function can accept any argument (previously only strings).
  • fix error when sending a media message while autoMention is enabled.

v4.4.0

26 Jan 08:28
Compare
Choose a tag to compare

changes

v4.3.8

22 Oct 09:23
Compare
Choose a tag to compare

changes

  • bump @whiskeysockets/baileys to 6.7.9

v4.3.6

28 Aug 07:36
Compare
Choose a tag to compare

changes

v4.3.4

26 Aug 05:44
Compare
Choose a tag to compare

changes

  • bump @whiskeysockets/baileys to v6.7.7
  • add WAVersion options in client constructor.

v4.3.3

14 Aug 02:47
Compare
Choose a tag to compare

changes

  • add ctx.prepareWAMessageMedia.
  • add Carousel Builder.
  • add setURL method in Button Builder (fixes cta_url button not working properly).

v4.3.0

12 Aug 13:03
Compare
Choose a tag to compare

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

16 Jul 12:51
Compare
Choose a tag to compare

changes

  • fixing some typo in readme

v4.2.0

23 Jun 15:06
Compare
Choose a tag to compare

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()

v4.1.1

27 May 11:39
Compare
Choose a tag to compare

Changes

  • fix message not getting updated when editing a message (#9)