/* Wrapper generated by lp-gen-wrappers, do not edit*/
/**
* A chat room is the place where text messages are exchanged.
* @external LinphoneChatRoom
**/
/**
* Returns back pointer to LinphoneCore object.
* @member {external:LinphoneCore} external:LinphoneChatRoom#core
* @readonly
**/
/**
* Gets the number of messages in a chat room.
* @member {number} external:LinphoneChatRoom#historySize
* @readonly
**/
/**
* get peer address
* @member {external:LinphoneAddress} external:LinphoneChatRoom#peerAddress
* @readonly
**/
/**
* Tells whether the remote is currently composing a message.
* @member {boolean} external:LinphoneChatRoom#remoteComposing
* @readonly
**/
/**
* Notifies the destination of the chat message being composed that the user is typing a new message.
* @function external:LinphoneChatRoom#compose
* @returns {void}
**/
/**
* Gets the partial list of messages in the given range, sorted from oldest to most recent.
* @function external:LinphoneChatRoom#getHistoryRange
* @param {number} begin - The first message of the range to be retrieved. History most recent message has index 0.
* @param {number} end - The last message of the range to be retrieved. History oldest message has index of history size - 1 (use
* @returns {Array.<Object>}
**/
/**
* Create a message attached to a dedicated chat room with a particular content. Use
* @function external:LinphoneChatRoom#newFileTransferMessage
* @param {external:LinphoneContent} initial_content - initial content. LinphoneCoreVTable.file_transfer_send is invoked later to notify file transfer progress and collect next chunk of the message if LinphoneContent.data is NULL.
* @returns {external:LinphoneChatMessage}
**/
/**
* Create a message attached to a dedicated chat room;
* @function external:LinphoneChatRoom#newMessage
* @param {string} message - text message, NULL if absent.
* @returns {external:LinphoneChatMessage}
**/
/**
* Create a message attached to a dedicated chat room;
* @function external:LinphoneChatRoom#newMessage2
* @param {string} message - text message, NULL if absent.
* @param {string} external_body_url - the URL given in external body or NULL.
* @param {linphone.ChatMessageState} state - the LinphoneChatMessage.State of the message.
* @param {external:time_t} time - the time_t at which the message has been received/sent.
* @param {boolean} is_read - TRUE if the message should be flagged as read, FALSE otherwise.
* @param {boolean} is_incoming - TRUE if the message has been received, FALSE otherwise.
* @returns {external:LinphoneChatMessage}
**/
/**
* Send a message to peer member of this chat room.
* @function external:LinphoneChatRoom#sendMessage2
* @param {external:LinphoneChatMessage} msg - message to be sent
* @param {external:LinphoneChatMessageStateChangedCb} status_cb - LinphoneChatMessageStateChangeCb status callback invoked when message is delivered or could not be delivered. May be NULL
* @param {void} ud - user data for the status cb.
* @returns {void}
**/