When long-polling the Live Chat API /Messages endpoint, the docs indicate that all messages sent between agent/chat visitor are returned in order, from a list of possible Message types. After looking at the possible message types, it seems reasonable to assume that the first message should always be either ChatRequestFail or ChatRequestSuccess, and empirical testing matches that expectation, but I cannot find any documentation of that assertion. Are there edge cases that would cause another Message type to come first? Is there any additional documentation I should be referring to?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.