Shared
ModelsExpand Collapse
type AppStateSnapshot struct{…}
E2EE AppStateSnapshotE2EEEncrypted messaging setup status.
Encrypted messaging setup status.
State AppStateSnapshotStateCurrent sign-in and encrypted messaging setup state for Beeper Desktop or Beeper Server.
Current sign-in and encrypted messaging setup state for Beeper Desktop or Beeper Server.
Verification AppStateSnapshotVerificationOptionalTrusted device verification progress.
Trusted device verification progress.
AvailableActions []stringVerification actions that are valid for the current state.
Verification actions that are valid for the current state.
OtherDevice AppStateSnapshotVerificationOtherDeviceOptionalOther device participating in verification.
Other device participating in verification.
type Attachment struct{…}
Attachment identifier, typically an mxc:// URL. Use the download file endpoint to get a local file path.
Preview image URL for video attachments (poster frame). May be temporary or available only on this device; download promptly if durable access is needed.
type AttachmentCapabilities struct{…}Capabilities for one attachment message type.
Capabilities for one attachment message type.
type ChatCapabilities struct{…}Chat capabilities reported by the platform.
Chat capabilities reported by the platform.
Allowed Unicode reactions. Omitted means all emoji reactions are allowed.
Supported attachment message types and their per-type constraints, keyed by Matrix msgtype or pseudo-msgtype (for example m.image, m.video, org.matrix.msc3245.voice). Missing message types should be treated as rejected.
Supported attachment message types and their per-type constraints, keyed by Matrix msgtype or pseudo-msgtype (for example m.image, m.video, org.matrix.msc3245.voice). Missing message types should be treated as rejected.
Delete int64Optional-2: rejected, -1: dropped, 0: unsupported, 1: partially supported, 2: fully supported.
-2: rejected, -1: dropped, 0: unsupported, 1: partially supported, 2: fully supported.
DisappearingTimer ChatCapabilitiesDisappearingTimerOptionalDisappearing-message timer capabilities.
Disappearing-message timer capabilities.
Edit int64Optional-2: rejected, -1: dropped, 0: unsupported, 1: partially supported, 2: fully supported.
-2: rejected, -1: dropped, 0: unsupported, 1: partially supported, 2: fully supported.
Formatting map[string, int64]OptionalSupported rich-text formatting features keyed by feature name (for example bold, inline_code, code_block.syntax_highlighting). Omitted means no formatting support is advertised.
Supported rich-text formatting features keyed by feature name (for example bold, inline_code, code_block.syntax_highlighting). Omitted means no formatting support is advertised.
LocationMessage int64Optional-2: rejected, -1: dropped, 0: unsupported, 1: partially supported, 2: fully supported.
-2: rejected, -1: dropped, 0: unsupported, 1: partially supported, 2: fully supported.
MessageRequest ChatCapabilitiesMessageRequestOptionalMessage request capabilities.
Message request capabilities.
AcceptWithButton int64Optional-2: rejected, -1: dropped, 0: unsupported, 1: partially supported, 2: fully supported.
-2: rejected, -1: dropped, 0: unsupported, 1: partially supported, 2: fully supported.
AcceptWithMessage int64Optional-2: rejected, -1: dropped, 0: unsupported, 1: partially supported, 2: fully supported.
-2: rejected, -1: dropped, 0: unsupported, 1: partially supported, 2: fully supported.
ParticipantActions ChatCapabilitiesParticipantActionsOptionalParticipant management capabilities.
Participant management capabilities.
Ban int64Optional-2: rejected, -1: dropped, 0: unsupported, 1: partially supported, 2: fully supported.
-2: rejected, -1: dropped, 0: unsupported, 1: partially supported, 2: fully supported.
Invite int64Optional-2: rejected, -1: dropped, 0: unsupported, 1: partially supported, 2: fully supported.
-2: rejected, -1: dropped, 0: unsupported, 1: partially supported, 2: fully supported.
Kick int64Optional-2: rejected, -1: dropped, 0: unsupported, 1: partially supported, 2: fully supported.
-2: rejected, -1: dropped, 0: unsupported, 1: partially supported, 2: fully supported.
Leave int64Optional-2: rejected, -1: dropped, 0: unsupported, 1: partially supported, 2: fully supported.
-2: rejected, -1: dropped, 0: unsupported, 1: partially supported, 2: fully supported.
RevokeInvite int64Optional-2: rejected, -1: dropped, 0: unsupported, 1: partially supported, 2: fully supported.
-2: rejected, -1: dropped, 0: unsupported, 1: partially supported, 2: fully supported.
Poll int64Optional-2: rejected, -1: dropped, 0: unsupported, 1: partially supported, 2: fully supported.
-2: rejected, -1: dropped, 0: unsupported, 1: partially supported, 2: fully supported.
Reaction int64Optional-2: rejected, -1: dropped, 0: unsupported, 1: partially supported, 2: fully supported.
-2: rejected, -1: dropped, 0: unsupported, 1: partially supported, 2: fully supported.
Reply int64Optional-2: rejected, -1: dropped, 0: unsupported, 1: partially supported, 2: fully supported.
-2: rejected, -1: dropped, 0: unsupported, 1: partially supported, 2: fully supported.
Chat state update capabilities.
Chat state update capabilities.
Avatar ChatStateCapabilitiesAvatarOptionalChat avatar state capability.
Chat avatar state capability.
Description ChatStateCapabilitiesDescriptionOptionalChat description/topic state capability.
Chat description/topic state capability.
DisappearingTimer ChatStateCapabilitiesDisappearingTimerOptionalDisappearing-message timer state capability.
Disappearing-message timer state capability.
Level int64-2: rejected, -1: dropped, 0: unsupported, 1: partially supported, 2: fully supported.
-2: rejected, -1: dropped, 0: unsupported, 1: partially supported, 2: fully supported.
type ChatStateCapabilities struct{…}Chat state update capabilities.
Chat state update capabilities.
Avatar ChatStateCapabilitiesAvatarOptionalChat avatar state capability.
Chat avatar state capability.
Description ChatStateCapabilitiesDescriptionOptionalChat description/topic state capability.
Chat description/topic state capability.
DisappearingTimer ChatStateCapabilitiesDisappearingTimerOptionalDisappearing-message timer state capability.
Disappearing-message timer state capability.
Level int64-2: rejected, -1: dropped, 0: unsupported, 1: partially supported, 2: fully supported.
-2: rejected, -1: dropped, 0: unsupported, 1: partially supported, 2: fully supported.
type LinkPreview struct{…}Link preview included with a message.
Link preview included with a message.
Favicon URL if available. May be temporary or available only on this device; download promptly if durable access is needed.
Preview image URL if available. May be temporary or available only on this device; download promptly if durable access is needed.
type Message struct{…}
Chat ID. Input routes also accept the local chat ID from this installation when available.
Fully qualified sender user ID. Network-backed IDs usually include the network prefix and homeserver.
Attachments included with this message, if any.
Attachments included with this message, if any.
Attachment identifier, typically an mxc:// URL. Use the download file endpoint to get a local file path.
Preview image URL for video attachments (poster frame). May be temporary or available only on this device; download promptly if durable access is needed.
Link previews included with this message, if any.
Link previews included with this message, if any.
Favicon URL if available. May be temporary or available only on this device; download promptly if durable access is needed.
Preview image URL if available. May be temporary or available only on this device; download promptly if durable access is needed.
Mentioned user IDs, @room, or null for legacy messages that require text scanning.
Reactions to the message, if any.
Reactions to the message, if any.
Message send status for this message, when reported by the bridge.
Message send status for this message, when reported by the bridge.
type Reaction struct{…}
type SendStatus struct{…}Message send status for this message, when reported by the bridge.
Message send status for this message, when reported by the bridge.
type User struct{…}User the account belongs to.
User the account belongs to.
True if Beeper cannot initiate messages to this user (e.g., blocked, network restriction, or no DM path). The user may still message you.
Display name as shown in clients (e.g., ‘Alice Example’). May include emojis.
Avatar image URL if available. This may be a remote URL, media URL, data URL, or local file URL depending on the source. May be temporary or available only on this device; download promptly if durable access is needed.