Skip to content

feat: SDK-58: Требуется актуализировать SDK#87

Merged
VadimSav merged 2 commits into
masterfrom
fix/SDK-58
Jul 8, 2026
Merged

feat: SDK-58: Требуется актуализировать SDK#87
VadimSav merged 2 commits into
masterfrom
fix/SDK-58

Conversation

@VadimSav

@VadimSav VadimSav commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

New methods (+ async variants):

  • account.getStateInstanceHistory(count)
  • account.updateApiToken()
  • serviceMethods.getChats(count)
  • groups.updateGroupSettings(groupId, allowParticipantsEditGroupSettings, allowParticipantsSendMessages)
  • journals.lastIncomingCalls(minutes)
  • journals.lastOutgoingCalls(minutes)
  • queues.getMessagesCount()
  • queues.getWebhooksCount()
  • queues.clearWebhooksQueue() Updated signatures (backward compatible):
  • sending.sendMessage: add typePreview, customPreview
  • sending.forwardMessages: add typingTime
  • serviceMethods.checkWhatsapp: add chatId (preferred), force; phoneNumber -> Optional
  • serviceMethods.getContacts: add group, count
  • receiving.receiveNotification: add receiveTimeout Examples: add 8 new files, update 6 existing
    README/docs: add new methods and examples to both tables

VadimSav added 2 commits July 8, 2026 16:47
New methods (+ async variants):
- account.getStateInstanceHistory(count)
- account.updateApiToken()
- serviceMethods.getChats(count)
- groups.updateGroupSettings(groupId, allowParticipantsEditGroupSettings, allowParticipantsSendMessages)
- journals.lastIncomingCalls(minutes)
- journals.lastOutgoingCalls(minutes)
- queues.getMessagesCount()
- queues.getWebhooksCount()
- queues.clearWebhooksQueue()
Updated signatures (backward compatible):
- sending.sendMessage: add typePreview, customPreview
- sending.forwardMessages: add typingTime
- serviceMethods.checkWhatsapp: add chatId (preferred), force; phoneNumber -> Optional
- serviceMethods.getContacts: add group, count
- receiving.receiveNotification: add receiveTimeout
Examples: add 8 new files, update 6 existing
README/docs: add new methods and examples to both tables
New methods (+ async variants):
- account.getStateInstanceHistory(count)
- account.updateApiToken()
- serviceMethods.getChats(count)
- groups.updateGroupSettings(groupId, allowParticipantsEditGroupSettings, allowParticipantsSendMessages)
- journals.lastIncomingCalls(minutes)
- journals.lastOutgoingCalls(minutes)
- queues.getMessagesCount()
- queues.getWebhooksCount()
- queues.clearWebhooksQueue()
Updated signatures (backward compatible):
- sending.sendMessage: add typePreview, customPreview
- sending.forwardMessages: add typingTime
- serviceMethods.checkWhatsapp: add chatId (preferred), force; phoneNumber -> Optional
- serviceMethods.getContacts: add group, count
- receiving.receiveNotification: add receiveTimeout
Examples: add 8 new files, update 6 existing
README/docs: add new methods and examples to both tables
@VadimSav VadimSav merged commit e4cc67b into master Jul 8, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant