Skip to main content

messages

A list of Messages in a Conversation

Arguments

afterString

A cursor to search after (only include first & after or last & before)

beforeString

A cursor to search before (only include first & after or last & before)

conversationIdID!

The ID of the Conversation to fetch Messages

firstInt

The number of results to fetch when searching forward (only include first & after or last & before)

lastInt

The number of results to fetch when searching backward (only include first & after or last & before)

sortBySortMessagesBy

The sort key

sortDirSortDirection

The sort direction

Returns

MessageConnection!
A connection to a list of items.