Description Usage Arguments Value Examples
Create a list that contains 4 data frames containing chat sessions and raw chat text.
1 | livechatGetChats(account, date_from)
|
account |
defined by the livechatCreateAccount function |
date_from |
pull all chats from the date in the format YYYY-MM-DD |
A list of 4. The being a data.table of chat sessions, messages, postchat surveys and events
1 2 3 4 5 6 7 | # account <- livechatCreateAccount("email_here", "api_key_here")
# livechat_data <- livechatGetChats(account, date_from = "2016-02-23")
# str(livechat_data)
# livechat_data[[1]] %>% str # chat_sessions
# livechat_data[[2]] %>% str # messages
# livechat_data[[3]] %>% str # postchat_survey
# livechat_data[[4]] %>% str # events
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.