InitiatedChatsGetInitiatedChatRequest Method |
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.
Namespace: CMS.ChatAssembly: CMS.Chat (in CMS.Chat.dll) Version: 9.0.0
Syntax public InitiateChatRequestData GetInitiatedChatRequest(
Nullable<int> contactID,
Nullable<int> userID,
Nullable<DateTime> changedSince
)
Parameters
- contactID
- Type: SystemNullableInt32
Request for this contact is searched. Ignored if null. - userID
- Type: SystemNullableInt32
Request for this user is searched. Ignored if null. - changedSince
- Type: SystemNullableDateTime
Last change this client received.
Return Value
Type:
InitiateChatRequestDataSee Also