UNPKG

@convergence/convergence

Version:
386 lines (385 loc) 19.8 kB
<!doctype html> <html class="default no-js"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>UserLeftChatHistoryEntry | Convergence JavaScript Client API Documentation</title> <meta name="description" content="Documentation for Convergence JavaScript Client API Documentation"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="../assets/css/main.css"> <link rel="icon" type="image/png" href="https://convergence.io/assets/img/favicon/favicon-16x16.png" sizes="16x16"> <link rel="icon" type="image/png" href="https://convergence.io/assets/img/favicon/favicon-32x32.png" sizes="32x32"> <link rel="icon" type="image/ico" href="https://convergence.io/assets/img/favicon/favicon.ico" sizes="48x48"> <link rel="icon" type="image/png" href="https://convergence.io/assets/img/favicon/favicon-96x96.png" sizes="96x96"> <!-- Start of convergencelabs Zendesk Widget script --> <script id="ze-snippet" src="https://static.zdassets.com/ekr/snippet.js?key=3ee5157d-2fc2-4b08-b6c7-d5fad0533179"> </script> <!-- End of convergencelabs Zendesk Widget script --> </head> <body> <header> <div class="tsd-page-toolbar convergence-header"> <div class="container"> <div class="flex-content"> <a href="../index.html" class="header-brand"> <img src=../assets/images/convergence-logo.png /> <span class="brand-title brand-copy">Convergence JavaScript Client API Documentation</span> <span class="version">1.0.0-rc.12</span> </a> <div class="links brand-copy"> <div class="link"> <a href="https://docs.convergence.io/guide/">Dev Guide</a> </div> <div class="link"> <a href="https://examples.convergence.io">Examples</a> </div> <div class="link"> <a href="https://convergence.io/support/">Support</a> </div> </div> </div> <div class="table-wrap"> <div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base=".."> <div class="field"> <label for="tsd-search-field" class="tsd-widget search no-caption">Search</label> <input id="tsd-search-field" type="text" /> </div> <ul class="results"> <li class="state loading">Preparing search index...</li> <li class="state failure">The search index is not available</li> </ul> </div> <div class="table-cell" id="tsd-widgets"> <div id="tsd-filter"> <a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a> <div class="tsd-filter-group"> <input type="checkbox" id="tsd-filter-inherited" checked /> <label class="tsd-widget" for="tsd-filter-inherited">Inherited</label> </div> </div> <a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a> </div> </div> </div> </div> <div class="tsd-page-title"> <div class="container"> <ul class="tsd-breadcrumb"> <li> <a href="../globals.html">Index</a> </li> <li> <a href="../modules/chat.html">Chat</a> </li> <li> <a href="chat.userleftchathistoryentry.html">UserLeftChatHistoryEntry</a> </li> </ul> <h1>Class UserLeftChatHistoryEntry</h1> </div> </div> </header> <div class="container container-main"> <div class="row"> <div class="col-8 col-content"> <section class="tsd-panel tsd-comment"> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>Represents a user leaving this chat. Analogous to a <a href="chat.userleftevent.html">UserLeftEvent</a>.</p> </div> </div> </section> <section class="tsd-panel tsd-hierarchy"> <h3>Hierarchy</h3> <ul class="tsd-hierarchy"> <li> <a href="chat.chathistoryentry.html" class="tsd-signature-type">ChatHistoryEntry</a> <ul class="tsd-hierarchy"> <li> <span class="target">UserLeftChatHistoryEntry</span> </li> </ul> </li> </ul> </section> <section class="tsd-panel-group tsd-index-group"> <h2>Index</h2> <section class="tsd-panel tsd-index-panel"> <div class="tsd-index-content"> <section class="tsd-index-section "> <h3>Properties</h3> <ul class="tsd-index-list"> <li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="chat.userleftchathistoryentry.html#chatid" class="tsd-kind-icon">chat<wbr>Id</a></li> <li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="chat.userleftchathistoryentry.html#eventnumber" class="tsd-kind-icon">event<wbr>Number</a></li> <li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="chat.userleftchathistoryentry.html#timestamp" class="tsd-kind-icon">timestamp</a></li> <li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="chat.userleftchathistoryentry.html#type" class="tsd-kind-icon">type</a></li> <li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="chat.userleftchathistoryentry.html#user" class="tsd-kind-icon">user</a></li> <li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="chat.userleftchathistoryentry.html#type-1" class="tsd-kind-icon">TYPE</a></li> </ul> </section> <section class="tsd-index-section tsd-is-inherited"> <h3>Object literals</h3> <ul class="tsd-index-list"> <li class="tsd-kind-object-literal tsd-parent-kind-class tsd-is-inherited tsd-is-static"><a href="chat.userleftchathistoryentry.html#types" class="tsd-kind-icon">TYPES</a></li> </ul> </section> </div> </section> </section> <section class="tsd-panel-group tsd-member-group "> <h2>Properties</h2> <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"> <a name="chatid" class="tsd-anchor"></a> <h3>chat<wbr>Id</h3> <div class="tsd-signature tsd-kind-icon">chat<wbr>Id<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div> <aside class="tsd-sources"> <p>Inherited from <a href="chat.chathistoryentry.html">ChatHistoryEntry</a>.<a href="chat.chathistoryentry.html#chatid">chatId</a></p> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>The ID of the chat on which this event occurred</p> </div> </div> </section> <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"> <a name="eventnumber" class="tsd-anchor"></a> <h3>event<wbr>Number</h3> <div class="tsd-signature tsd-kind-icon">event<wbr>Number<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div> <aside class="tsd-sources"> <p>Inherited from <a href="chat.chathistoryentry.html">ChatHistoryEntry</a>.<a href="chat.chathistoryentry.html#eventnumber">eventNumber</a></p> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>The unique sequential ID of this event</p> </div> </div> </section> <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"> <a name="timestamp" class="tsd-anchor"></a> <h3>timestamp</h3> <div class="tsd-signature tsd-kind-icon">timestamp<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Date</span></div> <aside class="tsd-sources"> <p>Inherited from <a href="chat.chathistoryentry.html">ChatHistoryEntry</a>.<a href="chat.chathistoryentry.html#timestamp">timestamp</a></p> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>The timestamp at which this event occurred</p> </div> </div> </section> <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"> <a name="type" class="tsd-anchor"></a> <h3>type</h3> <div class="tsd-signature tsd-kind-icon">type<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div> <aside class="tsd-sources"> <p>Inherited from <a href="chat.chathistoryentry.html">ChatHistoryEntry</a>.<a href="chat.chathistoryentry.html#type">type</a></p> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>The type of event. One of <a href="real_time_data.modelreference.html#types">Types</a></p> </div> </div> </section> <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"> <a name="user" class="tsd-anchor"></a> <h3>user</h3> <div class="tsd-signature tsd-kind-icon">user<span class="tsd-signature-symbol">:</span> <a href="users_and_identity.domainuser.html" class="tsd-signature-type">DomainUser</a></div> <aside class="tsd-sources"> <p>Inherited from <a href="chat.chathistoryentry.html">ChatHistoryEntry</a>.<a href="chat.chathistoryentry.html#user">user</a></p> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>The user that initiated this event</p> </div> </div> </section> <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static"> <a name="type-1" class="tsd-anchor"></a> <h3>TYPE</h3> <div class="tsd-signature tsd-kind-icon">TYPE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = ChatHistoryEntry.TYPES.USER_LEFT</span></div> <aside class="tsd-sources"> </aside> </section> </section> <section class="tsd-panel-group tsd-member-group tsd-is-inherited"> <h2>Object literals</h2> <section class="tsd-panel tsd-member tsd-kind-object-literal tsd-parent-kind-class tsd-is-inherited tsd-is-static"> <a name="types" class="tsd-anchor"></a> <h3>TYPES</h3> <div class="tsd-signature tsd-kind-icon">TYPES<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div> <aside class="tsd-sources"> <p>Inherited from <a href="chat.chathistoryentry.html">ChatHistoryEntry</a>.<a href="chat.chathistoryentry.html#types">TYPES</a></p> </aside> <section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal"> <a name="types.created" class="tsd-anchor"></a> <h3>CREATED</h3> <div class="tsd-signature tsd-kind-icon">CREATED<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &quot;created&quot;</span></div> <aside class="tsd-sources"> </aside> </section> <section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal"> <a name="types.message" class="tsd-anchor"></a> <h3>MESSAGE</h3> <div class="tsd-signature tsd-kind-icon">MESSAGE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &quot;message&quot;</span></div> <aside class="tsd-sources"> </aside> </section> <section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal"> <a name="types.name_changed" class="tsd-anchor"></a> <h3>NAME_<wbr>CHANGED</h3> <div class="tsd-signature tsd-kind-icon">NAME_<wbr>CHANGED<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &quot;name_changed&quot;</span></div> <aside class="tsd-sources"> </aside> </section> <section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal"> <a name="types.topic_changed" class="tsd-anchor"></a> <h3>TOPIC_<wbr>CHANGED</h3> <div class="tsd-signature tsd-kind-icon">TOPIC_<wbr>CHANGED<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &quot;topic_changed&quot;</span></div> <aside class="tsd-sources"> </aside> </section> <section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal"> <a name="types.user_added" class="tsd-anchor"></a> <h3>USER_<wbr>ADDED</h3> <div class="tsd-signature tsd-kind-icon">USER_<wbr>ADDED<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &quot;user_added&quot;</span></div> <aside class="tsd-sources"> </aside> </section> <section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal"> <a name="types.user_joined" class="tsd-anchor"></a> <h3>USER_<wbr>JOINED</h3> <div class="tsd-signature tsd-kind-icon">USER_<wbr>JOINED<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &quot;user_joined&quot;</span></div> <aside class="tsd-sources"> </aside> </section> <section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal"> <a name="types.user_left" class="tsd-anchor"></a> <h3>USER_<wbr>LEFT</h3> <div class="tsd-signature tsd-kind-icon">USER_<wbr>LEFT<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &quot;user_left&quot;</span></div> <aside class="tsd-sources"> </aside> </section> <section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal"> <a name="types.user_removed" class="tsd-anchor"></a> <h3>USER_<wbr>REMOVED</h3> <div class="tsd-signature tsd-kind-icon">USER_<wbr>REMOVED<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &quot;user_removed&quot;</span></div> <aside class="tsd-sources"> </aside> </section> </section> </section> </div> <div class="col-4 col-menu menu-sticky-wrap menu-highlight"> <nav class="tsd-navigation primary"> <ul> <li class="globals "> <a href="../globals.html"><em>Index</em></a> </li> <li class="modules-label">Modules</li> <li class=" tsd-kind-module"> <span class="tsd-kind-icon"><a href="../modules/activities.html">Activities</a></span> </li> <li class="current tsd-kind-module"> <span class="tsd-kind-icon"><a href="../modules/chat.html">Chat</a></span> </li> <li class=" tsd-kind-module"> <span class="tsd-kind-icon"><a href="../modules/connection_and_authentication.html">Connection and <wbr>Authentication</a></span> </li> <li class=" tsd-kind-module"> <span class="tsd-kind-icon"><a href="../modules/offline.html">Offline</a></span> </li> <li class=" tsd-kind-module"> <span class="tsd-kind-icon"><a href="../modules/presence.html">Presence</a></span> </li> <li class=" tsd-kind-module"> <span class="tsd-kind-icon"><a href="../modules/real_time_data.html">Real <wbr>Time <wbr>Data</a></span> </li> <li class=" tsd-kind-module"> <span class="tsd-kind-icon"><a href="../modules/users_and_identity.html">Users and <wbr>Identity</a></span> </li> </ul> </nav> <nav class="tsd-navigation secondary menu-sticky"> <ul class="before-current"> </ul> <ul class="current"> <li class="current tsd-kind-class tsd-parent-kind-module"> <a href="chat.userleftchathistoryentry.html" class="tsd-kind-icon">User<wbr>Left<wbr>Chat<wbr>History<wbr>Entry</a> <ul> <li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited"> <a href="chat.userleftchathistoryentry.html#chatid" class="tsd-kind-icon">chat<wbr>Id</a> </li> <li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited"> <a href="chat.userleftchathistoryentry.html#eventnumber" class="tsd-kind-icon">event<wbr>Number</a> </li> <li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited"> <a href="chat.userleftchathistoryentry.html#timestamp" class="tsd-kind-icon">timestamp</a> </li> <li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited"> <a href="chat.userleftchathistoryentry.html#type" class="tsd-kind-icon">type</a> </li> <li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited"> <a href="chat.userleftchathistoryentry.html#user" class="tsd-kind-icon">user</a> </li> <li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static"> <a href="chat.userleftchathistoryentry.html#type-1" class="tsd-kind-icon">TYPE</a> </li> <li class=" tsd-kind-object-literal tsd-parent-kind-class tsd-is-inherited tsd-is-static"> <a href="chat.userleftchathistoryentry.html#types" class="tsd-kind-icon">TYPES</a> </li> </ul> </li> </ul> <ul class="after-current"> </ul> </nav> </div> </div> </div> <footer> <div class="container"> <h2>Legend</h2> <div class="tsd-legend-group"> <ul class="tsd-legend"> <li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li> <li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li> <li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li> <li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li> <li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li> </ul> <ul class="tsd-legend"> <li class="tsd-kind-object-literal"><span class="tsd-kind-icon">Object literal</span></li> <li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li> <li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li> <li class="tsd-kind-type-alias tsd-has-type-parameter"><span class="tsd-kind-icon">Type alias with type parameter</span></li> </ul> <ul class="tsd-legend"> <li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li> <li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li> <li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li> </ul> <ul class="tsd-legend"> <li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li> <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li> </ul> <ul class="tsd-legend"> <li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li> <li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li> </ul> <ul class="tsd-legend"> <li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li> </ul> </div> </div> </footer> <div class="overlay"></div> <script src="../assets/js/main.js"></script> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-84372428-3', 'auto'); ga('send', 'pageview'); </script> </body> </html>