v1

package
v0.0.0-...-97a6747 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 30, 2020 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JsonAddress

type JsonAddress struct {
	UUID   string `json:"uuid"`
	Number string `json:"number"`
}

JsonAddress is a signal user's contact information. a phone number, UUID or both

type JsonMessageRequestResponseMessage

type JsonMessageRequestResponseMessage struct {
	Person  JsonAddress `json:"person"`
	GroupID string      `json:"groupId"`
	Type    string      `json:"type"`
}

type JsonReaction

type JsonReaction struct {
	Emoji               string      `json:"emoji"`
	Remove              bool        `json:"remove"`
	TargetAuthor        JsonAddress `json:"targetAuthor"`
	TargetSentTimestamp uint64      `json:"targetSentTimestamp"`
}

type JsonReadMessage

type JsonReadMessage struct {
	Sender    JsonAddress `json:"sender"`
	Timestamp uint64      `json:"timestamp"`
}

type JsonSendMessageResult

type JsonSendMessageResult struct {
	Address             JsonAddress `json:"address"`
	Success             Success     `json:"success"`
	NetworkFailure      bool        `json:"networkFailure"`
	UnregisteredFailure bool        `json:"unregisteredFailure"`
	IdentityFailure     string      `json:"identityFailure"`
}

type RequestValidationFailure

type RequestValidationFailure struct {
	ValidationResults []string `json:"validationResults"`
	Type              string   `json:"type"`
	Message           string   `json:"message"`
}

type Success

type Success struct {
	Unidentified bool `json:"unidentified"`
	NeedsSync    bool `json:"needsSync"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL