Click or drag to resize
InitiatedChats Methods

The InitiatedChats type exposes the following members.

Methods
  NameDescription
Public methodGetInitiatedChatRequest
Gets Initiated chat request by ContactID or UserID if exists. First it searches request by contactID, if request is found, it is returned. Then it searches by userID. If request is not found or was created before changedSince null is returned.
Public methodInvalidateContactIDCache
Invalidates cache organized by ContactID. So on the next call to GetInitiatedChatRequest, result will be 100% accurate.
Public methodInvalidateUserIDCache
Invalidates cache organized by UserID. So on the next call to GetInitiatedChatRequest, result will be 100% accurate.
Top
See Also