Get desktop application:
View/edit binary Protocol Buffers messages
These endpoints facilitate clients starting, ending and voting on anonymous chat sessions
Finds a chat partner, starting a new chat session request or updates an existing request if there's already something in the queue
If the user already has an ongoing search in the queue, it will be updated by sending another FindChatPartnerRequest. It is considered normal behaviour and no exception or warning or special status code is returned
If no interests are included in this request, this is considered a "quick chat", and users will be matched with anyone.
Matching Variant defines the queue to search a partner. If a value is not provided, the default queue will be used. For certain whitelisted accounts (QA accounts), a different queue is used. Providing a value for matching_variant will override any other default queue setting.
The optional id of the request, can be used to cancel this request if in queue Will not be present unless result = (PARTNER_FOUND or IN_QUEUE)
optional, will only be present if result = PARTNER_FOUND
In case of a rejection, this is the (UTC) timestamp of when the user will be allowed to return and request a new anon-chat. Will only be present if the rejection is for any reason that can expire such as REJECTED_NO_REMAINING_SESSIONS or REJECTED_TEMPORARILY_BANNED
Cancels a find chat partner request. If a session has already been created, it will not be cancelled, and the session details will still be returned to clients as normal
The id that was returned by the FindChatPartnerResponse should be used here to cancel the request
Ends a chat session before the chat expiry duration. The other chat partner will be notified that the chat has ended prematurely, and the chat session will be marked for eventual cleanup
Returns session details
Will only be present if Result = OK
Used by clients to query the number of chats the server will allow a user before they are rate limited
empty placeholder. Currently we get user jid from the request header
(message has no fields)
The number of chats remaining in a (configurable) time period.
Used in:
Find chat session request successfully cancelled
Chat session has already been created, the session will not be cancelled, details will be included in the same way that clients waiting after a FindChatSessionResponse.Result.IN_QUEUE receive them
Represents a chat interest that the user optionally selects for chat matching
Used in:
Used in:
Used in:
Chat partner immediately found and will be returned with this response
Chat partner not found (yet), user has been put in queue
The rejected response is a general rejection status that encompasses any rejections not covered by other REJECTED_* result codes, such as too many active chat sessions, or Bouncer rejections (spam analysis) If the user is in the queue already his requested is updated but not rejected
User has exceeded their daily limit of sessions
User is temporarily banned for bad behavior
Used in:
Chat session found, details will be provided.
Chat session not found. Either invalid id or session already cleaned up.
Used in:
Contains details of a 1on1 anonymous chat match session
Used in:
,The session id
The alias jid of the chat partner.
Chat session end time (UTC)
Session vote expiry (UTC), the session could be cleaned up any time after this. no further actions can be taken on this session after this time.