Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.77 KB

DirectChannelHistoryMessageListRequest.md

File metadata and controls

34 lines (25 loc) · 1.77 KB

DirectChannelHistoryMessageListRequest

Properties

Name Type Description Notes
user_id str User ID of the direct-channel participant.
channel_id str Direct 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.direct_channel_history_message_list_request import DirectChannelHistoryMessageListRequest

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

# convert the object into a dict
direct_channel_history_message_list_request_dict = direct_channel_history_message_list_request_instance.to_dict()
# create an instance of DirectChannelHistoryMessageListRequest from a dict
direct_channel_history_message_list_request_from_dict = DirectChannelHistoryMessageListRequest.from_dict(direct_channel_history_message_list_request_dict)

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