chatMessages

Returns all messages from a chat

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

Arguments#

chatId (Int!)#

after (String)#

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

before (String)#

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

first (Int)#

Returns the first n elements from the list.

last (Int)#

Returns the last n elements from the list.

Type#

ChatMessageConnection#

The connection type for ChatMessage.