Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.74 KB

File metadata and controls

34 lines (25 loc) · 1.74 KB

OpenChannelHistoryMessageListRequest

Properties

Name Type Description Notes
user_id str User ID of the open-channel participant.
channel_id str Open channel ID.
start_at int Query start timestamp in Unix milliseconds. Must be greater than or equal to `endAt`; the range cannot exceed 14 days.
end_at int Query end timestamp in Unix milliseconds. Messages are returned in descending timestamp order.
page_size int Number of messages to return. Must be between 1 and 100. [optional] [default to 10]
include_start bool Whether to include the message at `startAt` when it matches the query boundary.

Example

from ncsdk.models.open_channel_history_message_list_request import OpenChannelHistoryMessageListRequest

# TODO update the JSON string below
json = "{}"
# create an instance of OpenChannelHistoryMessageListRequest from a JSON string
open_channel_history_message_list_request_instance = OpenChannelHistoryMessageListRequest.from_json(json)
# print the JSON string representation of the object
print(OpenChannelHistoryMessageListRequest.to_json())

# convert the object into a dict
open_channel_history_message_list_request_dict = open_channel_history_message_list_request_instance.to_dict()
# create an instance of OpenChannelHistoryMessageListRequest from a dict
open_channel_history_message_list_request_from_dict = OpenChannelHistoryMessageListRequest.from_dict(open_channel_history_message_list_request_dict)

[Back to Model list] [Back to API list] [Back to README]