ArchAstro.Types.ChatLoadMoreMessagesResponse (archastro v0.2.0)

Copy Markdown

Response returned after loading an additional page of chat messages. Contains a refreshed chat-room snapshot with the newly-fetched messages merged in.

Summary

Types

t()

@type t() :: %ArchAstro.Types.ChatLoadMoreMessagesResponse{
  data: ArchAstro.Types.ChatRoomModel.t()
}

Functions

from_map(data)

@spec from_map(ArchAstro.JSON.object()) :: t()

matches?(value)

@spec matches?(ArchAstro.JSON.t()) :: boolean()

to_map(value)

@spec to_map(t()) :: ArchAstro.JSON.object()