Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.76 KB

File metadata and controls

34 lines (25 loc) · 1.76 KB

GroupChannelHistoryMessageListRequest

Properties

Name Type Description Notes
user_id str User ID of the group-channel participant.
channel_id str Group 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.group_channel_history_message_list_request import GroupChannelHistoryMessageListRequest

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

# convert the object into a dict
group_channel_history_message_list_request_dict = group_channel_history_message_list_request_instance.to_dict()
# create an instance of GroupChannelHistoryMessageListRequest from a dict
group_channel_history_message_list_request_from_dict = GroupChannelHistoryMessageListRequest.from_dict(group_channel_history_message_list_request_dict)

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