Optionalapp_Optional. Resource name (id) of the app.
OptionalchannelOptional. Only fetch messages from the channel.
Optionalchannel_Optional. Filter messages by channel_identity.
Optionalcontact_Optional. Resource name (id) of the contact. In case the messages source is set to CONVERSATION_SOURCE: Can list last messages by contact_id. In case the messages source is set to DISPATCH_SOURCE: The field is unsupported and cannot be set.
OptionaldirectionOptional. Only fetch messages with the specified direction. If direction is not specified, it will list both TO_APP and TO_CONTACT messages.
Optionalend_Optional. Only fetch messages with accept_time before this timestamp.
Optionalmessages_Optional. Specifies the message source for which the request will be processed. Default is DISPATCH_SOURCE.
Optionalpage_Optional. Maximum number of messages to fetch. Defaults to 10 and the maximum is 1000.
Optionalpage_Optional. Next page token previously returned if any.
Optionalstart_Optional. Only fetch messages with accept_time after this timestamp.
OptionalviewOptional. Specifies the representation in which messages should be returned. Default to WITH_METADATA.
Request body for listing messages by channel identity. NOTE: You can use either contact_ids OR channel_identities, but not both in the same request.