/**
 * Returns a list of all of the messages that meet the given criteria (all optional), where channelId is a channel identifier, start is the offset to start returning messages from (starting from 0), count is the number of messages to return (default no limit) and payloadPreviewLength is the maximum number bytes to return for the payload contents
 * <p>
 * This component is optional and therefore the API will only work if it is installed
*/
Returns a list of all of the messages that meet the given criteria (all optional), where channelId is a channel identifier, start is the offset to start returning messages from (starting from 0), count is the number of messages to return (default no limit) and payloadPreviewLength is the maximum number bytes to return for the payload contents

This component is optional and therefore the API will only work if it is installed
Returns a list of all of the messages that meet the given criteria ( all optional ) where channelId is a channel identifier start is the offset to start returning messages from ( starting from 0 ) count is the number of messages to return ( default no limit ) and payloadPreviewLength is the maximum number bytes to return for the payload contents This component is optional and therefore the API will only work if it is installed
pub fn messages(
    service: &ZapService,
    channelid: String,
    start: String,
    count: String,
    payloadpreviewlength: String,
) -> Result<Value, ZapApiError> {
    let mut params = HashMap::new();
    params.insert("channelId".to_string(), channelid);
    params.insert("start".to_string(), start);
    params.insert("count".to_string(), count);
    params.insert("payloadPreviewLength".to_string(), payloadpreviewlength);
    super::call(service, "websocket", "view", "messages", params)
}
pub fn messages ( service : & ZapService , channelid : String , start : String , count : String , payloadpreviewlength : String , ) -> Result < Value , ZapApiError > { let mut params = HashMap :: new ( ) ; params . insert ( " " . to_string ( ) , channelid ) ; params . insert ( " " . to_string ( ) , start ) ; params . insert ( " " . to_string ( ) , count ) ; params . insert ( " " . to_string ( ) , payloadpreviewlength ) ; super :: call ( service , " " , " " , " " , params ) }
Returns a list of all of the messages that meet the given criteria (all optional), where channelId is a channel identifier, start is the offset to start returning messages from (starting from 0), count is the number of messages to return (default no limit) and payloadPreviewLength is the maximum number bytes to return for the payload contents
 <p>
 This component is optional and therefore the API will only work if it is installed
Returns a list of all of the messages that meet the given criteria ( all optional ) where channelId is a channel identifier start is the offset to start returning messages from ( starting from 0 ) count is the number of messages to return ( default no limit ) and payloadPreviewLength is the maximum number bytes to return for the payload contents <p > This component is optional and therefore the API will only work if it is installed
service
&ZapService
channelid
String
start
String
count
String
payloadpreviewlength
String