Skip to content
Hongarc edited this page Nov 3, 2018 · 8 revisions
  • getAppState()
  • addUserToGroup(userIds, threadId)
  • changeArchivedStatus(threadIds, archive)
  • changeBio(bio, expirationTime = neverExpiration)
  • changeBlockedStatus(threadId, block)
  • changeNickname(nickname, threadId, participantId)
  • changeThreadColor(color, threadId)
  • changeThreadEmoji(emoji, threadId)
  • createPoll(title, threadId, options)
  • deleteMessage(messageIds)
  • deleteThread(ids)
  • followProfile(userId, isFollow = true)
  • forwardAttachment(attachmentId, threadIds)
  • getFriendList()
  • getUserInfo(ids)
  • handleMessageRequest(threadIds, accept)
  • markAsRead(threadId)
  • markAsReadAll()
  • markReadNotifications()
  • muteThread(threadId, muteSeconds)
  • removeFriend(userId)
  • removeUserFromGroup(userId, threadId)
  • sendTyping(threadId, typing = true)
  • setAdminsForGroup(isAdmin, threadId, adminIds)
  • setApprovalGroup(mode, threadId)
  • setMessageReaction(reaction, messageId)
  • setTitle(title, threadId)
  • subFollow(userId, isSeeFirst)
  • getCurrentUserId()
  • getEmojiUrl(c, size, pixelRatio)
  • listen(callback)
  • sendMessage(msg, threadId)
Clone this wiki locally