Skip to main content

chatMessages

Returns all messages from a chat

chatMessages(
chatId: Int!
after: String
before: String
first: Int
last: Int
): ChatMessageConnection

Arguments

chatMessages.chatId ● Int! non-null scalar

chatMessages.after ● String scalar

Returns the elements in the list that come after the specified cursor.

chatMessages.before ● String scalar

Returns the elements in the list that come before the specified cursor.

chatMessages.first ● Int scalar

Returns the first n elements from the list.

chatMessages.last ● Int scalar

Returns the last n elements from the list.

Type

ChatMessageConnection object

The connection type for ChatMessage.