chat1

package
v1.0.34 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2017 License: BSD-3-Clause, BSD-3-Clause Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const DbShortFormLen = 10

Variables

View Source
var AssetMetadataTypeMap = map[string]AssetMetadataType{
	"NONE":  0,
	"IMAGE": 1,
	"VIDEO": 2,
	"AUDIO": 3,
}
View Source
var AssetMetadataTypeRevMap = map[AssetMetadataType]string{
	0: "NONE",
	1: "IMAGE",
	2: "VIDEO",
	3: "AUDIO",
}
View Source
var AssetTagMap = map[string]AssetTag{
	"PRIMARY": 0,
}
View Source
var AssetTagRevMap = map[AssetTag]string{
	0: "PRIMARY",
}
View Source
var BodyPlaintextVersionMap = map[string]BodyPlaintextVersion{
	"V1":  1,
	"V2":  2,
	"V3":  3,
	"V4":  4,
	"V5":  5,
	"V6":  6,
	"V7":  7,
	"V8":  8,
	"V9":  9,
	"V10": 10,
}
View Source
var BodyPlaintextVersionRevMap = map[BodyPlaintextVersion]string{
	1:  "V1",
	2:  "V2",
	3:  "V3",
	4:  "V4",
	5:  "V5",
	6:  "V6",
	7:  "V7",
	8:  "V8",
	9:  "V9",
	10: "V10",
}
View Source
var ChannelMentionMap = map[string]ChannelMention{
	"NONE": 0,
	"ALL":  1,
	"HERE": 2,
}
View Source
var ChannelMentionRevMap = map[ChannelMention]string{
	0: "NONE",
	1: "ALL",
	2: "HERE",
}
View Source
var ChatActivityTypeMap = map[string]ChatActivityType{
	"RESERVED":                      0,
	"INCOMING_MESSAGE":              1,
	"READ_MESSAGE":                  2,
	"NEW_CONVERSATION":              3,
	"SET_STATUS":                    4,
	"FAILED_MESSAGE":                5,
	"MEMBERS_UPDATE":                6,
	"SET_APP_NOTIFICATION_SETTINGS": 7,
	"TEAMTYPE":                      8,
}
View Source
var ChatActivityTypeRevMap = map[ChatActivityType]string{
	0: "RESERVED",
	1: "INCOMING_MESSAGE",
	2: "READ_MESSAGE",
	3: "NEW_CONVERSATION",
	4: "SET_STATUS",
	5: "FAILED_MESSAGE",
	6: "MEMBERS_UPDATE",
	7: "SET_APP_NOTIFICATION_SETTINGS",
	8: "TEAMTYPE",
}
View Source
var ConversationErrorTypeMap = map[string]ConversationErrorType{
	"PERMANENT":        0,
	"MISSINGINFO":      1,
	"SELFREKEYNEEDED":  2,
	"OTHERREKEYNEEDED": 3,
	"IDENTIFY":         4,
	"TRANSIENT":        5,
	"NONE":             6,
}
View Source
var ConversationErrorTypeRevMap = map[ConversationErrorType]string{
	0: "PERMANENT",
	1: "MISSINGINFO",
	2: "SELFREKEYNEEDED",
	3: "OTHERREKEYNEEDED",
	4: "IDENTIFY",
	5: "TRANSIENT",
	6: "NONE",
}
View Source
var ConversationExistenceMap = map[string]ConversationExistence{
	"ACTIVE":   0,
	"ARCHIVED": 1,
	"DELETED":  2,
}
View Source
var ConversationExistenceRevMap = map[ConversationExistence]string{
	0: "ACTIVE",
	1: "ARCHIVED",
	2: "DELETED",
}
View Source
var ConversationMemberStatusMap = map[string]ConversationMemberStatus{
	"ACTIVE":  0,
	"REMOVED": 1,
	"LEFT":    2,
	"PREVIEW": 3,
	"RESET":   4,
}
View Source
var ConversationMemberStatusRevMap = map[ConversationMemberStatus]string{
	0: "ACTIVE",
	1: "REMOVED",
	2: "LEFT",
	3: "PREVIEW",
	4: "RESET",
}
View Source
var ConversationMembersTypeMap = map[string]ConversationMembersType{
	"KBFS":    0,
	"TEAM":    1,
	"IMPTEAM": 2,
}
View Source
var ConversationMembersTypeRevMap = map[ConversationMembersType]string{
	0: "KBFS",
	1: "TEAM",
	2: "IMPTEAM",
}
View Source
var ConversationStatusGregorMap = map[ConversationStatus]string{
	ConversationStatus_UNFILED:  "unfiled",
	ConversationStatus_FAVORITE: "favorite",
	ConversationStatus_IGNORED:  "ignored",
	ConversationStatus_BLOCKED:  "blocked",
	ConversationStatus_MUTED:    "muted",
	ConversationStatus_REPORTED: "reported",
}
View Source
var ConversationStatusMap = map[string]ConversationStatus{
	"UNFILED":  0,
	"FAVORITE": 1,
	"IGNORED":  2,
	"BLOCKED":  3,
	"MUTED":    4,
	"REPORTED": 5,
}
View Source
var ConversationStatusRevMap = map[ConversationStatus]string{
	0: "UNFILED",
	1: "FAVORITE",
	2: "IGNORED",
	3: "BLOCKED",
	4: "MUTED",
	5: "REPORTED",
}
View Source
var GlobalAppNotificationSettingMap = map[string]GlobalAppNotificationSetting{
	"NEWMESSAGES":      0,
	"PLAINTEXTMOBILE":  1,
	"PLAINTEXTDESKTOP": 2,
}
View Source
var GlobalAppNotificationSettingRevMap = map[GlobalAppNotificationSetting]string{
	0: "NEWMESSAGES",
	1: "PLAINTEXTMOBILE",
	2: "PLAINTEXTDESKTOP",
}
View Source
var HeaderPlaintextVersionMap = map[string]HeaderPlaintextVersion{
	"V1":  1,
	"V2":  2,
	"V3":  3,
	"V4":  4,
	"V5":  5,
	"V6":  6,
	"V7":  7,
	"V8":  8,
	"V9":  9,
	"V10": 10,
}
View Source
var HeaderPlaintextVersionRevMap = map[HeaderPlaintextVersion]string{
	1:  "V1",
	2:  "V2",
	3:  "V3",
	4:  "V4",
	5:  "V5",
	6:  "V6",
	7:  "V7",
	8:  "V8",
	9:  "V9",
	10: "V10",
}
View Source
var InboxResTypeMap = map[string]InboxResType{
	"VERSIONHIT": 0,
	"FULL":       1,
}
View Source
var InboxResTypeRevMap = map[InboxResType]string{
	0: "VERSIONHIT",
	1: "FULL",
}
View Source
var MessageBoxedVersionMap = map[string]MessageBoxedVersion{
	"VNONE": 0,
	"V1":    1,
	"V2":    2,
}
View Source
var MessageBoxedVersionRevMap = map[MessageBoxedVersion]string{
	0: "VNONE",
	1: "V1",
	2: "V2",
}
View Source
var MessageSystemTypeMap = map[string]MessageSystemType{
	"ADDEDTOTEAM":       0,
	"INVITEADDEDTOTEAM": 1,
	"COMPLEXTEAM":       2,
}
View Source
var MessageSystemTypeRevMap = map[MessageSystemType]string{
	0: "ADDEDTOTEAM",
	1: "INVITEADDEDTOTEAM",
	2: "COMPLEXTEAM",
}
View Source
var MessageTypeMap = map[string]MessageType{
	"NONE":               0,
	"TEXT":               1,
	"ATTACHMENT":         2,
	"EDIT":               3,
	"DELETE":             4,
	"METADATA":           5,
	"TLFNAME":            6,
	"HEADLINE":           7,
	"ATTACHMENTUPLOADED": 8,
	"JOIN":               9,
	"LEAVE":              10,
	"SYSTEM":             11,
}
View Source
var MessageTypeRevMap = map[MessageType]string{
	0:  "NONE",
	1:  "TEXT",
	2:  "ATTACHMENT",
	3:  "EDIT",
	4:  "DELETE",
	5:  "METADATA",
	6:  "TLFNAME",
	7:  "HEADLINE",
	8:  "ATTACHMENTUPLOADED",
	9:  "JOIN",
	10: "LEAVE",
	11: "SYSTEM",
}
View Source
var MessageUnboxedErrorTypeMap = map[string]MessageUnboxedErrorType{
	"MISC":                0,
	"BADVERSION_CRITICAL": 1,
	"BADVERSION":          2,
	"IDENTIFY":            3,
}
View Source
var MessageUnboxedErrorTypeRevMap = map[MessageUnboxedErrorType]string{
	0: "MISC",
	1: "BADVERSION_CRITICAL",
	2: "BADVERSION",
	3: "IDENTIFY",
}
View Source
var MessageUnboxedStateMap = map[string]MessageUnboxedState{
	"VALID":       1,
	"ERROR":       2,
	"OUTBOX":      3,
	"PLACEHOLDER": 4,
}
View Source
var MessageUnboxedStateRevMap = map[MessageUnboxedState]string{
	1: "VALID",
	2: "ERROR",
	3: "OUTBOX",
	4: "PLACEHOLDER",
}
View Source
var NotificationKindMap = map[string]NotificationKind{
	"GENERIC":   0,
	"ATMENTION": 1,
}
View Source
var NotificationKindRevMap = map[NotificationKind]string{
	0: "GENERIC",
	1: "ATMENTION",
}
View Source
var OutboxErrorTypeMap = map[string]OutboxErrorType{
	"MISC":      0,
	"OFFLINE":   1,
	"IDENTIFY":  2,
	"TOOLONG":   3,
	"DUPLICATE": 4,
}
View Source
var OutboxErrorTypeRevMap = map[OutboxErrorType]string{
	0: "MISC",
	1: "OFFLINE",
	2: "IDENTIFY",
	3: "TOOLONG",
	4: "DUPLICATE",
}
View Source
var OutboxStateTypeMap = map[string]OutboxStateType{
	"SENDING": 0,
	"ERROR":   1,
}
View Source
var OutboxStateTypeRevMap = map[OutboxStateType]string{
	0: "SENDING",
	1: "ERROR",
}
View Source
var StaleUpdateTypeMap = map[string]StaleUpdateType{
	"CLEAR":       0,
	"NEWACTIVITY": 1,
}
View Source
var StaleUpdateTypeRevMap = map[StaleUpdateType]string{
	0: "CLEAR",
	1: "NEWACTIVITY",
}
View Source
var SyncAllNotificationTypeMap = map[string]SyncAllNotificationType{
	"STATE":       0,
	"INCREMENTAL": 1,
}
View Source
var SyncAllNotificationTypeRevMap = map[SyncAllNotificationType]string{
	0: "STATE",
	1: "INCREMENTAL",
}
View Source
var SyncAllProtVersMap = map[string]SyncAllProtVers{
	"V0": 0,
	"V1": 1,
}
View Source
var SyncAllProtVersRevMap = map[SyncAllProtVers]string{
	0: "V0",
	1: "V1",
}
View Source
var SyncInboxResTypeMap = map[string]SyncInboxResType{
	"CURRENT":     0,
	"INCREMENTAL": 1,
	"CLEAR":       2,
}
View Source
var SyncInboxResTypeRevMap = map[SyncInboxResType]string{
	0: "CURRENT",
	1: "INCREMENTAL",
	2: "CLEAR",
}
View Source
var TeamTypeMap = map[string]TeamType{
	"NONE":    0,
	"SIMPLE":  1,
	"COMPLEX": 2,
}
View Source
var TeamTypeRevMap = map[TeamType]string{
	0: "NONE",
	1: "SIMPLE",
	2: "COMPLEX",
}
View Source
var TopicTypeMap = map[string]TopicType{
	"NONE": 0,
	"CHAT": 1,
	"DEV":  2,
}
View Source
var TopicTypeRevMap = map[TopicType]string{
	0: "NONE",
	1: "CHAT",
	2: "DEV",
}

Functions

func ChatUiProtocol

func ChatUiProtocol(i ChatUiInterface) rpc.Protocol

func CommonProtocol

func CommonProtocol(i CommonInterface) rpc.Protocol

func ExpandTLFName

func ExpandTLFName(name string, finalizeInfo *ConversationFinalizeInfo) string

ExpandTLFName returns a TLF name with a reset suffix if it exists. This version can be used in requests to lookup the TLF.

func GregorProtocol

func GregorProtocol(i GregorInterface) rpc.Protocol

func LocalProtocol

func LocalProtocol(i LocalInterface) rpc.Protocol

func NotifyChatProtocol

func NotifyChatProtocol(i NotifyChatInterface) rpc.Protocol

func RemoteProtocol

func RemoteProtocol(i RemoteInterface) rpc.Protocol

Types

type AppNotificationSettingLocal

type AppNotificationSettingLocal struct {
	DeviceType keybase1.DeviceType `codec:"deviceType" json:"deviceType"`
	Kind       NotificationKind    `codec:"kind" json:"kind"`
	Enabled    bool                `codec:"enabled" json:"enabled"`
}

func (AppNotificationSettingLocal) DeepCopy

type Asset

type Asset struct {
	Filename  string        `codec:"filename" json:"filename"`
	Region    string        `codec:"region" json:"region"`
	Endpoint  string        `codec:"endpoint" json:"endpoint"`
	Bucket    string        `codec:"bucket" json:"bucket"`
	Path      string        `codec:"path" json:"path"`
	Size      int64         `codec:"size" json:"size"`
	MimeType  string        `codec:"mimeType" json:"mimeType"`
	EncHash   Hash          `codec:"encHash" json:"encHash"`
	Key       []byte        `codec:"key" json:"key"`
	VerifyKey []byte        `codec:"verifyKey" json:"verifyKey"`
	Title     string        `codec:"title" json:"title"`
	Nonce     []byte        `codec:"nonce" json:"nonce"`
	Metadata  AssetMetadata `codec:"metadata" json:"metadata"`
	Tag       AssetTag      `codec:"tag" json:"tag"`
}

func (Asset) DeepCopy

func (o Asset) DeepCopy() Asset

type AssetMetadata

type AssetMetadata struct {
	AssetType__ AssetMetadataType   `codec:"assetType" json:"assetType"`
	Image__     *AssetMetadataImage `codec:"image,omitempty" json:"image,omitempty"`
	Video__     *AssetMetadataVideo `codec:"video,omitempty" json:"video,omitempty"`
	Audio__     *AssetMetadataAudio `codec:"audio,omitempty" json:"audio,omitempty"`
}

func NewAssetMetadataWithAudio

func NewAssetMetadataWithAudio(v AssetMetadataAudio) AssetMetadata

func NewAssetMetadataWithImage

func NewAssetMetadataWithImage(v AssetMetadataImage) AssetMetadata

func NewAssetMetadataWithVideo

func NewAssetMetadataWithVideo(v AssetMetadataVideo) AssetMetadata

func (*AssetMetadata) AssetType

func (o *AssetMetadata) AssetType() (ret AssetMetadataType, err error)

func (AssetMetadata) Audio

func (o AssetMetadata) Audio() (res AssetMetadataAudio)

func (AssetMetadata) DeepCopy

func (o AssetMetadata) DeepCopy() AssetMetadata

func (AssetMetadata) Image

func (o AssetMetadata) Image() (res AssetMetadataImage)

func (AssetMetadata) Video

func (o AssetMetadata) Video() (res AssetMetadataVideo)

type AssetMetadataAudio

type AssetMetadataAudio struct {
	DurationMs int `codec:"durationMs" json:"durationMs"`
}

func (AssetMetadataAudio) DeepCopy

type AssetMetadataImage

type AssetMetadataImage struct {
	Width  int `codec:"width" json:"width"`
	Height int `codec:"height" json:"height"`
}

func (AssetMetadataImage) DeepCopy

type AssetMetadataType

type AssetMetadataType int
const (
	AssetMetadataType_NONE  AssetMetadataType = 0
	AssetMetadataType_IMAGE AssetMetadataType = 1
	AssetMetadataType_VIDEO AssetMetadataType = 2
	AssetMetadataType_AUDIO AssetMetadataType = 3
)

func (AssetMetadataType) DeepCopy

func (o AssetMetadataType) DeepCopy() AssetMetadataType

type AssetMetadataVideo

type AssetMetadataVideo struct {
	Width      int `codec:"width" json:"width"`
	Height     int `codec:"height" json:"height"`
	DurationMs int `codec:"durationMs" json:"durationMs"`
}

func (AssetMetadataVideo) DeepCopy

type AssetTag

type AssetTag int
const (
	AssetTag_PRIMARY AssetTag = 0
)

func (AssetTag) DeepCopy

func (o AssetTag) DeepCopy() AssetTag

type BodyPlaintext

type BodyPlaintext struct {
	Version__ BodyPlaintextVersion      `codec:"version" json:"version"`
	V1__      *BodyPlaintextV1          `codec:"v1,omitempty" json:"v1,omitempty"`
	V2__      *BodyPlaintextUnsupported `codec:"v2,omitempty" json:"v2,omitempty"`
	V3__      *BodyPlaintextUnsupported `codec:"v3,omitempty" json:"v3,omitempty"`
	V4__      *BodyPlaintextUnsupported `codec:"v4,omitempty" json:"v4,omitempty"`
	V5__      *BodyPlaintextUnsupported `codec:"v5,omitempty" json:"v5,omitempty"`
	V6__      *BodyPlaintextUnsupported `codec:"v6,omitempty" json:"v6,omitempty"`
	V7__      *BodyPlaintextUnsupported `codec:"v7,omitempty" json:"v7,omitempty"`
	V8__      *BodyPlaintextUnsupported `codec:"v8,omitempty" json:"v8,omitempty"`
	V9__      *BodyPlaintextUnsupported `codec:"v9,omitempty" json:"v9,omitempty"`
	V10__     *BodyPlaintextUnsupported `codec:"v10,omitempty" json:"v10,omitempty"`
}

func NewBodyPlaintextWithV1

func NewBodyPlaintextWithV1(v BodyPlaintextV1) BodyPlaintext

func NewBodyPlaintextWithV2

func NewBodyPlaintextWithV2(v BodyPlaintextUnsupported) BodyPlaintext

func NewBodyPlaintextWithV3

func NewBodyPlaintextWithV3(v BodyPlaintextUnsupported) BodyPlaintext

func NewBodyPlaintextWithV4

func NewBodyPlaintextWithV4(v BodyPlaintextUnsupported) BodyPlaintext

func NewBodyPlaintextWithV5

func NewBodyPlaintextWithV5(v BodyPlaintextUnsupported) BodyPlaintext

func NewBodyPlaintextWithV6

func NewBodyPlaintextWithV6(v BodyPlaintextUnsupported) BodyPlaintext

func NewBodyPlaintextWithV7

func NewBodyPlaintextWithV7(v BodyPlaintextUnsupported) BodyPlaintext

func NewBodyPlaintextWithV8

func NewBodyPlaintextWithV8(v BodyPlaintextUnsupported) BodyPlaintext

func NewBodyPlaintextWithV9

func NewBodyPlaintextWithV9(v BodyPlaintextUnsupported) BodyPlaintext

func NewBodyPlaintextWithV10

func NewBodyPlaintextWithV10(v BodyPlaintextUnsupported) BodyPlaintext

func (BodyPlaintext) DeepCopy

func (o BodyPlaintext) DeepCopy() BodyPlaintext

func (BodyPlaintext) V1

func (o BodyPlaintext) V1() (res BodyPlaintextV1)

func (BodyPlaintext) V2

func (BodyPlaintext) V3

func (BodyPlaintext) V4

func (BodyPlaintext) V5

func (BodyPlaintext) V6

func (BodyPlaintext) V7

func (BodyPlaintext) V8

func (BodyPlaintext) V9

func (BodyPlaintext) V10

func (*BodyPlaintext) Version

func (o *BodyPlaintext) Version() (ret BodyPlaintextVersion, err error)

type BodyPlaintextMetaInfo

type BodyPlaintextMetaInfo struct {
	Crit bool `codec:"crit" json:"crit"`
}

func (BodyPlaintextMetaInfo) DeepCopy

type BodyPlaintextUnsupported

type BodyPlaintextUnsupported struct {
	Mi BodyPlaintextMetaInfo `codec:"mi" json:"mi"`
}

func (BodyPlaintextUnsupported) DeepCopy

type BodyPlaintextV1

type BodyPlaintextV1 struct {
	MessageBody MessageBody `codec:"messageBody" json:"messageBody"`
}

func (BodyPlaintextV1) DeepCopy

func (o BodyPlaintextV1) DeepCopy() BodyPlaintextV1

type BodyPlaintextVersion

type BodyPlaintextVersion int
const (
	BodyPlaintextVersion_V1  BodyPlaintextVersion = 1
	BodyPlaintextVersion_V2  BodyPlaintextVersion = 2
	BodyPlaintextVersion_V3  BodyPlaintextVersion = 3
	BodyPlaintextVersion_V4  BodyPlaintextVersion = 4
	BodyPlaintextVersion_V5  BodyPlaintextVersion = 5
	BodyPlaintextVersion_V6  BodyPlaintextVersion = 6
	BodyPlaintextVersion_V7  BodyPlaintextVersion = 7
	BodyPlaintextVersion_V8  BodyPlaintextVersion = 8
	BodyPlaintextVersion_V9  BodyPlaintextVersion = 9
	BodyPlaintextVersion_V10 BodyPlaintextVersion = 10
)

func (BodyPlaintextVersion) DeepCopy

func (BodyPlaintextVersion) String

func (e BodyPlaintextVersion) String() string

type ByUID

type ByUID []gregor1.UID

func (ByUID) Len

func (b ByUID) Len() int

func (ByUID) Less

func (b ByUID) Less(i, j int) bool

func (ByUID) Swap

func (b ByUID) Swap(i, j int)

type CancelPostArg

type CancelPostArg struct {
	OutboxID OutboxID `codec:"outboxID" json:"outboxID"`
}

type ChannelMention

type ChannelMention int
const (
	ChannelMention_NONE ChannelMention = 0
	ChannelMention_ALL  ChannelMention = 1
	ChannelMention_HERE ChannelMention = 2
)

func (ChannelMention) DeepCopy

func (o ChannelMention) DeepCopy() ChannelMention

func (ChannelMention) String

func (e ChannelMention) String() string

type ChatActivity

type ChatActivity struct {
	ActivityType__               ChatActivityType                `codec:"activityType" json:"activityType"`
	IncomingMessage__            *IncomingMessage                `codec:"incomingMessage,omitempty" json:"incomingMessage,omitempty"`
	ReadMessage__                *ReadMessageInfo                `codec:"readMessage,omitempty" json:"readMessage,omitempty"`
	NewConversation__            *NewConversationInfo            `codec:"newConversation,omitempty" json:"newConversation,omitempty"`
	SetStatus__                  *SetStatusInfo                  `codec:"setStatus,omitempty" json:"setStatus,omitempty"`
	FailedMessage__              *FailedMessageInfo              `codec:"failedMessage,omitempty" json:"failedMessage,omitempty"`
	MembersUpdate__              *MembersUpdateInfo              `codec:"membersUpdate,omitempty" json:"membersUpdate,omitempty"`
	SetAppNotificationSettings__ *SetAppNotificationSettingsInfo `codec:"setAppNotificationSettings,omitempty" json:"setAppNotificationSettings,omitempty"`
	Teamtype__                   *TeamTypeInfo                   `codec:"teamtype,omitempty" json:"teamtype,omitempty"`
}

func NewChatActivityWithFailedMessage

func NewChatActivityWithFailedMessage(v FailedMessageInfo) ChatActivity

func NewChatActivityWithIncomingMessage

func NewChatActivityWithIncomingMessage(v IncomingMessage) ChatActivity

func NewChatActivityWithMembersUpdate

func NewChatActivityWithMembersUpdate(v MembersUpdateInfo) ChatActivity

func NewChatActivityWithNewConversation

func NewChatActivityWithNewConversation(v NewConversationInfo) ChatActivity

func NewChatActivityWithReadMessage

func NewChatActivityWithReadMessage(v ReadMessageInfo) ChatActivity

func NewChatActivityWithSetAppNotificationSettings

func NewChatActivityWithSetAppNotificationSettings(v SetAppNotificationSettingsInfo) ChatActivity

func NewChatActivityWithSetStatus

func NewChatActivityWithSetStatus(v SetStatusInfo) ChatActivity

func NewChatActivityWithTeamtype

func NewChatActivityWithTeamtype(v TeamTypeInfo) ChatActivity

func (*ChatActivity) ActivityType

func (o *ChatActivity) ActivityType() (ret ChatActivityType, err error)

func (ChatActivity) DeepCopy

func (o ChatActivity) DeepCopy() ChatActivity

func (ChatActivity) FailedMessage

func (o ChatActivity) FailedMessage() (res FailedMessageInfo)

func (ChatActivity) IncomingMessage

func (o ChatActivity) IncomingMessage() (res IncomingMessage)

func (ChatActivity) MembersUpdate

func (o ChatActivity) MembersUpdate() (res MembersUpdateInfo)

func (ChatActivity) NewConversation

func (o ChatActivity) NewConversation() (res NewConversationInfo)

func (ChatActivity) ReadMessage

func (o ChatActivity) ReadMessage() (res ReadMessageInfo)

func (ChatActivity) SetAppNotificationSettings

func (o ChatActivity) SetAppNotificationSettings() (res SetAppNotificationSettingsInfo)

func (ChatActivity) SetStatus

func (o ChatActivity) SetStatus() (res SetStatusInfo)

func (ChatActivity) Teamtype

func (o ChatActivity) Teamtype() (res TeamTypeInfo)

type ChatActivityType

type ChatActivityType int
const (
	ChatActivityType_RESERVED                      ChatActivityType = 0
	ChatActivityType_INCOMING_MESSAGE              ChatActivityType = 1
	ChatActivityType_READ_MESSAGE                  ChatActivityType = 2
	ChatActivityType_NEW_CONVERSATION              ChatActivityType = 3
	ChatActivityType_SET_STATUS                    ChatActivityType = 4
	ChatActivityType_FAILED_MESSAGE                ChatActivityType = 5
	ChatActivityType_MEMBERS_UPDATE                ChatActivityType = 6
	ChatActivityType_SET_APP_NOTIFICATION_SETTINGS ChatActivityType = 7
	ChatActivityType_TEAMTYPE                      ChatActivityType = 8
)

func (ChatActivityType) DeepCopy

func (o ChatActivityType) DeepCopy() ChatActivityType

func (ChatActivityType) String

func (e ChatActivityType) String() string

type ChatAttachmentDownloadDoneArg

type ChatAttachmentDownloadDoneArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type ChatAttachmentDownloadProgressArg

type ChatAttachmentDownloadProgressArg struct {
	SessionID     int   `codec:"sessionID" json:"sessionID"`
	BytesComplete int64 `codec:"bytesComplete" json:"bytesComplete"`
	BytesTotal    int64 `codec:"bytesTotal" json:"bytesTotal"`
}

type ChatAttachmentDownloadStartArg

type ChatAttachmentDownloadStartArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type ChatAttachmentPreviewUploadDoneArg

type ChatAttachmentPreviewUploadDoneArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type ChatAttachmentPreviewUploadStartArg

type ChatAttachmentPreviewUploadStartArg struct {
	SessionID int           `codec:"sessionID" json:"sessionID"`
	Metadata  AssetMetadata `codec:"metadata" json:"metadata"`
}

type ChatAttachmentUploadDoneArg

type ChatAttachmentUploadDoneArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type ChatAttachmentUploadOutboxIDArg

type ChatAttachmentUploadOutboxIDArg struct {
	SessionID int      `codec:"sessionID" json:"sessionID"`
	OutboxID  OutboxID `codec:"outboxID" json:"outboxID"`
}

type ChatAttachmentUploadProgressArg

type ChatAttachmentUploadProgressArg struct {
	SessionID     int   `codec:"sessionID" json:"sessionID"`
	BytesComplete int64 `codec:"bytesComplete" json:"bytesComplete"`
	BytesTotal    int64 `codec:"bytesTotal" json:"bytesTotal"`
}

type ChatAttachmentUploadStartArg

type ChatAttachmentUploadStartArg struct {
	SessionID        int           `codec:"sessionID" json:"sessionID"`
	Metadata         AssetMetadata `codec:"metadata" json:"metadata"`
	PlaceholderMsgID MessageID     `codec:"placeholderMsgID" json:"placeholderMsgID"`
}

type ChatConfirmChannelDeleteArg

type ChatConfirmChannelDeleteArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Channel   string `codec:"channel" json:"channel"`
}

type ChatIdentifyUpdateArg

type ChatIdentifyUpdateArg struct {
	Update keybase1.CanonicalTLFNameAndIDWithBreaks `codec:"update" json:"update"`
}

type ChatInboxConversationArg

type ChatInboxConversationArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Conv      string `codec:"conv" json:"conv"`
}

type ChatInboxFailedArg

type ChatInboxFailedArg struct {
	SessionID int                    `codec:"sessionID" json:"sessionID"`
	ConvID    ConversationID         `codec:"convID" json:"convID"`
	Error     ConversationErrorLocal `codec:"error" json:"error"`
}

type ChatInboxStaleArg

type ChatInboxStaleArg struct {
	Uid keybase1.UID `codec:"uid" json:"uid"`
}

type ChatInboxSyncStartedArg

type ChatInboxSyncStartedArg struct {
	Uid keybase1.UID `codec:"uid" json:"uid"`
}

type ChatInboxSyncedArg

type ChatInboxSyncedArg struct {
	Uid     keybase1.UID   `codec:"uid" json:"uid"`
	SyncRes ChatSyncResult `codec:"syncRes" json:"syncRes"`
}

type ChatInboxUnverifiedArg

type ChatInboxUnverifiedArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Inbox     string `codec:"inbox" json:"inbox"`
}

type ChatJoinedConversationArg

type ChatJoinedConversationArg struct {
	Uid  keybase1.UID `codec:"uid" json:"uid"`
	Conv InboxUIItem  `codec:"conv" json:"conv"`
}

type ChatLeftConversationArg

type ChatLeftConversationArg struct {
	Uid    keybase1.UID   `codec:"uid" json:"uid"`
	ConvID ConversationID `codec:"convID" json:"convID"`
}

type ChatResetConversationArg

type ChatResetConversationArg struct {
	Uid    keybase1.UID   `codec:"uid" json:"uid"`
	ConvID ConversationID `codec:"convID" json:"convID"`
}

type ChatSyncIncrementalInfo

type ChatSyncIncrementalInfo struct {
	Items []UnverifiedInboxUIItem `codec:"items" json:"items"`
}

func (ChatSyncIncrementalInfo) DeepCopy

type ChatSyncResult

type ChatSyncResult struct {
	SyncType__    SyncInboxResType         `codec:"syncType" json:"syncType"`
	Incremental__ *ChatSyncIncrementalInfo `codec:"incremental,omitempty" json:"incremental,omitempty"`
}

func NewChatSyncResultWithClear

func NewChatSyncResultWithClear() ChatSyncResult

func NewChatSyncResultWithCurrent

func NewChatSyncResultWithCurrent() ChatSyncResult

func NewChatSyncResultWithIncremental

func NewChatSyncResultWithIncremental(v ChatSyncIncrementalInfo) ChatSyncResult

func (ChatSyncResult) DeepCopy

func (o ChatSyncResult) DeepCopy() ChatSyncResult

func (ChatSyncResult) Incremental

func (o ChatSyncResult) Incremental() (res ChatSyncIncrementalInfo)

func (*ChatSyncResult) SyncType

func (o *ChatSyncResult) SyncType() (ret SyncInboxResType, err error)

type ChatTLFFinalizeArg

type ChatTLFFinalizeArg struct {
	Uid          keybase1.UID             `codec:"uid" json:"uid"`
	ConvID       ConversationID           `codec:"convID" json:"convID"`
	FinalizeInfo ConversationFinalizeInfo `codec:"finalizeInfo" json:"finalizeInfo"`
	Conv         *InboxUIItem             `codec:"conv,omitempty" json:"conv,omitempty"`
}

type ChatTLFResolveArg

type ChatTLFResolveArg struct {
	Uid         keybase1.UID            `codec:"uid" json:"uid"`
	ConvID      ConversationID          `codec:"convID" json:"convID"`
	ResolveInfo ConversationResolveInfo `codec:"resolveInfo" json:"resolveInfo"`
}

type ChatThreadCachedArg

type ChatThreadCachedArg struct {
	SessionID int     `codec:"sessionID" json:"sessionID"`
	Thread    *string `codec:"thread,omitempty" json:"thread,omitempty"`
}

type ChatThreadFullArg

type ChatThreadFullArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Thread    string `codec:"thread" json:"thread"`
}

type ChatThreadsStaleArg

type ChatThreadsStaleArg struct {
	Uid     keybase1.UID              `codec:"uid" json:"uid"`
	Updates []ConversationStaleUpdate `codec:"updates" json:"updates"`
}

type ChatTypingUpdateArg

type ChatTypingUpdateArg struct {
	TypingUpdates []ConvTypingUpdate `codec:"typingUpdates" json:"typingUpdates"`
}

type ChatUiClient

type ChatUiClient struct {
	Cli rpc.GenericClient
}

func (ChatUiClient) ChatAttachmentDownloadDone

func (c ChatUiClient) ChatAttachmentDownloadDone(ctx context.Context, sessionID int) (err error)

func (ChatUiClient) ChatAttachmentDownloadProgress

func (c ChatUiClient) ChatAttachmentDownloadProgress(ctx context.Context, __arg ChatAttachmentDownloadProgressArg) (err error)

func (ChatUiClient) ChatAttachmentDownloadStart

func (c ChatUiClient) ChatAttachmentDownloadStart(ctx context.Context, sessionID int) (err error)

func (ChatUiClient) ChatAttachmentPreviewUploadDone

func (c ChatUiClient) ChatAttachmentPreviewUploadDone(ctx context.Context, sessionID int) (err error)

func (ChatUiClient) ChatAttachmentPreviewUploadStart

func (c ChatUiClient) ChatAttachmentPreviewUploadStart(ctx context.Context, __arg ChatAttachmentPreviewUploadStartArg) (err error)

func (ChatUiClient) ChatAttachmentUploadDone

func (c ChatUiClient) ChatAttachmentUploadDone(ctx context.Context, sessionID int) (err error)

func (ChatUiClient) ChatAttachmentUploadOutboxID

func (c ChatUiClient) ChatAttachmentUploadOutboxID(ctx context.Context, __arg ChatAttachmentUploadOutboxIDArg) (err error)

func (ChatUiClient) ChatAttachmentUploadProgress

func (c ChatUiClient) ChatAttachmentUploadProgress(ctx context.Context, __arg ChatAttachmentUploadProgressArg) (err error)

func (ChatUiClient) ChatAttachmentUploadStart

func (c ChatUiClient) ChatAttachmentUploadStart(ctx context.Context, __arg ChatAttachmentUploadStartArg) (err error)

func (ChatUiClient) ChatConfirmChannelDelete

func (c ChatUiClient) ChatConfirmChannelDelete(ctx context.Context, __arg ChatConfirmChannelDeleteArg) (res bool, err error)

func (ChatUiClient) ChatInboxConversation

func (c ChatUiClient) ChatInboxConversation(ctx context.Context, __arg ChatInboxConversationArg) (err error)

func (ChatUiClient) ChatInboxFailed

func (c ChatUiClient) ChatInboxFailed(ctx context.Context, __arg ChatInboxFailedArg) (err error)

func (ChatUiClient) ChatInboxUnverified

func (c ChatUiClient) ChatInboxUnverified(ctx context.Context, __arg ChatInboxUnverifiedArg) (err error)

func (ChatUiClient) ChatThreadCached

func (c ChatUiClient) ChatThreadCached(ctx context.Context, __arg ChatThreadCachedArg) (err error)

func (ChatUiClient) ChatThreadFull

func (c ChatUiClient) ChatThreadFull(ctx context.Context, __arg ChatThreadFullArg) (err error)

type ChatUiInterface

type ChatUiInterface interface {
	ChatAttachmentUploadOutboxID(context.Context, ChatAttachmentUploadOutboxIDArg) error
	ChatAttachmentUploadStart(context.Context, ChatAttachmentUploadStartArg) error
	ChatAttachmentUploadProgress(context.Context, ChatAttachmentUploadProgressArg) error
	ChatAttachmentUploadDone(context.Context, int) error
	ChatAttachmentPreviewUploadStart(context.Context, ChatAttachmentPreviewUploadStartArg) error
	ChatAttachmentPreviewUploadDone(context.Context, int) error
	ChatAttachmentDownloadStart(context.Context, int) error
	ChatAttachmentDownloadProgress(context.Context, ChatAttachmentDownloadProgressArg) error
	ChatAttachmentDownloadDone(context.Context, int) error
	ChatInboxUnverified(context.Context, ChatInboxUnverifiedArg) error
	ChatInboxConversation(context.Context, ChatInboxConversationArg) error
	ChatInboxFailed(context.Context, ChatInboxFailedArg) error
	ChatThreadCached(context.Context, ChatThreadCachedArg) error
	ChatThreadFull(context.Context, ChatThreadFullArg) error
	ChatConfirmChannelDelete(context.Context, ChatConfirmChannelDeleteArg) (bool, error)
}

type CommonClient

type CommonClient struct {
	Cli rpc.GenericClient
}

type CommonInterface

type CommonInterface interface {
}

type ConvTypingUpdate

type ConvTypingUpdate struct {
	ConvID ConversationID `codec:"convID" json:"convID"`
	Typers []TyperInfo    `codec:"typers" json:"typers"`
}

func (ConvTypingUpdate) DeepCopy

func (o ConvTypingUpdate) DeepCopy() ConvTypingUpdate

type Conversation

type Conversation struct {
	Metadata        ConversationMetadata          `codec:"metadata" json:"metadata"`
	ReaderInfo      *ConversationReaderInfo       `codec:"readerInfo,omitempty" json:"readerInfo,omitempty"`
	Notifications   *ConversationNotificationInfo `codec:"notifications,omitempty" json:"notifications,omitempty"`
	MaxMsgs         []MessageBoxed                `codec:"maxMsgs" json:"maxMsgs"`
	MaxMsgSummaries []MessageSummary              `codec:"maxMsgSummaries" json:"maxMsgSummaries"`
	CreatorInfo     *ConversationCreatorInfo      `codec:"creatorInfo,omitempty" json:"creatorInfo,omitempty"`
}

func (Conversation) DeepCopy

func (o Conversation) DeepCopy() Conversation

func (Conversation) GetConvID

func (c Conversation) GetConvID() ConversationID

func (Conversation) GetFinalizeInfo

func (c Conversation) GetFinalizeInfo() *ConversationFinalizeInfo

func (Conversation) GetMaxMessage

func (c Conversation) GetMaxMessage(typ MessageType) (MessageSummary, error)

func (Conversation) GetMembersType

func (c Conversation) GetMembersType() ConversationMembersType

func (Conversation) GetMtime

func (c Conversation) GetMtime() gregor1.Time

func (Conversation) GetTopicType

func (c Conversation) GetTopicType() TopicType

func (Conversation) Includes

func (c Conversation) Includes(uid gregor1.UID) bool

type ConversationCreatorInfo

type ConversationCreatorInfo struct {
	Ctime gregor1.Time `codec:"ctime" json:"ctime"`
	Uid   gregor1.UID  `codec:"uid" json:"uid"`
}

func (ConversationCreatorInfo) DeepCopy

type ConversationCreatorInfoLocal

type ConversationCreatorInfoLocal struct {
	Ctime    gregor1.Time `codec:"ctime" json:"ctime"`
	Username string       `codec:"username" json:"username"`
}

func (ConversationCreatorInfoLocal) DeepCopy

type ConversationErrorLocal

type ConversationErrorLocal struct {
	Typ               ConversationErrorType   `codec:"typ" json:"typ"`
	Message           string                  `codec:"message" json:"message"`
	RemoteConv        Conversation            `codec:"remoteConv" json:"remoteConv"`
	UnverifiedTLFName string                  `codec:"unverifiedTLFName" json:"unverifiedTLFName"`
	RekeyInfo         *ConversationErrorRekey `codec:"rekeyInfo,omitempty" json:"rekeyInfo,omitempty"`
}

func NewConversationErrorLocal

func NewConversationErrorLocal(
	message string,
	remoteConv Conversation,
	unverifiedTLFName string,
	typ ConversationErrorType,
	rekeyInfo *ConversationErrorRekey,
) *ConversationErrorLocal

func (ConversationErrorLocal) DeepCopy

type ConversationErrorRekey

type ConversationErrorRekey struct {
	TlfName     string   `codec:"tlfName" json:"tlfName"`
	TlfPublic   bool     `codec:"tlfPublic" json:"tlfPublic"`
	Rekeyers    []string `codec:"rekeyers" json:"rekeyers"`
	WriterNames []string `codec:"writerNames" json:"writerNames"`
	ReaderNames []string `codec:"readerNames" json:"readerNames"`
}

func (ConversationErrorRekey) DeepCopy

type ConversationErrorType

type ConversationErrorType int
const (
	ConversationErrorType_PERMANENT        ConversationErrorType = 0
	ConversationErrorType_MISSINGINFO      ConversationErrorType = 1
	ConversationErrorType_SELFREKEYNEEDED  ConversationErrorType = 2
	ConversationErrorType_OTHERREKEYNEEDED ConversationErrorType = 3
	ConversationErrorType_IDENTIFY         ConversationErrorType = 4
	ConversationErrorType_TRANSIENT        ConversationErrorType = 5
	ConversationErrorType_NONE             ConversationErrorType = 6
)

func (ConversationErrorType) DeepCopy

func (ConversationErrorType) String

func (e ConversationErrorType) String() string

type ConversationExistence

type ConversationExistence int
const (
	ConversationExistence_ACTIVE   ConversationExistence = 0
	ConversationExistence_ARCHIVED ConversationExistence = 1
	ConversationExistence_DELETED  ConversationExistence = 2
)

func AllConversationExistences

func AllConversationExistences() (res []ConversationExistence)

func (ConversationExistence) DeepCopy

func (ConversationExistence) String

func (e ConversationExistence) String() string

type ConversationFinalizeInfo

type ConversationFinalizeInfo struct {
	ResetUser      string       `codec:"resetUser" json:"resetUser"`
	ResetDate      string       `codec:"resetDate" json:"resetDate"`
	ResetFull      string       `codec:"resetFull" json:"resetFull"`
	ResetTimestamp gregor1.Time `codec:"resetTimestamp" json:"resetTimestamp"`
}

func (*ConversationFinalizeInfo) BeforeSummary

func (f *ConversationFinalizeInfo) BeforeSummary() string

BeforeSummary returns a summary of the finalize without "files" in it. The canonical name for a TLF after reset has a "(files before ... account reset...)" suffix which doesn't make much sense in other uses (like chat).

func (ConversationFinalizeInfo) DeepCopy

type ConversationID

type ConversationID []byte

func MakeConvID

func MakeConvID(val string) (ConversationID, error)

func (ConversationID) DbShortForm

func (cid ConversationID) DbShortForm() []byte

DbShortForm should only be used when interacting with the database, and should never leave Gregor

func (ConversationID) DeepCopy

func (o ConversationID) DeepCopy() ConversationID

func (ConversationID) Eq

func (ConversationID) IsNil

func (cid ConversationID) IsNil() bool

func (ConversationID) Less

func (cid ConversationID) Less(c ConversationID) bool

func (ConversationID) String

func (cid ConversationID) String() string

type ConversationIDMessageIDPair

type ConversationIDMessageIDPair struct {
	ConvID ConversationID `codec:"convID" json:"convID"`
	MsgID  MessageID      `codec:"msgID" json:"msgID"`
}

func (ConversationIDMessageIDPair) DeepCopy

type ConversationIDMessageIDPairs

type ConversationIDMessageIDPairs struct {
	Pairs []ConversationIDMessageIDPair `codec:"pairs" json:"pairs"`
}

func (ConversationIDMessageIDPairs) Contains

func (ConversationIDMessageIDPairs) DeepCopy

type ConversationIDTriple

type ConversationIDTriple struct {
	Tlfid     TLFID     `codec:"tlfid" json:"tlfid"`
	TopicType TopicType `codec:"topicType" json:"topicType"`
	TopicID   TopicID   `codec:"topicID" json:"topicID"`
}

func (ConversationIDTriple) DeepCopy

func (ConversationIDTriple) Derivable

func (t ConversationIDTriple) Derivable(cid ConversationID) bool

func (ConversationIDTriple) Eq

func (ConversationIDTriple) Hash

func (t ConversationIDTriple) Hash() []byte

func (ConversationIDTriple) ToConversationID

func (t ConversationIDTriple) ToConversationID(shardID [2]byte) ConversationID

type ConversationInfoLocal

type ConversationInfoLocal struct {
	Id           ConversationID                 `codec:"id" json:"id"`
	Triple       ConversationIDTriple           `codec:"triple" json:"triple"`
	TlfName      string                         `codec:"tlfName" json:"tlfName"`
	TopicName    string                         `codec:"topicName" json:"topicName"`
	Visibility   keybase1.TLFVisibility         `codec:"visibility" json:"visibility"`
	Status       ConversationStatus             `codec:"status" json:"status"`
	MembersType  ConversationMembersType        `codec:"membersType" json:"membersType"`
	MemberStatus ConversationMemberStatus       `codec:"memberStatus" json:"memberStatus"`
	TeamType     TeamType                       `codec:"teamType" json:"teamType"`
	Existence    ConversationExistence          `codec:"existence" json:"existence"`
	Version      ConversationVers               `codec:"version" json:"version"`
	Participants []ConversationLocalParticipant `codec:"participants" json:"participants"`
	FinalizeInfo *ConversationFinalizeInfo      `codec:"finalizeInfo,omitempty" json:"finalizeInfo,omitempty"`
	ResetNames   []string                       `codec:"resetNames" json:"resetNames"`
}

func (ConversationInfoLocal) DeepCopy

func (ConversationInfoLocal) TLFNameExpanded

func (c ConversationInfoLocal) TLFNameExpanded() string

TLFNameExpanded returns a TLF name with a reset suffix if it exists. This version can be used in requests to lookup the TLF.

func (ConversationInfoLocal) TLFNameExpandedSummary

func (c ConversationInfoLocal) TLFNameExpandedSummary() string

TLFNameExpandedSummary returns a TLF name with a summary of the account reset if there was one. This version is for display purposes only and connot be used to lookup the TLF.

type ConversationLocal

type ConversationLocal struct {
	Error            *ConversationErrorLocal       `codec:"error,omitempty" json:"error,omitempty"`
	Info             ConversationInfoLocal         `codec:"info" json:"info"`
	ReaderInfo       ConversationReaderInfo        `codec:"readerInfo" json:"readerInfo"`
	CreatorInfo      *ConversationCreatorInfoLocal `codec:"creatorInfo,omitempty" json:"creatorInfo,omitempty"`
	Notifications    *ConversationNotificationInfo `codec:"notifications,omitempty" json:"notifications,omitempty"`
	Supersedes       []ConversationMetadata        `codec:"supersedes" json:"supersedes"`
	SupersededBy     []ConversationMetadata        `codec:"supersededBy" json:"supersededBy"`
	MaxMessages      []MessageUnboxed              `codec:"maxMessages" json:"maxMessages"`
	IsEmpty          bool                          `codec:"isEmpty" json:"isEmpty"`
	IdentifyFailures []keybase1.TLFIdentifyFailure `codec:"identifyFailures" json:"identifyFailures"`
}

func (ConversationLocal) DeepCopy

func (o ConversationLocal) DeepCopy() ConversationLocal

func (ConversationLocal) GetConvID

func (c ConversationLocal) GetConvID() ConversationID

func (ConversationLocal) GetFinalizeInfo

func (c ConversationLocal) GetFinalizeInfo() *ConversationFinalizeInfo

func (ConversationLocal) GetMaxMessage

func (c ConversationLocal) GetMaxMessage(typ MessageType) (MessageUnboxed, error)

func (ConversationLocal) GetMembersType

func (c ConversationLocal) GetMembersType() ConversationMembersType

func (ConversationLocal) GetMtime

func (c ConversationLocal) GetMtime() gregor1.Time

func (ConversationLocal) GetTopicType

func (c ConversationLocal) GetTopicType() TopicType

func (ConversationLocal) Names

func (c ConversationLocal) Names() (res []string)

type ConversationLocalParticipant

type ConversationLocalParticipant struct {
	Username string  `codec:"username" json:"username"`
	Fullname *string `codec:"fullname,omitempty" json:"fullname,omitempty"`
}

func (ConversationLocalParticipant) DeepCopy

type ConversationMember

type ConversationMember struct {
	Uid    gregor1.UID    `codec:"uid" json:"uid"`
	ConvID ConversationID `codec:"convID" json:"convID"`
}

func (ConversationMember) DeepCopy

type ConversationMemberStatus

type ConversationMemberStatus int
const (
	ConversationMemberStatus_ACTIVE  ConversationMemberStatus = 0
	ConversationMemberStatus_REMOVED ConversationMemberStatus = 1
	ConversationMemberStatus_LEFT    ConversationMemberStatus = 2
	ConversationMemberStatus_PREVIEW ConversationMemberStatus = 3
	ConversationMemberStatus_RESET   ConversationMemberStatus = 4
)

func AllConversationMemberStatuses

func AllConversationMemberStatuses() (res []ConversationMemberStatus)

func (ConversationMemberStatus) DeepCopy

func (ConversationMemberStatus) String

func (e ConversationMemberStatus) String() string

func (ConversationMemberStatus) ToGregorDBString

func (c ConversationMemberStatus) ToGregorDBString() (string, error)

func (ConversationMemberStatus) ToGregorDBStringAssert

func (c ConversationMemberStatus) ToGregorDBStringAssert() string

type ConversationMembersType

type ConversationMembersType int
const (
	ConversationMembersType_KBFS    ConversationMembersType = 0
	ConversationMembersType_TEAM    ConversationMembersType = 1
	ConversationMembersType_IMPTEAM ConversationMembersType = 2
)

func (ConversationMembersType) DeepCopy

func (ConversationMembersType) String

func (e ConversationMembersType) String() string

type ConversationMetadata

type ConversationMetadata struct {
	IdTriple       ConversationIDTriple      `codec:"idTriple" json:"idTriple"`
	ConversationID ConversationID            `codec:"conversationID" json:"conversationID"`
	Visibility     keybase1.TLFVisibility    `codec:"visibility" json:"visibility"`
	Status         ConversationStatus        `codec:"status" json:"status"`
	MembersType    ConversationMembersType   `codec:"membersType" json:"membersType"`
	TeamType       TeamType                  `codec:"teamType" json:"teamType"`
	Existence      ConversationExistence     `codec:"existence" json:"existence"`
	Version        ConversationVers          `codec:"version" json:"version"`
	FinalizeInfo   *ConversationFinalizeInfo `codec:"finalizeInfo,omitempty" json:"finalizeInfo,omitempty"`
	Supersedes     []ConversationMetadata    `codec:"supersedes" json:"supersedes"`
	SupersededBy   []ConversationMetadata    `codec:"supersededBy" json:"supersededBy"`
	ActiveList     []gregor1.UID             `codec:"activeList" json:"activeList"`
	AllList        []gregor1.UID             `codec:"allList" json:"allList"`
	ResetList      []gregor1.UID             `codec:"resetList" json:"resetList"`
}

func (ConversationMetadata) DeepCopy

type ConversationNotificationInfo

type ConversationNotificationInfo struct {
	ChannelWide bool                                              `codec:"channelWide" json:"channelWide"`
	Settings    map[keybase1.DeviceType]map[NotificationKind]bool `codec:"settings" json:"settings"`
}

func (ConversationNotificationInfo) DeepCopy

type ConversationReaderInfo

type ConversationReaderInfo struct {
	Mtime     gregor1.Time             `codec:"mtime" json:"mtime"`
	ReadMsgid MessageID                `codec:"readMsgid" json:"readMsgid"`
	MaxMsgid  MessageID                `codec:"maxMsgid" json:"maxMsgid"`
	Status    ConversationMemberStatus `codec:"status" json:"status"`
}

func (ConversationReaderInfo) DeepCopy

type ConversationResolveInfo

type ConversationResolveInfo struct {
	NewTLFName string `codec:"newTLFName" json:"newTLFName"`
}

func (ConversationResolveInfo) DeepCopy

type ConversationStaleUpdate

type ConversationStaleUpdate struct {
	ConvID     ConversationID  `codec:"convID" json:"convID"`
	UpdateType StaleUpdateType `codec:"updateType" json:"updateType"`
}

func (ConversationStaleUpdate) DeepCopy

type ConversationStatus

type ConversationStatus int
const (
	ConversationStatus_UNFILED  ConversationStatus = 0
	ConversationStatus_FAVORITE ConversationStatus = 1
	ConversationStatus_IGNORED  ConversationStatus = 2
	ConversationStatus_BLOCKED  ConversationStatus = 3
	ConversationStatus_MUTED    ConversationStatus = 4
	ConversationStatus_REPORTED ConversationStatus = 5
)

func (ConversationStatus) DeepCopy

func (ConversationStatus) String

func (e ConversationStatus) String() string

type ConversationVers

type ConversationVers uint64

func (ConversationVers) DeepCopy

func (o ConversationVers) DeepCopy() ConversationVers

type DeleteConversationArg

type DeleteConversationArg struct {
	ConvID ConversationID `codec:"convID" json:"convID"`
}

type DeleteConversationLocalArg

type DeleteConversationLocalArg struct {
	SessionID   int            `codec:"sessionID" json:"sessionID"`
	ConvID      ConversationID `codec:"convID" json:"convID"`
	ChannelName string         `codec:"channelName" json:"channelName"`
	Confirmed   bool           `codec:"confirmed" json:"confirmed"`
}

type DeleteConversationLocalRes

type DeleteConversationLocalRes struct {
	Offline    bool        `codec:"offline" json:"offline"`
	RateLimits []RateLimit `codec:"rateLimits" json:"rateLimits"`
}

func (DeleteConversationLocalRes) DeepCopy

func (*DeleteConversationLocalRes) SetOffline

func (r *DeleteConversationLocalRes) SetOffline()

type DeleteConversationRemoteRes

type DeleteConversationRemoteRes struct {
	RateLimit *RateLimit `codec:"rateLimit,omitempty" json:"rateLimit,omitempty"`
}

func (DeleteConversationRemoteRes) DeepCopy

type DownloadAttachmentLocalArg

type DownloadAttachmentLocalArg struct {
	SessionID        int                          `codec:"sessionID" json:"sessionID"`
	ConversationID   ConversationID               `codec:"conversationID" json:"conversationID"`
	MessageID        MessageID                    `codec:"messageID" json:"messageID"`
	Sink             keybase1.Stream              `codec:"sink" json:"sink"`
	Preview          bool                         `codec:"preview" json:"preview"`
	IdentifyBehavior keybase1.TLFIdentifyBehavior `codec:"identifyBehavior" json:"identifyBehavior"`
}

type DownloadAttachmentLocalRes

type DownloadAttachmentLocalRes struct {
	Offline          bool                          `codec:"offline" json:"offline"`
	RateLimits       []RateLimit                   `codec:"rateLimits" json:"rateLimits"`
	IdentifyFailures []keybase1.TLFIdentifyFailure `codec:"identifyFailures" json:"identifyFailures"`
}

func (DownloadAttachmentLocalRes) DeepCopy

func (*DownloadAttachmentLocalRes) SetOffline

func (r *DownloadAttachmentLocalRes) SetOffline()

type DownloadFileAttachmentLocalArg

type DownloadFileAttachmentLocalArg struct {
	SessionID        int                          `codec:"sessionID" json:"sessionID"`
	ConversationID   ConversationID               `codec:"conversationID" json:"conversationID"`
	MessageID        MessageID                    `codec:"messageID" json:"messageID"`
	Filename         string                       `codec:"filename" json:"filename"`
	Preview          bool                         `codec:"preview" json:"preview"`
	IdentifyBehavior keybase1.TLFIdentifyBehavior `codec:"identifyBehavior" json:"identifyBehavior"`
}

type EncryptedData

type EncryptedData struct {
	V int    `codec:"v" json:"v"`
	E []byte `codec:"e" json:"e"`
	N []byte `codec:"n" json:"n"`
}

func (*EncryptedData) AsSealed

func (d *EncryptedData) AsSealed() SealedData

func (EncryptedData) DeepCopy

func (o EncryptedData) DeepCopy() EncryptedData

type FailedMessageInfo

type FailedMessageInfo struct {
	OutboxRecords []OutboxRecord `codec:"outboxRecords" json:"outboxRecords"`
}

func (FailedMessageInfo) DeepCopy

func (o FailedMessageInfo) DeepCopy() FailedMessageInfo

type FindConversationsLocalArg

type FindConversationsLocalArg struct {
	TlfName          string                       `codec:"tlfName" json:"tlfName"`
	MembersType      ConversationMembersType      `codec:"membersType" json:"membersType"`
	Visibility       keybase1.TLFVisibility       `codec:"visibility" json:"visibility"`
	TopicType        TopicType                    `codec:"topicType" json:"topicType"`
	TopicName        string                       `codec:"topicName" json:"topicName"`
	OneChatPerTLF    *bool                        `codec:"oneChatPerTLF,omitempty" json:"oneChatPerTLF,omitempty"`
	IdentifyBehavior keybase1.TLFIdentifyBehavior `codec:"identifyBehavior" json:"identifyBehavior"`
}

type FindConversationsLocalRes

type FindConversationsLocalRes struct {
	Conversations    []ConversationLocal           `codec:"conversations" json:"conversations"`
	Offline          bool                          `codec:"offline" json:"offline"`
	RateLimits       []RateLimit                   `codec:"rateLimits" json:"rateLimits"`
	IdentifyFailures []keybase1.TLFIdentifyFailure `codec:"identifyFailures" json:"identifyFailures"`
}

func (FindConversationsLocalRes) DeepCopy

func (*FindConversationsLocalRes) SetOffline

func (r *FindConversationsLocalRes) SetOffline()

type GenerateOutboxIDArg

type GenerateOutboxIDArg struct {
}

type GenericPayload

type GenericPayload struct {
	Action    string         `codec:"Action" json:"Action"`
	InboxVers InboxVers      `codec:"inboxVers" json:"inboxVers"`
	ConvID    ConversationID `codec:"convID" json:"convID"`
}

func (GenericPayload) DeepCopy

func (o GenericPayload) DeepCopy() GenericPayload

type GetCachedThreadArg

type GetCachedThreadArg struct {
	ConversationID   ConversationID               `codec:"conversationID" json:"conversationID"`
	Query            *GetThreadQuery              `codec:"query,omitempty" json:"query,omitempty"`
	Pagination       *Pagination                  `codec:"pagination,omitempty" json:"pagination,omitempty"`
	IdentifyBehavior keybase1.TLFIdentifyBehavior `codec:"identifyBehavior" json:"identifyBehavior"`
}

type GetConversationForCLILocalArg

type GetConversationForCLILocalArg struct {
	Query GetConversationForCLILocalQuery `codec:"query" json:"query"`
}

type GetConversationForCLILocalQuery

type GetConversationForCLILocalQuery struct {
	MarkAsRead   bool                `codec:"markAsRead" json:"markAsRead"`
	MessageTypes []MessageType       `codec:"MessageTypes" json:"MessageTypes"`
	Since        *string             `codec:"Since,omitempty" json:"Since,omitempty"`
	Limit        UnreadFirstNumLimit `codec:"limit" json:"limit"`
	Conv         ConversationLocal   `codec:"conv" json:"conv"`
}

func (GetConversationForCLILocalQuery) DeepCopy

type GetConversationForCLILocalRes

type GetConversationForCLILocalRes struct {
	Conversation ConversationLocal `codec:"conversation" json:"conversation"`
	Messages     []MessageUnboxed  `codec:"messages" json:"messages"`
	Offline      bool              `codec:"offline" json:"offline"`
	RateLimits   []RateLimit       `codec:"rateLimits" json:"rateLimits"`
}

func (GetConversationForCLILocalRes) DeepCopy

func (*GetConversationForCLILocalRes) SetOffline

func (r *GetConversationForCLILocalRes) SetOffline()

type GetConversationMetadataRemoteRes

type GetConversationMetadataRemoteRes struct {
	Conv      Conversation `codec:"conv" json:"conv"`
	RateLimit *RateLimit   `codec:"rateLimit,omitempty" json:"rateLimit,omitempty"`
}

func (GetConversationMetadataRemoteRes) DeepCopy

type GetGlobalAppNotificationSettingsArg

type GetGlobalAppNotificationSettingsArg struct {
}

type GetGlobalAppNotificationSettingsLocalArg

type GetGlobalAppNotificationSettingsLocalArg struct {
}

type GetInboxAndUnboxLocalArg

type GetInboxAndUnboxLocalArg struct {
	Query            *GetInboxLocalQuery          `codec:"query,omitempty" json:"query,omitempty"`
	Pagination       *Pagination                  `codec:"pagination,omitempty" json:"pagination,omitempty"`
	IdentifyBehavior keybase1.TLFIdentifyBehavior `codec:"identifyBehavior" json:"identifyBehavior"`
}

type GetInboxAndUnboxLocalRes

type GetInboxAndUnboxLocalRes struct {
	Conversations    []ConversationLocal           `codec:"conversations" json:"conversations"`
	Pagination       *Pagination                   `codec:"pagination,omitempty" json:"pagination,omitempty"`
	Offline          bool                          `codec:"offline" json:"offline"`
	RateLimits       []RateLimit                   `codec:"rateLimits" json:"rateLimits"`
	IdentifyFailures []keybase1.TLFIdentifyFailure `codec:"identifyFailures" json:"identifyFailures"`
}

func (GetInboxAndUnboxLocalRes) DeepCopy

func (*GetInboxAndUnboxLocalRes) SetOffline

func (r *GetInboxAndUnboxLocalRes) SetOffline()

type GetInboxByTLFIDRemoteRes

type GetInboxByTLFIDRemoteRes struct {
	Convs     []Conversation `codec:"convs" json:"convs"`
	RateLimit *RateLimit     `codec:"rateLimit,omitempty" json:"rateLimit,omitempty"`
}

func (GetInboxByTLFIDRemoteRes) DeepCopy

type GetInboxLocalQuery

type GetInboxLocalQuery struct {
	Name              *NameQuery              `codec:"name,omitempty" json:"name,omitempty"`
	TopicName         *string                 `codec:"topicName,omitempty" json:"topicName,omitempty"`
	ConvIDs           []ConversationID        `codec:"convIDs" json:"convIDs"`
	TopicType         *TopicType              `codec:"topicType,omitempty" json:"topicType,omitempty"`
	TlfVisibility     *keybase1.TLFVisibility `codec:"tlfVisibility,omitempty" json:"tlfVisibility,omitempty"`
	Before            *gregor1.Time           `codec:"before,omitempty" json:"before,omitempty"`
	After             *gregor1.Time           `codec:"after,omitempty" json:"after,omitempty"`
	OneChatTypePerTLF *bool                   `codec:"oneChatTypePerTLF,omitempty" json:"oneChatTypePerTLF,omitempty"`
	Status            []ConversationStatus    `codec:"status" json:"status"`
	UnreadOnly        bool                    `codec:"unreadOnly" json:"unreadOnly"`
	ReadOnly          bool                    `codec:"readOnly" json:"readOnly"`
	ComputeActiveList bool                    `codec:"computeActiveList" json:"computeActiveList"`
}

func (GetInboxLocalQuery) DeepCopy

func (*GetInboxLocalQuery) Visibility

func (q *GetInboxLocalQuery) Visibility() keybase1.TLFVisibility

Visibility is a helper to get around a nil pointer for visibility, and to get around TLFVisibility_ANY. The default is PRIVATE. Note: not sure why visibility is a pointer, or what TLFVisibility_ANY is for, but don't want to change the API.

type GetInboxLocalRes

type GetInboxLocalRes struct {
	ConversationsUnverified []Conversation                `codec:"conversationsUnverified" json:"conversationsUnverified"`
	Pagination              *Pagination                   `codec:"pagination,omitempty" json:"pagination,omitempty"`
	Offline                 bool                          `codec:"offline" json:"offline"`
	RateLimits              []RateLimit                   `codec:"rateLimits" json:"rateLimits"`
	IdentifyFailures        []keybase1.TLFIdentifyFailure `codec:"identifyFailures" json:"identifyFailures"`
}

func (GetInboxLocalRes) DeepCopy

func (o GetInboxLocalRes) DeepCopy() GetInboxLocalRes

type GetInboxNonblockLocalArg

type GetInboxNonblockLocalArg struct {
	SessionID        int                          `codec:"sessionID" json:"sessionID"`
	MaxUnbox         *int                         `codec:"maxUnbox,omitempty" json:"maxUnbox,omitempty"`
	SkipUnverified   bool                         `codec:"skipUnverified" json:"skipUnverified"`
	Query            *GetInboxLocalQuery          `codec:"query,omitempty" json:"query,omitempty"`
	Pagination       *Pagination                  `codec:"pagination,omitempty" json:"pagination,omitempty"`
	IdentifyBehavior keybase1.TLFIdentifyBehavior `codec:"identifyBehavior" json:"identifyBehavior"`
}

type GetInboxQuery

type GetInboxQuery struct {
	ConvID            *ConversationID            `codec:"convID,omitempty" json:"convID,omitempty"`
	TopicType         *TopicType                 `codec:"topicType,omitempty" json:"topicType,omitempty"`
	TlfID             *TLFID                     `codec:"tlfID,omitempty" json:"tlfID,omitempty"`
	TlfVisibility     *keybase1.TLFVisibility    `codec:"tlfVisibility,omitempty" json:"tlfVisibility,omitempty"`
	Before            *gregor1.Time              `codec:"before,omitempty" json:"before,omitempty"`
	After             *gregor1.Time              `codec:"after,omitempty" json:"after,omitempty"`
	OneChatTypePerTLF *bool                      `codec:"oneChatTypePerTLF,omitempty" json:"oneChatTypePerTLF,omitempty"`
	Status            []ConversationStatus       `codec:"status" json:"status"`
	MemberStatus      []ConversationMemberStatus `codec:"memberStatus" json:"memberStatus"`
	Existences        []ConversationExistence    `codec:"existences" json:"existences"`
	ConvIDs           []ConversationID           `codec:"convIDs" json:"convIDs"`
	UnreadOnly        bool                       `codec:"unreadOnly" json:"unreadOnly"`
	ReadOnly          bool                       `codec:"readOnly" json:"readOnly"`
	ComputeActiveList bool                       `codec:"computeActiveList" json:"computeActiveList"`
	SummarizeMaxMsgs  bool                       `codec:"summarizeMaxMsgs" json:"summarizeMaxMsgs"`
}

func (GetInboxQuery) DeepCopy

func (o GetInboxQuery) DeepCopy() GetInboxQuery

func (*GetInboxQuery) Visibility

func (q *GetInboxQuery) Visibility() keybase1.TLFVisibility

Visibility is a helper to get around a nil pointer for visibility, and to get around TLFVisibility_ANY. The default is PRIVATE. Note: not sure why visibility is a pointer, or what TLFVisibility_ANY is for, but don't want to change the API.

type GetInboxRemoteArg

type GetInboxRemoteArg struct {
	Vers       InboxVers      `codec:"vers" json:"vers"`
	Query      *GetInboxQuery `codec:"query,omitempty" json:"query,omitempty"`
	Pagination *Pagination    `codec:"pagination,omitempty" json:"pagination,omitempty"`
}

type GetInboxRemoteRes

type GetInboxRemoteRes struct {
	Inbox     InboxView  `codec:"inbox" json:"inbox"`
	RateLimit *RateLimit `codec:"rateLimit,omitempty" json:"rateLimit,omitempty"`
}

func (GetInboxRemoteRes) DeepCopy

func (o GetInboxRemoteRes) DeepCopy() GetInboxRemoteRes

type GetInboxSummaryForCLILocalArg

type GetInboxSummaryForCLILocalArg struct {
	Query GetInboxSummaryForCLILocalQuery `codec:"query" json:"query"`
}

type GetInboxSummaryForCLILocalQuery

type GetInboxSummaryForCLILocalQuery struct {
	TopicType           TopicType              `codec:"topicType" json:"topicType"`
	After               string                 `codec:"after" json:"after"`
	Before              string                 `codec:"before" json:"before"`
	Visibility          keybase1.TLFVisibility `codec:"visibility" json:"visibility"`
	Status              []ConversationStatus   `codec:"status" json:"status"`
	UnreadFirst         bool                   `codec:"unreadFirst" json:"unreadFirst"`
	UnreadFirstLimit    UnreadFirstNumLimit    `codec:"unreadFirstLimit" json:"unreadFirstLimit"`
	ActivitySortedLimit int                    `codec:"activitySortedLimit" json:"activitySortedLimit"`
}

func (GetInboxSummaryForCLILocalQuery) DeepCopy

type GetInboxSummaryForCLILocalRes

type GetInboxSummaryForCLILocalRes struct {
	Conversations []ConversationLocal `codec:"conversations" json:"conversations"`
	Offline       bool                `codec:"offline" json:"offline"`
	RateLimits    []RateLimit         `codec:"rateLimits" json:"rateLimits"`
}

func (GetInboxSummaryForCLILocalRes) DeepCopy

func (*GetInboxSummaryForCLILocalRes) SetOffline

func (r *GetInboxSummaryForCLILocalRes) SetOffline()

type GetInboxVersionArg

type GetInboxVersionArg struct {
	Uid gregor1.UID `codec:"uid" json:"uid"`
}

type GetMessagesLocalArg

type GetMessagesLocalArg struct {
	ConversationID           ConversationID               `codec:"conversationID" json:"conversationID"`
	MessageIDs               []MessageID                  `codec:"messageIDs" json:"messageIDs"`
	DisableResolveSupersedes bool                         `codec:"disableResolveSupersedes" json:"disableResolveSupersedes"`
	IdentifyBehavior         keybase1.TLFIdentifyBehavior `codec:"identifyBehavior" json:"identifyBehavior"`
}

type GetMessagesLocalRes

type GetMessagesLocalRes struct {
	Messages         []MessageUnboxed              `codec:"messages" json:"messages"`
	Offline          bool                          `codec:"offline" json:"offline"`
	RateLimits       []RateLimit                   `codec:"rateLimits" json:"rateLimits"`
	IdentifyFailures []keybase1.TLFIdentifyFailure `codec:"identifyFailures" json:"identifyFailures"`
}

func (GetMessagesLocalRes) DeepCopy

func (*GetMessagesLocalRes) SetOffline

func (r *GetMessagesLocalRes) SetOffline()

type GetMessagesRemoteArg

type GetMessagesRemoteArg struct {
	ConversationID ConversationID `codec:"conversationID" json:"conversationID"`
	MessageIDs     []MessageID    `codec:"messageIDs" json:"messageIDs"`
}

type GetMessagesRemoteRes

type GetMessagesRemoteRes struct {
	Msgs      []MessageBoxed `codec:"msgs" json:"msgs"`
	RateLimit *RateLimit     `codec:"rateLimit,omitempty" json:"rateLimit,omitempty"`
}

func (GetMessagesRemoteRes) DeepCopy

type GetPublicConversationsArg

type GetPublicConversationsArg struct {
	TlfID            TLFID     `codec:"tlfID" json:"tlfID"`
	TopicType        TopicType `codec:"topicType" json:"topicType"`
	SummarizeMaxMsgs bool      `codec:"summarizeMaxMsgs" json:"summarizeMaxMsgs"`
}

type GetPublicConversationsRes

type GetPublicConversationsRes struct {
	Conversations []Conversation `codec:"conversations" json:"conversations"`
	RateLimit     *RateLimit     `codec:"rateLimit,omitempty" json:"rateLimit,omitempty"`
}

func (GetPublicConversationsRes) DeepCopy

type GetS3ParamsArg

type GetS3ParamsArg struct {
	ConversationID ConversationID `codec:"conversationID" json:"conversationID"`
}

type GetTLFConversationsArg

type GetTLFConversationsArg struct {
	TlfID            TLFID     `codec:"tlfID" json:"tlfID"`
	TopicType        TopicType `codec:"topicType" json:"topicType"`
	SummarizeMaxMsgs bool      `codec:"summarizeMaxMsgs" json:"summarizeMaxMsgs"`
}

type GetTLFConversationsLocalArg

type GetTLFConversationsLocalArg struct {
	TlfName     string                  `codec:"tlfName" json:"tlfName"`
	TopicType   TopicType               `codec:"topicType" json:"topicType"`
	MembersType ConversationMembersType `codec:"membersType" json:"membersType"`
}

type GetTLFConversationsLocalRes

type GetTLFConversationsLocalRes struct {
	Convs      []InboxUIItem `codec:"convs" json:"convs"`
	Offline    bool          `codec:"offline" json:"offline"`
	RateLimits []RateLimit   `codec:"rateLimits" json:"rateLimits"`
}

func (GetTLFConversationsLocalRes) DeepCopy

func (*GetTLFConversationsLocalRes) SetOffline

func (r *GetTLFConversationsLocalRes) SetOffline()

type GetTLFConversationsRes

type GetTLFConversationsRes struct {
	Conversations []Conversation `codec:"conversations" json:"conversations"`
	RateLimit     *RateLimit     `codec:"rateLimit,omitempty" json:"rateLimit,omitempty"`
}

func (GetTLFConversationsRes) DeepCopy

type GetThreadLocalArg

type GetThreadLocalArg struct {
	ConversationID   ConversationID               `codec:"conversationID" json:"conversationID"`
	Query            *GetThreadQuery              `codec:"query,omitempty" json:"query,omitempty"`
	Pagination       *Pagination                  `codec:"pagination,omitempty" json:"pagination,omitempty"`
	IdentifyBehavior keybase1.TLFIdentifyBehavior `codec:"identifyBehavior" json:"identifyBehavior"`
}

type GetThreadLocalRes

type GetThreadLocalRes struct {
	Thread           ThreadView                    `codec:"thread" json:"thread"`
	Offline          bool                          `codec:"offline" json:"offline"`
	RateLimits       []RateLimit                   `codec:"rateLimits" json:"rateLimits"`
	IdentifyFailures []keybase1.TLFIdentifyFailure `codec:"identifyFailures" json:"identifyFailures"`
}

func (GetThreadLocalRes) DeepCopy

func (o GetThreadLocalRes) DeepCopy() GetThreadLocalRes

func (*GetThreadLocalRes) SetOffline

func (r *GetThreadLocalRes) SetOffline()

type GetThreadNonblockArg

type GetThreadNonblockArg struct {
	SessionID        int                          `codec:"sessionID" json:"sessionID"`
	ConversationID   ConversationID               `codec:"conversationID" json:"conversationID"`
	Query            *GetThreadQuery              `codec:"query,omitempty" json:"query,omitempty"`
	Pagination       *UIPagination                `codec:"pagination,omitempty" json:"pagination,omitempty"`
	IdentifyBehavior keybase1.TLFIdentifyBehavior `codec:"identifyBehavior" json:"identifyBehavior"`
}

type GetThreadQuery

type GetThreadQuery struct {
	MarkAsRead               bool              `codec:"markAsRead" json:"markAsRead"`
	MessageTypes             []MessageType     `codec:"messageTypes" json:"messageTypes"`
	DisableResolveSupersedes bool              `codec:"disableResolveSupersedes" json:"disableResolveSupersedes"`
	Before                   *gregor1.Time     `codec:"before,omitempty" json:"before,omitempty"`
	After                    *gregor1.Time     `codec:"after,omitempty" json:"after,omitempty"`
	MessageIDControl         *MessageIDControl `codec:"messageIDControl,omitempty" json:"messageIDControl,omitempty"`
}

func (GetThreadQuery) DeepCopy

func (o GetThreadQuery) DeepCopy() GetThreadQuery

type GetThreadRemoteArg

type GetThreadRemoteArg struct {
	ConversationID ConversationID  `codec:"conversationID" json:"conversationID"`
	Query          *GetThreadQuery `codec:"query,omitempty" json:"query,omitempty"`
	Pagination     *Pagination     `codec:"pagination,omitempty" json:"pagination,omitempty"`
}

type GetThreadRemoteRes

type GetThreadRemoteRes struct {
	Thread      ThreadViewBoxed         `codec:"thread" json:"thread"`
	MembersType ConversationMembersType `codec:"membersType" json:"membersType"`
	RateLimit   *RateLimit              `codec:"rateLimit,omitempty" json:"rateLimit,omitempty"`
}

func (GetThreadRemoteRes) DeepCopy

type GetUnreadUpdateFullArg

type GetUnreadUpdateFullArg struct {
	InboxVers InboxVers `codec:"inboxVers" json:"inboxVers"`
}

type GlobalAppNotificationSetting

type GlobalAppNotificationSetting int
const (
	GlobalAppNotificationSetting_NEWMESSAGES      GlobalAppNotificationSetting = 0
	GlobalAppNotificationSetting_PLAINTEXTMOBILE  GlobalAppNotificationSetting = 1
	GlobalAppNotificationSetting_PLAINTEXTDESKTOP GlobalAppNotificationSetting = 2
)

func (GlobalAppNotificationSetting) DeepCopy

func (GlobalAppNotificationSetting) String

type GlobalAppNotificationSettings

type GlobalAppNotificationSettings struct {
	Settings map[GlobalAppNotificationSetting]bool `codec:"settings" json:"settings"`
}

func (GlobalAppNotificationSettings) DeepCopy

type GregorClient

type GregorClient struct {
	Cli rpc.GenericClient
}

type GregorInterface

type GregorInterface interface {
}

type Hash

type Hash []byte

func (Hash) DeepCopy

func (o Hash) DeepCopy() Hash

func (Hash) Eq

func (hash Hash) Eq(other Hash) bool

func (Hash) String

func (hash Hash) String() string

type HeaderPlaintext

type HeaderPlaintext struct {
	Version__ HeaderPlaintextVersion      `codec:"version" json:"version"`
	V1__      *HeaderPlaintextV1          `codec:"v1,omitempty" json:"v1,omitempty"`
	V2__      *HeaderPlaintextUnsupported `codec:"v2,omitempty" json:"v2,omitempty"`
	V3__      *HeaderPlaintextUnsupported `codec:"v3,omitempty" json:"v3,omitempty"`
	V4__      *HeaderPlaintextUnsupported `codec:"v4,omitempty" json:"v4,omitempty"`
	V5__      *HeaderPlaintextUnsupported `codec:"v5,omitempty" json:"v5,omitempty"`
	V6__      *HeaderPlaintextUnsupported `codec:"v6,omitempty" json:"v6,omitempty"`
	V7__      *HeaderPlaintextUnsupported `codec:"v7,omitempty" json:"v7,omitempty"`
	V8__      *HeaderPlaintextUnsupported `codec:"v8,omitempty" json:"v8,omitempty"`
	V9__      *HeaderPlaintextUnsupported `codec:"v9,omitempty" json:"v9,omitempty"`
	V10__     *HeaderPlaintextUnsupported `codec:"v10,omitempty" json:"v10,omitempty"`
}

func NewHeaderPlaintextWithV1

func NewHeaderPlaintextWithV1(v HeaderPlaintextV1) HeaderPlaintext

func (HeaderPlaintext) DeepCopy

func (o HeaderPlaintext) DeepCopy() HeaderPlaintext

func (HeaderPlaintext) V1

func (o HeaderPlaintext) V1() (res HeaderPlaintextV1)

func (HeaderPlaintext) V2

func (HeaderPlaintext) V3

func (HeaderPlaintext) V4

func (HeaderPlaintext) V5

func (HeaderPlaintext) V6

func (HeaderPlaintext) V7

func (HeaderPlaintext) V8

func (HeaderPlaintext) V9

func (HeaderPlaintext) V10

func (*HeaderPlaintext) Version

func (o *HeaderPlaintext) Version() (ret HeaderPlaintextVersion, err error)

type HeaderPlaintextMetaInfo

type HeaderPlaintextMetaInfo struct {
	Crit bool `codec:"crit" json:"crit"`
}

func (HeaderPlaintextMetaInfo) DeepCopy

type HeaderPlaintextUnsupported

type HeaderPlaintextUnsupported struct {
	Mi HeaderPlaintextMetaInfo `codec:"mi" json:"mi"`
}

func (HeaderPlaintextUnsupported) DeepCopy

type HeaderPlaintextV1

type HeaderPlaintextV1 struct {
	Conv            ConversationIDTriple     `codec:"conv" json:"conv"`
	TlfName         string                   `codec:"tlfName" json:"tlfName"`
	TlfPublic       bool                     `codec:"tlfPublic" json:"tlfPublic"`
	MessageType     MessageType              `codec:"messageType" json:"messageType"`
	Prev            []MessagePreviousPointer `codec:"prev" json:"prev"`
	Sender          gregor1.UID              `codec:"sender" json:"sender"`
	SenderDevice    gregor1.DeviceID         `codec:"senderDevice" json:"senderDevice"`
	BodyHash        Hash                     `codec:"bodyHash" json:"bodyHash"`
	OutboxInfo      *OutboxInfo              `codec:"outboxInfo,omitempty" json:"outboxInfo,omitempty"`
	OutboxID        *OutboxID                `codec:"outboxID,omitempty" json:"outboxID,omitempty"`
	HeaderSignature *SignatureInfo           `codec:"headerSignature,omitempty" json:"headerSignature,omitempty"`
	MerkleRoot      *MerkleRoot              `codec:"merkleRoot,omitempty" json:"merkleRoot,omitempty"`
}

func (HeaderPlaintextV1) DeepCopy

func (o HeaderPlaintextV1) DeepCopy() HeaderPlaintextV1

type HeaderPlaintextVersion

type HeaderPlaintextVersion int
const (
	HeaderPlaintextVersion_V1  HeaderPlaintextVersion = 1
	HeaderPlaintextVersion_V2  HeaderPlaintextVersion = 2
	HeaderPlaintextVersion_V3  HeaderPlaintextVersion = 3
	HeaderPlaintextVersion_V4  HeaderPlaintextVersion = 4
	HeaderPlaintextVersion_V5  HeaderPlaintextVersion = 5
	HeaderPlaintextVersion_V6  HeaderPlaintextVersion = 6
	HeaderPlaintextVersion_V7  HeaderPlaintextVersion = 7
	HeaderPlaintextVersion_V8  HeaderPlaintextVersion = 8
	HeaderPlaintextVersion_V9  HeaderPlaintextVersion = 9
	HeaderPlaintextVersion_V10 HeaderPlaintextVersion = 10
)

func (HeaderPlaintextVersion) DeepCopy

func (HeaderPlaintextVersion) String

func (e HeaderPlaintextVersion) String() string

type InboxResType

type InboxResType int
const (
	InboxResType_VERSIONHIT InboxResType = 0
	InboxResType_FULL       InboxResType = 1
)

func (InboxResType) DeepCopy

func (o InboxResType) DeepCopy() InboxResType

func (InboxResType) String

func (e InboxResType) String() string

type InboxUIItem

type InboxUIItem struct {
	ConvID            string                        `codec:"convID" json:"convID"`
	IsEmpty           bool                          `codec:"isEmpty" json:"isEmpty"`
	Name              string                        `codec:"name" json:"name"`
	Snippet           string                        `codec:"snippet" json:"snippet"`
	Channel           string                        `codec:"channel" json:"channel"`
	Headline          string                        `codec:"headline" json:"headline"`
	Visibility        keybase1.TLFVisibility        `codec:"visibility" json:"visibility"`
	Participants      []string                      `codec:"participants" json:"participants"`
	FullNames         map[string]string             `codec:"fullNames" json:"fullNames"`
	ResetParticipants []string                      `codec:"resetParticipants" json:"resetParticipants"`
	Status            ConversationStatus            `codec:"status" json:"status"`
	MembersType       ConversationMembersType       `codec:"membersType" json:"membersType"`
	MemberStatus      ConversationMemberStatus      `codec:"memberStatus" json:"memberStatus"`
	TeamType          TeamType                      `codec:"teamType" json:"teamType"`
	Time              gregor1.Time                  `codec:"time" json:"time"`
	Notifications     *ConversationNotificationInfo `codec:"notifications,omitempty" json:"notifications,omitempty"`
	CreatorInfo       *ConversationCreatorInfoLocal `codec:"creatorInfo,omitempty" json:"creatorInfo,omitempty"`
	Version           ConversationVers              `codec:"version" json:"version"`
	MaxMsgID          MessageID                     `codec:"maxMsgID" json:"maxMsgID"`
	FinalizeInfo      *ConversationFinalizeInfo     `codec:"finalizeInfo,omitempty" json:"finalizeInfo,omitempty"`
	Supersedes        []ConversationMetadata        `codec:"supersedes" json:"supersedes"`
	SupersededBy      []ConversationMetadata        `codec:"supersededBy" json:"supersededBy"`
}

func (InboxUIItem) DeepCopy

func (o InboxUIItem) DeepCopy() InboxUIItem

func (InboxUIItem) GetConvID

func (i InboxUIItem) GetConvID() ConversationID

type InboxUIItems

type InboxUIItems struct {
	Items      []InboxUIItem `codec:"items" json:"items"`
	Pagination *UIPagination `codec:"pagination,omitempty" json:"pagination,omitempty"`
	Offline    bool          `codec:"offline" json:"offline"`
}

func (InboxUIItems) DeepCopy

func (o InboxUIItems) DeepCopy() InboxUIItems

type InboxVers

type InboxVers uint64

func (InboxVers) DeepCopy

func (o InboxVers) DeepCopy() InboxVers

func (InboxVers) ToConvVers

func (v InboxVers) ToConvVers() ConversationVers

type InboxView

type InboxView struct {
	Rtype__ InboxResType   `codec:"rtype" json:"rtype"`
	Full__  *InboxViewFull `codec:"full,omitempty" json:"full,omitempty"`
}

func NewInboxViewWithFull

func NewInboxViewWithFull(v InboxViewFull) InboxView

func NewInboxViewWithVersionhit

func NewInboxViewWithVersionhit() InboxView

func (InboxView) DeepCopy

func (o InboxView) DeepCopy() InboxView

func (InboxView) Full

func (o InboxView) Full() (res InboxViewFull)

func (*InboxView) Rtype

func (o *InboxView) Rtype() (ret InboxResType, err error)

type InboxViewFull

type InboxViewFull struct {
	Vers          InboxVers      `codec:"vers" json:"vers"`
	Conversations []Conversation `codec:"conversations" json:"conversations"`
	Pagination    *Pagination    `codec:"pagination,omitempty" json:"pagination,omitempty"`
}

func (InboxViewFull) DeepCopy

func (o InboxViewFull) DeepCopy() InboxViewFull

type IncomingMessage

type IncomingMessage struct {
	Message                    UIMessage      `codec:"message" json:"message"`
	ConvID                     ConversationID `codec:"convID" json:"convID"`
	DisplayDesktopNotification bool           `codec:"displayDesktopNotification" json:"displayDesktopNotification"`
	Conv                       *InboxUIItem   `codec:"conv,omitempty" json:"conv,omitempty"`
	Pagination                 *UIPagination  `codec:"pagination,omitempty" json:"pagination,omitempty"`
}

func (IncomingMessage) DeepCopy

func (o IncomingMessage) DeepCopy() IncomingMessage

type JoinConversationArg

type JoinConversationArg struct {
	ConvID ConversationID `codec:"convID" json:"convID"`
}

type JoinConversationByIDLocalArg

type JoinConversationByIDLocalArg struct {
	ConvID ConversationID `codec:"convID" json:"convID"`
}

type JoinConversationLocalArg

type JoinConversationLocalArg struct {
	TlfName    string                 `codec:"tlfName" json:"tlfName"`
	TopicType  TopicType              `codec:"topicType" json:"topicType"`
	Visibility keybase1.TLFVisibility `codec:"visibility" json:"visibility"`
	TopicName  string                 `codec:"topicName" json:"topicName"`
}

type JoinLeaveConversationLocalRes

type JoinLeaveConversationLocalRes struct {
	Offline    bool        `codec:"offline" json:"offline"`
	RateLimits []RateLimit `codec:"rateLimits" json:"rateLimits"`
}

func (JoinLeaveConversationLocalRes) DeepCopy

func (*JoinLeaveConversationLocalRes) SetOffline

func (r *JoinLeaveConversationLocalRes) SetOffline()

type JoinLeaveConversationRemoteRes

type JoinLeaveConversationRemoteRes struct {
	RateLimit *RateLimit `codec:"rateLimit,omitempty" json:"rateLimit,omitempty"`
}

func (JoinLeaveConversationRemoteRes) DeepCopy

type LeaveConversationArg

type LeaveConversationArg struct {
	ConvID ConversationID `codec:"convID" json:"convID"`
}

type LeaveConversationLocalArg

type LeaveConversationLocalArg struct {
	ConvID ConversationID `codec:"convID" json:"convID"`
}

type LocalClient

type LocalClient struct {
	Cli rpc.GenericClient
}

func (LocalClient) CancelPost

func (c LocalClient) CancelPost(ctx context.Context, outboxID OutboxID) (err error)

func (LocalClient) DeleteConversationLocal

func (c LocalClient) DeleteConversationLocal(ctx context.Context, __arg DeleteConversationLocalArg) (res DeleteConversationLocalRes, err error)

func (LocalClient) DownloadAttachmentLocal

func (c LocalClient) DownloadAttachmentLocal(ctx context.Context, __arg DownloadAttachmentLocalArg) (res DownloadAttachmentLocalRes, err error)

func (LocalClient) DownloadFileAttachmentLocal

func (c LocalClient) DownloadFileAttachmentLocal(ctx context.Context, __arg DownloadFileAttachmentLocalArg) (res DownloadAttachmentLocalRes, err error)

func (LocalClient) FindConversationsLocal

func (c LocalClient) FindConversationsLocal(ctx context.Context, __arg FindConversationsLocalArg) (res FindConversationsLocalRes, err error)

func (LocalClient) GenerateOutboxID

func (c LocalClient) GenerateOutboxID(ctx context.Context) (res OutboxID, err error)

func (LocalClient) GetCachedThread

func (c LocalClient) GetCachedThread(ctx context.Context, __arg GetCachedThreadArg) (res GetThreadLocalRes, err error)

func (LocalClient) GetConversationForCLILocal

func (c LocalClient) GetConversationForCLILocal(ctx context.Context, query GetConversationForCLILocalQuery) (res GetConversationForCLILocalRes, err error)

func (LocalClient) GetGlobalAppNotificationSettingsLocal

func (c LocalClient) GetGlobalAppNotificationSettingsLocal(ctx context.Context) (res GlobalAppNotificationSettings, err error)

func (LocalClient) GetInboxAndUnboxLocal

func (c LocalClient) GetInboxAndUnboxLocal(ctx context.Context, __arg GetInboxAndUnboxLocalArg) (res GetInboxAndUnboxLocalRes, err error)

func (LocalClient) GetInboxNonblockLocal

func (c LocalClient) GetInboxNonblockLocal(ctx context.Context, __arg GetInboxNonblockLocalArg) (res NonblockFetchRes, err error)

func (LocalClient) GetInboxSummaryForCLILocal

func (c LocalClient) GetInboxSummaryForCLILocal(ctx context.Context, query GetInboxSummaryForCLILocalQuery) (res GetInboxSummaryForCLILocalRes, err error)

func (LocalClient) GetMessagesLocal

func (c LocalClient) GetMessagesLocal(ctx context.Context, __arg GetMessagesLocalArg) (res GetMessagesLocalRes, err error)

func (LocalClient) GetTLFConversationsLocal

func (c LocalClient) GetTLFConversationsLocal(ctx context.Context, __arg GetTLFConversationsLocalArg) (res GetTLFConversationsLocalRes, err error)

func (LocalClient) GetThreadLocal

func (c LocalClient) GetThreadLocal(ctx context.Context, __arg GetThreadLocalArg) (res GetThreadLocalRes, err error)

func (LocalClient) GetThreadNonblock

func (c LocalClient) GetThreadNonblock(ctx context.Context, __arg GetThreadNonblockArg) (res NonblockFetchRes, err error)

func (LocalClient) JoinConversationByIDLocal

func (c LocalClient) JoinConversationByIDLocal(ctx context.Context, convID ConversationID) (res JoinLeaveConversationLocalRes, err error)

func (LocalClient) JoinConversationLocal

func (c LocalClient) JoinConversationLocal(ctx context.Context, __arg JoinConversationLocalArg) (res JoinLeaveConversationLocalRes, err error)

func (LocalClient) LeaveConversationLocal

func (c LocalClient) LeaveConversationLocal(ctx context.Context, convID ConversationID) (res JoinLeaveConversationLocalRes, err error)

func (LocalClient) MakePreview

func (c LocalClient) MakePreview(ctx context.Context, __arg MakePreviewArg) (res MakePreviewRes, err error)

func (LocalClient) MarkAsReadLocal

func (c LocalClient) MarkAsReadLocal(ctx context.Context, __arg MarkAsReadLocalArg) (res MarkAsReadLocalRes, err error)

func (LocalClient) NewConversationLocal

func (c LocalClient) NewConversationLocal(ctx context.Context, __arg NewConversationLocalArg) (res NewConversationLocalRes, err error)

func (LocalClient) PostAttachmentLocal

func (c LocalClient) PostAttachmentLocal(ctx context.Context, __arg PostAttachmentLocalArg) (res PostLocalRes, err error)

func (LocalClient) PostDeleteNonblock

func (c LocalClient) PostDeleteNonblock(ctx context.Context, __arg PostDeleteNonblockArg) (res PostLocalNonblockRes, err error)

func (LocalClient) PostEditNonblock

func (c LocalClient) PostEditNonblock(ctx context.Context, __arg PostEditNonblockArg) (res PostLocalNonblockRes, err error)

func (LocalClient) PostFileAttachmentLocal

func (c LocalClient) PostFileAttachmentLocal(ctx context.Context, __arg PostFileAttachmentLocalArg) (res PostLocalRes, err error)

func (LocalClient) PostHeadline

func (c LocalClient) PostHeadline(ctx context.Context, __arg PostHeadlineArg) (res PostLocalRes, err error)

func (LocalClient) PostHeadlineNonblock

func (c LocalClient) PostHeadlineNonblock(ctx context.Context, __arg PostHeadlineNonblockArg) (res PostLocalNonblockRes, err error)

func (LocalClient) PostLocal

func (c LocalClient) PostLocal(ctx context.Context, __arg PostLocalArg) (res PostLocalRes, err error)

func (LocalClient) PostLocalNonblock

func (c LocalClient) PostLocalNonblock(ctx context.Context, __arg PostLocalNonblockArg) (res PostLocalNonblockRes, err error)

func (LocalClient) PostMetadata

func (c LocalClient) PostMetadata(ctx context.Context, __arg PostMetadataArg) (res PostLocalRes, err error)

func (LocalClient) PostMetadataNonblock

func (c LocalClient) PostMetadataNonblock(ctx context.Context, __arg PostMetadataNonblockArg) (res PostLocalNonblockRes, err error)

func (LocalClient) PostTextNonblock

func (c LocalClient) PostTextNonblock(ctx context.Context, __arg PostTextNonblockArg) (res PostLocalNonblockRes, err error)

func (LocalClient) PreviewConversationByIDLocal

func (c LocalClient) PreviewConversationByIDLocal(ctx context.Context, convID ConversationID) (res JoinLeaveConversationLocalRes, err error)

func (LocalClient) RetryPost

func (c LocalClient) RetryPost(ctx context.Context, outboxID OutboxID) (err error)

func (LocalClient) SetAppNotificationSettingsLocal

func (c LocalClient) SetAppNotificationSettingsLocal(ctx context.Context, __arg SetAppNotificationSettingsLocalArg) (res SetAppNotificationSettingsLocalRes, err error)

func (LocalClient) SetConversationStatusLocal

func (c LocalClient) SetConversationStatusLocal(ctx context.Context, __arg SetConversationStatusLocalArg) (res SetConversationStatusLocalRes, err error)

func (LocalClient) SetGlobalAppNotificationSettingsLocal

func (c LocalClient) SetGlobalAppNotificationSettingsLocal(ctx context.Context, settings map[string]bool) (err error)

func (LocalClient) UnboxMobilePushNotification

func (c LocalClient) UnboxMobilePushNotification(ctx context.Context, __arg UnboxMobilePushNotificationArg) (res string, err error)

func (LocalClient) UpdateTyping

func (c LocalClient) UpdateTyping(ctx context.Context, __arg UpdateTypingArg) (err error)

type LocalFileSource

type LocalFileSource struct {
	Filename string `codec:"filename" json:"filename"`
}

func (LocalFileSource) DeepCopy

func (o LocalFileSource) DeepCopy() LocalFileSource

type LocalInterface

type LocalInterface interface {
	GetThreadLocal(context.Context, GetThreadLocalArg) (GetThreadLocalRes, error)
	GetCachedThread(context.Context, GetCachedThreadArg) (GetThreadLocalRes, error)
	GetThreadNonblock(context.Context, GetThreadNonblockArg) (NonblockFetchRes, error)
	GetInboxAndUnboxLocal(context.Context, GetInboxAndUnboxLocalArg) (GetInboxAndUnboxLocalRes, error)
	GetInboxNonblockLocal(context.Context, GetInboxNonblockLocalArg) (NonblockFetchRes, error)
	PostLocal(context.Context, PostLocalArg) (PostLocalRes, error)
	GenerateOutboxID(context.Context) (OutboxID, error)
	PostLocalNonblock(context.Context, PostLocalNonblockArg) (PostLocalNonblockRes, error)
	PostTextNonblock(context.Context, PostTextNonblockArg) (PostLocalNonblockRes, error)
	PostDeleteNonblock(context.Context, PostDeleteNonblockArg) (PostLocalNonblockRes, error)
	PostEditNonblock(context.Context, PostEditNonblockArg) (PostLocalNonblockRes, error)
	PostHeadlineNonblock(context.Context, PostHeadlineNonblockArg) (PostLocalNonblockRes, error)
	PostHeadline(context.Context, PostHeadlineArg) (PostLocalRes, error)
	PostMetadataNonblock(context.Context, PostMetadataNonblockArg) (PostLocalNonblockRes, error)
	PostMetadata(context.Context, PostMetadataArg) (PostLocalRes, error)
	SetConversationStatusLocal(context.Context, SetConversationStatusLocalArg) (SetConversationStatusLocalRes, error)
	NewConversationLocal(context.Context, NewConversationLocalArg) (NewConversationLocalRes, error)
	GetInboxSummaryForCLILocal(context.Context, GetInboxSummaryForCLILocalQuery) (GetInboxSummaryForCLILocalRes, error)
	GetConversationForCLILocal(context.Context, GetConversationForCLILocalQuery) (GetConversationForCLILocalRes, error)
	GetMessagesLocal(context.Context, GetMessagesLocalArg) (GetMessagesLocalRes, error)
	PostAttachmentLocal(context.Context, PostAttachmentLocalArg) (PostLocalRes, error)
	PostFileAttachmentLocal(context.Context, PostFileAttachmentLocalArg) (PostLocalRes, error)
	DownloadAttachmentLocal(context.Context, DownloadAttachmentLocalArg) (DownloadAttachmentLocalRes, error)
	DownloadFileAttachmentLocal(context.Context, DownloadFileAttachmentLocalArg) (DownloadAttachmentLocalRes, error)
	MakePreview(context.Context, MakePreviewArg) (MakePreviewRes, error)
	CancelPost(context.Context, OutboxID) error
	RetryPost(context.Context, OutboxID) error
	MarkAsReadLocal(context.Context, MarkAsReadLocalArg) (MarkAsReadLocalRes, error)
	FindConversationsLocal(context.Context, FindConversationsLocalArg) (FindConversationsLocalRes, error)
	UpdateTyping(context.Context, UpdateTypingArg) error
	JoinConversationLocal(context.Context, JoinConversationLocalArg) (JoinLeaveConversationLocalRes, error)
	JoinConversationByIDLocal(context.Context, ConversationID) (JoinLeaveConversationLocalRes, error)
	PreviewConversationByIDLocal(context.Context, ConversationID) (JoinLeaveConversationLocalRes, error)
	LeaveConversationLocal(context.Context, ConversationID) (JoinLeaveConversationLocalRes, error)
	DeleteConversationLocal(context.Context, DeleteConversationLocalArg) (DeleteConversationLocalRes, error)
	GetTLFConversationsLocal(context.Context, GetTLFConversationsLocalArg) (GetTLFConversationsLocalRes, error)
	SetAppNotificationSettingsLocal(context.Context, SetAppNotificationSettingsLocalArg) (SetAppNotificationSettingsLocalRes, error)
	SetGlobalAppNotificationSettingsLocal(context.Context, map[string]bool) error
	GetGlobalAppNotificationSettingsLocal(context.Context) (GlobalAppNotificationSettings, error)
	UnboxMobilePushNotification(context.Context, UnboxMobilePushNotificationArg) (string, error)
}

type LocalSource

type LocalSource struct {
	Source   keybase1.Stream `codec:"source" json:"source"`
	Filename string          `codec:"filename" json:"filename"`
	Size     int             `codec:"size" json:"size"`
}

func (LocalSource) DeepCopy

func (o LocalSource) DeepCopy() LocalSource

type MakePreviewArg

type MakePreviewArg struct {
	SessionID  int             `codec:"sessionID" json:"sessionID"`
	Attachment LocalFileSource `codec:"attachment" json:"attachment"`
	OutputDir  string          `codec:"outputDir" json:"outputDir"`
}

type MakePreviewRes

type MakePreviewRes struct {
	MimeType     string         `codec:"mimeType" json:"mimeType"`
	Filename     *string        `codec:"filename,omitempty" json:"filename,omitempty"`
	Metadata     *AssetMetadata `codec:"metadata,omitempty" json:"metadata,omitempty"`
	BaseMetadata *AssetMetadata `codec:"baseMetadata,omitempty" json:"baseMetadata,omitempty"`
}

func (MakePreviewRes) DeepCopy

func (o MakePreviewRes) DeepCopy() MakePreviewRes

type MarkAsReadArg

type MarkAsReadArg struct {
	ConversationID ConversationID `codec:"conversationID" json:"conversationID"`
	MsgID          MessageID      `codec:"msgID" json:"msgID"`
}

type MarkAsReadLocalArg

type MarkAsReadLocalArg struct {
	SessionID      int            `codec:"sessionID" json:"sessionID"`
	ConversationID ConversationID `codec:"conversationID" json:"conversationID"`
	MsgID          MessageID      `codec:"msgID" json:"msgID"`
}

type MarkAsReadLocalRes

type MarkAsReadLocalRes struct {
	Offline    bool        `codec:"offline" json:"offline"`
	RateLimits []RateLimit `codec:"rateLimits" json:"rateLimits"`
}

func (MarkAsReadLocalRes) DeepCopy

func (*MarkAsReadLocalRes) SetOffline

func (r *MarkAsReadLocalRes) SetOffline()

type MarkAsReadRes

type MarkAsReadRes struct {
	RateLimit *RateLimit `codec:"rateLimit,omitempty" json:"rateLimit,omitempty"`
}

func (MarkAsReadRes) DeepCopy

func (o MarkAsReadRes) DeepCopy() MarkAsReadRes

type MembersUpdateInfo

type MembersUpdateInfo struct {
	ConvID ConversationID           `codec:"convID" json:"convID"`
	Member string                   `codec:"member" json:"member"`
	Status ConversationMemberStatus `codec:"status" json:"status"`
}

func (MembersUpdateInfo) DeepCopy

func (o MembersUpdateInfo) DeepCopy() MembersUpdateInfo

type MerkleRoot

type MerkleRoot struct {
	Seqno int64  `codec:"seqno" json:"seqno"`
	Hash  []byte `codec:"hash" json:"hash"`
}

func (MerkleRoot) DeepCopy

func (o MerkleRoot) DeepCopy() MerkleRoot

func (*MerkleRoot) Eq

func (a *MerkleRoot) Eq(b *MerkleRoot) bool

type MessageAttachment

type MessageAttachment struct {
	Object   Asset   `codec:"object" json:"object"`
	Preview  *Asset  `codec:"preview,omitempty" json:"preview,omitempty"`
	Previews []Asset `codec:"previews" json:"previews"`
	Metadata []byte  `codec:"metadata" json:"metadata"`
	Uploaded bool    `codec:"uploaded" json:"uploaded"`
}

func (MessageAttachment) DeepCopy

func (o MessageAttachment) DeepCopy() MessageAttachment

type MessageAttachmentUploaded

type MessageAttachmentUploaded struct {
	MessageID MessageID `codec:"messageID" json:"messageID"`
	Object    Asset     `codec:"object" json:"object"`
	Previews  []Asset   `codec:"previews" json:"previews"`
	Metadata  []byte    `codec:"metadata" json:"metadata"`
}

func (MessageAttachmentUploaded) DeepCopy

type MessageBody

type MessageBody struct {
	MessageType__        MessageType                  `codec:"messageType" json:"messageType"`
	Text__               *MessageText                 `codec:"text,omitempty" json:"text,omitempty"`
	Attachment__         *MessageAttachment           `codec:"attachment,omitempty" json:"attachment,omitempty"`
	Edit__               *MessageEdit                 `codec:"edit,omitempty" json:"edit,omitempty"`
	Delete__             *MessageDelete               `codec:"delete,omitempty" json:"delete,omitempty"`
	Metadata__           *MessageConversationMetadata `codec:"metadata,omitempty" json:"metadata,omitempty"`
	Headline__           *MessageHeadline             `codec:"headline,omitempty" json:"headline,omitempty"`
	Attachmentuploaded__ *MessageAttachmentUploaded   `codec:"attachmentuploaded,omitempty" json:"attachmentuploaded,omitempty"`
	Join__               *MessageJoin                 `codec:"join,omitempty" json:"join,omitempty"`
	Leave__              *MessageLeave                `codec:"leave,omitempty" json:"leave,omitempty"`
	System__             *MessageSystem               `codec:"system,omitempty" json:"system,omitempty"`
}

func NewMessageBodyWithAttachment

func NewMessageBodyWithAttachment(v MessageAttachment) MessageBody

func NewMessageBodyWithAttachmentuploaded

func NewMessageBodyWithAttachmentuploaded(v MessageAttachmentUploaded) MessageBody

func NewMessageBodyWithDelete

func NewMessageBodyWithDelete(v MessageDelete) MessageBody

func NewMessageBodyWithEdit

func NewMessageBodyWithEdit(v MessageEdit) MessageBody

func NewMessageBodyWithHeadline

func NewMessageBodyWithHeadline(v MessageHeadline) MessageBody

func NewMessageBodyWithJoin

func NewMessageBodyWithJoin(v MessageJoin) MessageBody

func NewMessageBodyWithLeave

func NewMessageBodyWithLeave(v MessageLeave) MessageBody

func NewMessageBodyWithMetadata

func NewMessageBodyWithMetadata(v MessageConversationMetadata) MessageBody

func NewMessageBodyWithSystem

func NewMessageBodyWithSystem(v MessageSystem) MessageBody

func NewMessageBodyWithText

func NewMessageBodyWithText(v MessageText) MessageBody

func (MessageBody) Attachment

func (o MessageBody) Attachment() (res MessageAttachment)

func (MessageBody) Attachmentuploaded

func (o MessageBody) Attachmentuploaded() (res MessageAttachmentUploaded)

func (MessageBody) DeepCopy

func (o MessageBody) DeepCopy() MessageBody

func (MessageBody) Delete

func (o MessageBody) Delete() (res MessageDelete)

func (MessageBody) Edit

func (o MessageBody) Edit() (res MessageEdit)

func (MessageBody) Headline

func (o MessageBody) Headline() (res MessageHeadline)

func (MessageBody) Join

func (o MessageBody) Join() (res MessageJoin)

func (MessageBody) Leave

func (o MessageBody) Leave() (res MessageLeave)

func (*MessageBody) MessageType

func (o *MessageBody) MessageType() (ret MessageType, err error)

func (MessageBody) Metadata

func (o MessageBody) Metadata() (res MessageConversationMetadata)

func (MessageBody) System

func (o MessageBody) System() (res MessageSystem)

func (MessageBody) Text

func (o MessageBody) Text() (res MessageText)

type MessageBoxed

type MessageBoxed struct {
	Version          MessageBoxedVersion  `codec:"version" json:"version"`
	ServerHeader     *MessageServerHeader `codec:"serverHeader,omitempty" json:"serverHeader,omitempty"`
	ClientHeader     MessageClientHeader  `codec:"clientHeader" json:"clientHeader"`
	HeaderCiphertext SealedData           `codec:"headerCiphertext" json:"headerCiphertext"`
	BodyCiphertext   EncryptedData        `codec:"bodyCiphertext" json:"bodyCiphertext"`
	VerifyKey        []byte               `codec:"verifyKey" json:"verifyKey"`
	KeyGeneration    int                  `codec:"keyGeneration" json:"keyGeneration"`
}

func (MessageBoxed) DeepCopy

func (o MessageBoxed) DeepCopy() MessageBoxed

func (MessageBoxed) GetMessageID

func (m MessageBoxed) GetMessageID() MessageID

func (MessageBoxed) GetMessageType

func (m MessageBoxed) GetMessageType() MessageType

func (MessageBoxed) Summary

func (m MessageBoxed) Summary() MessageSummary

type MessageBoxedVersion

type MessageBoxedVersion int
const (
	MessageBoxedVersion_VNONE MessageBoxedVersion = 0
	MessageBoxedVersion_V1    MessageBoxedVersion = 1
	MessageBoxedVersion_V2    MessageBoxedVersion = 2
)

func (MessageBoxedVersion) DeepCopy

func (MessageBoxedVersion) String

func (e MessageBoxedVersion) String() string

type MessageClientHeader

type MessageClientHeader struct {
	Conv         ConversationIDTriple     `codec:"conv" json:"conv"`
	TlfName      string                   `codec:"tlfName" json:"tlfName"`
	TlfPublic    bool                     `codec:"tlfPublic" json:"tlfPublic"`
	MessageType  MessageType              `codec:"messageType" json:"messageType"`
	Supersedes   MessageID                `codec:"supersedes" json:"supersedes"`
	Deletes      []MessageID              `codec:"deletes" json:"deletes"`
	Prev         []MessagePreviousPointer `codec:"prev" json:"prev"`
	Sender       gregor1.UID              `codec:"sender" json:"sender"`
	SenderDevice gregor1.DeviceID         `codec:"senderDevice" json:"senderDevice"`
	MerkleRoot   *MerkleRoot              `codec:"merkleRoot,omitempty" json:"merkleRoot,omitempty"`
	OutboxID     *OutboxID                `codec:"outboxID,omitempty" json:"outboxID,omitempty"`
	OutboxInfo   *OutboxInfo              `codec:"outboxInfo,omitempty" json:"outboxInfo,omitempty"`
}

func (MessageClientHeader) DeepCopy

func (MessageClientHeader) TLFNameExpanded

func (h MessageClientHeader) TLFNameExpanded(finalizeInfo *ConversationFinalizeInfo) string

TLFNameExpanded returns a TLF name with a reset suffix if it exists. This version can be used in requests to lookup the TLF.

func (MessageClientHeader) ToVerifiedForTesting

func (h MessageClientHeader) ToVerifiedForTesting() MessageClientHeaderVerified

type MessageClientHeaderVerified

type MessageClientHeaderVerified struct {
	Conv         ConversationIDTriple     `codec:"conv" json:"conv"`
	TlfName      string                   `codec:"tlfName" json:"tlfName"`
	TlfPublic    bool                     `codec:"tlfPublic" json:"tlfPublic"`
	MessageType  MessageType              `codec:"messageType" json:"messageType"`
	Prev         []MessagePreviousPointer `codec:"prev" json:"prev"`
	Sender       gregor1.UID              `codec:"sender" json:"sender"`
	SenderDevice gregor1.DeviceID         `codec:"senderDevice" json:"senderDevice"`
	MerkleRoot   *MerkleRoot              `codec:"merkleRoot,omitempty" json:"merkleRoot,omitempty"`
	OutboxID     *OutboxID                `codec:"outboxID,omitempty" json:"outboxID,omitempty"`
	OutboxInfo   *OutboxInfo              `codec:"outboxInfo,omitempty" json:"outboxInfo,omitempty"`
}

func (MessageClientHeaderVerified) DeepCopy

func (MessageClientHeaderVerified) TLFNameExpanded

func (h MessageClientHeaderVerified) TLFNameExpanded(finalizeInfo *ConversationFinalizeInfo) string

type MessageConversationMetadata

type MessageConversationMetadata struct {
	ConversationTitle string `codec:"conversationTitle" json:"conversationTitle"`
}

func (MessageConversationMetadata) DeepCopy

type MessageDelete

type MessageDelete struct {
	MessageIDs []MessageID `codec:"messageIDs" json:"messageIDs"`
}

func (MessageDelete) DeepCopy

func (o MessageDelete) DeepCopy() MessageDelete

type MessageEdit

type MessageEdit struct {
	MessageID MessageID `codec:"messageID" json:"messageID"`
	Body      string    `codec:"body" json:"body"`
}

func (MessageEdit) DeepCopy

func (o MessageEdit) DeepCopy() MessageEdit

type MessageHeadline

type MessageHeadline struct {
	Headline string `codec:"headline" json:"headline"`
}

func (MessageHeadline) DeepCopy

func (o MessageHeadline) DeepCopy() MessageHeadline

type MessageID

type MessageID uint

func (MessageID) DeepCopy

func (o MessageID) DeepCopy() MessageID

func (MessageID) String

func (mid MessageID) String() string

type MessageIDControl

type MessageIDControl struct {
	Pivot  *MessageID `codec:"pivot,omitempty" json:"pivot,omitempty"`
	Recent bool       `codec:"recent" json:"recent"`
	Num    int        `codec:"num" json:"num"`
}

func (MessageIDControl) DeepCopy

func (o MessageIDControl) DeepCopy() MessageIDControl

type MessageJoin

type MessageJoin struct {
}

func (MessageJoin) DeepCopy

func (o MessageJoin) DeepCopy() MessageJoin

type MessageLeave

type MessageLeave struct {
}

func (MessageLeave) DeepCopy

func (o MessageLeave) DeepCopy() MessageLeave

type MessagePlaintext

type MessagePlaintext struct {
	ClientHeader MessageClientHeader `codec:"clientHeader" json:"clientHeader"`
	MessageBody  MessageBody         `codec:"messageBody" json:"messageBody"`
}

func (MessagePlaintext) DeepCopy

func (o MessagePlaintext) DeepCopy() MessagePlaintext

type MessagePreviousPointer

type MessagePreviousPointer struct {
	Id   MessageID `codec:"id" json:"id"`
	Hash Hash      `codec:"hash" json:"hash"`
}

func (MessagePreviousPointer) DeepCopy

func (MessagePreviousPointer) Eq

type MessageServerHeader

type MessageServerHeader struct {
	MessageID    MessageID    `codec:"messageID" json:"messageID"`
	SupersededBy MessageID    `codec:"supersededBy" json:"supersededBy"`
	Ctime        gregor1.Time `codec:"ctime" json:"ctime"`
}

func (MessageServerHeader) DeepCopy

type MessageSummary

type MessageSummary struct {
	MsgID       MessageID    `codec:"msgID" json:"msgID"`
	MessageType MessageType  `codec:"messageType" json:"messageType"`
	TlfName     string       `codec:"tlfName" json:"tlfName"`
	TlfPublic   bool         `codec:"tlfPublic" json:"tlfPublic"`
	Ctime       gregor1.Time `codec:"ctime" json:"ctime"`
}

func (MessageSummary) DeepCopy

func (o MessageSummary) DeepCopy() MessageSummary

func (MessageSummary) GetMessageID

func (m MessageSummary) GetMessageID() MessageID

func (MessageSummary) GetMessageType

func (m MessageSummary) GetMessageType() MessageType

func (MessageSummary) TLFNameExpanded

func (m MessageSummary) TLFNameExpanded(finalizeInfo *ConversationFinalizeInfo) string

TLFNameExpanded returns a TLF name with a reset suffix if it exists. This version can be used in requests to lookup the TLF.

type MessageSystem

type MessageSystem struct {
	SystemType__        MessageSystemType               `codec:"systemType" json:"systemType"`
	Addedtoteam__       *MessageSystemAddedToTeam       `codec:"addedtoteam,omitempty" json:"addedtoteam,omitempty"`
	Inviteaddedtoteam__ *MessageSystemInviteAddedToTeam `codec:"inviteaddedtoteam,omitempty" json:"inviteaddedtoteam,omitempty"`
	Complexteam__       *MessageSystemComplexTeam       `codec:"complexteam,omitempty" json:"complexteam,omitempty"`
}

func NewMessageSystemWithAddedtoteam

func NewMessageSystemWithAddedtoteam(v MessageSystemAddedToTeam) MessageSystem

func NewMessageSystemWithComplexteam

func NewMessageSystemWithComplexteam(v MessageSystemComplexTeam) MessageSystem

func NewMessageSystemWithInviteaddedtoteam

func NewMessageSystemWithInviteaddedtoteam(v MessageSystemInviteAddedToTeam) MessageSystem

func (MessageSystem) Addedtoteam

func (o MessageSystem) Addedtoteam() (res MessageSystemAddedToTeam)

func (MessageSystem) Complexteam

func (o MessageSystem) Complexteam() (res MessageSystemComplexTeam)

func (MessageSystem) DeepCopy

func (o MessageSystem) DeepCopy() MessageSystem

func (MessageSystem) Inviteaddedtoteam

func (o MessageSystem) Inviteaddedtoteam() (res MessageSystemInviteAddedToTeam)

func (*MessageSystem) SystemType

func (o *MessageSystem) SystemType() (ret MessageSystemType, err error)

type MessageSystemAddedToTeam

type MessageSystemAddedToTeam struct {
	Team    string   `codec:"team" json:"team"`
	Adder   string   `codec:"adder" json:"adder"`
	Addee   string   `codec:"addee" json:"addee"`
	Owners  []string `codec:"owners" json:"owners"`
	Admins  []string `codec:"admins" json:"admins"`
	Writers []string `codec:"writers" json:"writers"`
	Readers []string `codec:"readers" json:"readers"`
}

func (MessageSystemAddedToTeam) DeepCopy

type MessageSystemComplexTeam

type MessageSystemComplexTeam struct {
	Team string `codec:"team" json:"team"`
}

func (MessageSystemComplexTeam) DeepCopy

type MessageSystemInviteAddedToTeam

type MessageSystemInviteAddedToTeam struct {
	Team       string                      `codec:"team" json:"team"`
	Inviter    string                      `codec:"inviter" json:"inviter"`
	Invitee    string                      `codec:"invitee" json:"invitee"`
	Adder      string                      `codec:"adder" json:"adder"`
	InviteType keybase1.TeamInviteCategory `codec:"inviteType" json:"inviteType"`
}

func (MessageSystemInviteAddedToTeam) DeepCopy

type MessageSystemType

type MessageSystemType int
const (
	MessageSystemType_ADDEDTOTEAM       MessageSystemType = 0
	MessageSystemType_INVITEADDEDTOTEAM MessageSystemType = 1
	MessageSystemType_COMPLEXTEAM       MessageSystemType = 2
)

func (MessageSystemType) DeepCopy

func (o MessageSystemType) DeepCopy() MessageSystemType

func (MessageSystemType) String

func (e MessageSystemType) String() string

type MessageText

type MessageText struct {
	Body string `codec:"body" json:"body"`
}

func (MessageText) DeepCopy

func (o MessageText) DeepCopy() MessageText

type MessageType

type MessageType int
const (
	MessageType_NONE               MessageType = 0
	MessageType_TEXT               MessageType = 1
	MessageType_ATTACHMENT         MessageType = 2
	MessageType_EDIT               MessageType = 3
	MessageType_DELETE             MessageType = 4
	MessageType_METADATA           MessageType = 5
	MessageType_TLFNAME            MessageType = 6
	MessageType_HEADLINE           MessageType = 7
	MessageType_ATTACHMENTUPLOADED MessageType = 8
	MessageType_JOIN               MessageType = 9
	MessageType_LEAVE              MessageType = 10
	MessageType_SYSTEM             MessageType = 11
)

func (MessageType) DeepCopy

func (o MessageType) DeepCopy() MessageType

func (MessageType) String

func (t MessageType) String() string

type MessageUnboxed

type MessageUnboxed struct {
	State__       MessageUnboxedState        `codec:"state" json:"state"`
	Valid__       *MessageUnboxedValid       `codec:"valid,omitempty" json:"valid,omitempty"`
	Error__       *MessageUnboxedError       `codec:"error,omitempty" json:"error,omitempty"`
	Outbox__      *OutboxRecord              `codec:"outbox,omitempty" json:"outbox,omitempty"`
	Placeholder__ *MessageUnboxedPlaceholder `codec:"placeholder,omitempty" json:"placeholder,omitempty"`
}

func NewMessageUnboxedWithError

func NewMessageUnboxedWithError(v MessageUnboxedError) MessageUnboxed

func NewMessageUnboxedWithOutbox

func NewMessageUnboxedWithOutbox(v OutboxRecord) MessageUnboxed

func NewMessageUnboxedWithPlaceholder

func NewMessageUnboxedWithPlaceholder(v MessageUnboxedPlaceholder) MessageUnboxed

func NewMessageUnboxedWithValid

func NewMessageUnboxedWithValid(v MessageUnboxedValid) MessageUnboxed

func (MessageUnboxed) DeepCopy

func (o MessageUnboxed) DeepCopy() MessageUnboxed

func (MessageUnboxed) Error

func (o MessageUnboxed) Error() (res MessageUnboxedError)

func (MessageUnboxed) GetMessageID

func (m MessageUnboxed) GetMessageID() MessageID

func (MessageUnboxed) GetMessageType

func (m MessageUnboxed) GetMessageType() MessageType

func (MessageUnboxed) IsValid

func (m MessageUnboxed) IsValid() bool

func (MessageUnboxed) Outbox

func (o MessageUnboxed) Outbox() (res OutboxRecord)

func (MessageUnboxed) Placeholder

func (o MessageUnboxed) Placeholder() (res MessageUnboxedPlaceholder)

func (*MessageUnboxed) State

func (o *MessageUnboxed) State() (ret MessageUnboxedState, err error)

func (MessageUnboxed) Valid

func (o MessageUnboxed) Valid() (res MessageUnboxedValid)

type MessageUnboxedError

type MessageUnboxedError struct {
	ErrType     MessageUnboxedErrorType `codec:"errType" json:"errType"`
	ErrMsg      string                  `codec:"errMsg" json:"errMsg"`
	MessageID   MessageID               `codec:"messageID" json:"messageID"`
	MessageType MessageType             `codec:"messageType" json:"messageType"`
	Ctime       gregor1.Time            `codec:"ctime" json:"ctime"`
}

func (MessageUnboxedError) DeepCopy

type MessageUnboxedErrorType

type MessageUnboxedErrorType int
const (
	MessageUnboxedErrorType_MISC                MessageUnboxedErrorType = 0
	MessageUnboxedErrorType_BADVERSION_CRITICAL MessageUnboxedErrorType = 1
	MessageUnboxedErrorType_BADVERSION          MessageUnboxedErrorType = 2
	MessageUnboxedErrorType_IDENTIFY            MessageUnboxedErrorType = 3
)

func (MessageUnboxedErrorType) DeepCopy

func (MessageUnboxedErrorType) String

func (e MessageUnboxedErrorType) String() string

type MessageUnboxedPlaceholder

type MessageUnboxedPlaceholder struct {
	MessageID MessageID `codec:"messageID" json:"messageID"`
}

func (MessageUnboxedPlaceholder) DeepCopy

type MessageUnboxedState

type MessageUnboxedState int
const (
	MessageUnboxedState_VALID       MessageUnboxedState = 1
	MessageUnboxedState_ERROR       MessageUnboxedState = 2
	MessageUnboxedState_OUTBOX      MessageUnboxedState = 3
	MessageUnboxedState_PLACEHOLDER MessageUnboxedState = 4
)

func (MessageUnboxedState) DeepCopy

func (MessageUnboxedState) String

func (e MessageUnboxedState) String() string

type MessageUnboxedValid

type MessageUnboxedValid struct {
	ClientHeader          MessageClientHeaderVerified `codec:"clientHeader" json:"clientHeader"`
	ServerHeader          MessageServerHeader         `codec:"serverHeader" json:"serverHeader"`
	MessageBody           MessageBody                 `codec:"messageBody" json:"messageBody"`
	SenderUsername        string                      `codec:"senderUsername" json:"senderUsername"`
	SenderDeviceName      string                      `codec:"senderDeviceName" json:"senderDeviceName"`
	SenderDeviceType      string                      `codec:"senderDeviceType" json:"senderDeviceType"`
	BodyHash              Hash                        `codec:"bodyHash" json:"bodyHash"`
	HeaderHash            Hash                        `codec:"headerHash" json:"headerHash"`
	HeaderSignature       *SignatureInfo              `codec:"headerSignature,omitempty" json:"headerSignature,omitempty"`
	VerificationKey       *[]byte                     `codec:"verificationKey,omitempty" json:"verificationKey,omitempty"`
	SenderDeviceRevokedAt *gregor1.Time               `codec:"senderDeviceRevokedAt,omitempty" json:"senderDeviceRevokedAt,omitempty"`
	AtMentionUsernames    []string                    `codec:"atMentionUsernames" json:"atMentionUsernames"`
	AtMentions            []gregor1.UID               `codec:"atMentions" json:"atMentions"`
	ChannelMention        ChannelMention              `codec:"channelMention" json:"channelMention"`
}

func (MessageUnboxedValid) DeepCopy

type NameQuery

type NameQuery struct {
	Name        string                  `codec:"name" json:"name"`
	MembersType ConversationMembersType `codec:"membersType" json:"membersType"`
}

func (NameQuery) DeepCopy

func (o NameQuery) DeepCopy() NameQuery

type NewChatActivityArg

type NewChatActivityArg struct {
	Uid      keybase1.UID `codec:"uid" json:"uid"`
	Activity ChatActivity `codec:"activity" json:"activity"`
}

type NewConversationInfo

type NewConversationInfo struct {
	Conv InboxUIItem `codec:"conv" json:"conv"`
}

func (NewConversationInfo) DeepCopy

type NewConversationLocalArg

type NewConversationLocalArg struct {
	TlfName          string                       `codec:"tlfName" json:"tlfName"`
	TopicType        TopicType                    `codec:"topicType" json:"topicType"`
	TlfVisibility    keybase1.TLFVisibility       `codec:"tlfVisibility" json:"tlfVisibility"`
	TopicName        *string                      `codec:"topicName,omitempty" json:"topicName,omitempty"`
	MembersType      ConversationMembersType      `codec:"membersType" json:"membersType"`
	IdentifyBehavior keybase1.TLFIdentifyBehavior `codec:"identifyBehavior" json:"identifyBehavior"`
}

type NewConversationLocalRes

type NewConversationLocalRes struct {
	Conv             ConversationLocal             `codec:"conv" json:"conv"`
	RateLimits       []RateLimit                   `codec:"rateLimits" json:"rateLimits"`
	IdentifyFailures []keybase1.TLFIdentifyFailure `codec:"identifyFailures" json:"identifyFailures"`
}

func (NewConversationLocalRes) DeepCopy

type NewConversationPayload

type NewConversationPayload struct {
	Action       string         `codec:"Action" json:"Action"`
	ConvID       ConversationID `codec:"convID" json:"convID"`
	InboxVers    InboxVers      `codec:"inboxVers" json:"inboxVers"`
	UnreadUpdate *UnreadUpdate  `codec:"unreadUpdate,omitempty" json:"unreadUpdate,omitempty"`
}

func (NewConversationPayload) DeepCopy

type NewConversationRemote2Arg

type NewConversationRemote2Arg struct {
	IdTriple       ConversationIDTriple    `codec:"idTriple" json:"idTriple"`
	TLFMessage     MessageBoxed            `codec:"TLFMessage" json:"TLFMessage"`
	MembersType    ConversationMembersType `codec:"membersType" json:"membersType"`
	TopicNameState *TopicNameState         `codec:"topicNameState,omitempty" json:"topicNameState,omitempty"`
}

type NewConversationRemoteArg

type NewConversationRemoteArg struct {
	IdTriple ConversationIDTriple `codec:"idTriple" json:"idTriple"`
}

type NewConversationRemoteRes

type NewConversationRemoteRes struct {
	ConvID             ConversationID `codec:"convID" json:"convID"`
	CreatedComplexTeam bool           `codec:"createdComplexTeam" json:"createdComplexTeam"`
	RateLimit          *RateLimit     `codec:"rateLimit,omitempty" json:"rateLimit,omitempty"`
}

func (NewConversationRemoteRes) DeepCopy

type NewMessagePayload

type NewMessagePayload struct {
	Action       string         `codec:"Action" json:"Action"`
	ConvID       ConversationID `codec:"convID" json:"convID"`
	Message      MessageBoxed   `codec:"message" json:"message"`
	InboxVers    InboxVers      `codec:"inboxVers" json:"inboxVers"`
	UnreadUpdate *UnreadUpdate  `codec:"unreadUpdate,omitempty" json:"unreadUpdate,omitempty"`
}

func (NewMessagePayload) DeepCopy

func (o NewMessagePayload) DeepCopy() NewMessagePayload

type NonblockFetchRes

type NonblockFetchRes struct {
	Offline          bool                          `codec:"offline" json:"offline"`
	RateLimits       []RateLimit                   `codec:"rateLimits" json:"rateLimits"`
	IdentifyFailures []keybase1.TLFIdentifyFailure `codec:"identifyFailures" json:"identifyFailures"`
}

func (NonblockFetchRes) DeepCopy

func (o NonblockFetchRes) DeepCopy() NonblockFetchRes

func (*NonblockFetchRes) SetOffline

func (r *NonblockFetchRes) SetOffline()

type NotificationKind

type NotificationKind int
const (
	NotificationKind_GENERIC   NotificationKind = 0
	NotificationKind_ATMENTION NotificationKind = 1
)

func (NotificationKind) DeepCopy

func (o NotificationKind) DeepCopy() NotificationKind

type NotifyChatClient

type NotifyChatClient struct {
	Cli rpc.GenericClient
}

func (NotifyChatClient) ChatIdentifyUpdate

func (c NotifyChatClient) ChatIdentifyUpdate(ctx context.Context, update keybase1.CanonicalTLFNameAndIDWithBreaks) (err error)

func (NotifyChatClient) ChatInboxStale

func (c NotifyChatClient) ChatInboxStale(ctx context.Context, uid keybase1.UID) (err error)

func (NotifyChatClient) ChatInboxSyncStarted

func (c NotifyChatClient) ChatInboxSyncStarted(ctx context.Context, uid keybase1.UID) (err error)

func (NotifyChatClient) ChatInboxSynced

func (c NotifyChatClient) ChatInboxSynced(ctx context.Context, __arg ChatInboxSyncedArg) (err error)

func (NotifyChatClient) ChatJoinedConversation

func (c NotifyChatClient) ChatJoinedConversation(ctx context.Context, __arg ChatJoinedConversationArg) (err error)

func (NotifyChatClient) ChatLeftConversation

func (c NotifyChatClient) ChatLeftConversation(ctx context.Context, __arg ChatLeftConversationArg) (err error)

func (NotifyChatClient) ChatResetConversation

func (c NotifyChatClient) ChatResetConversation(ctx context.Context, __arg ChatResetConversationArg) (err error)

func (NotifyChatClient) ChatTLFFinalize

func (c NotifyChatClient) ChatTLFFinalize(ctx context.Context, __arg ChatTLFFinalizeArg) (err error)

func (NotifyChatClient) ChatTLFResolve

func (c NotifyChatClient) ChatTLFResolve(ctx context.Context, __arg ChatTLFResolveArg) (err error)

func (NotifyChatClient) ChatThreadsStale

func (c NotifyChatClient) ChatThreadsStale(ctx context.Context, __arg ChatThreadsStaleArg) (err error)

func (NotifyChatClient) ChatTypingUpdate

func (c NotifyChatClient) ChatTypingUpdate(ctx context.Context, typingUpdates []ConvTypingUpdate) (err error)

func (NotifyChatClient) NewChatActivity

func (c NotifyChatClient) NewChatActivity(ctx context.Context, __arg NewChatActivityArg) (err error)

type NotifyChatInterface

type NotifyChatInterface interface {
	NewChatActivity(context.Context, NewChatActivityArg) error
	ChatIdentifyUpdate(context.Context, keybase1.CanonicalTLFNameAndIDWithBreaks) error
	ChatTLFFinalize(context.Context, ChatTLFFinalizeArg) error
	ChatTLFResolve(context.Context, ChatTLFResolveArg) error
	ChatInboxStale(context.Context, keybase1.UID) error
	ChatThreadsStale(context.Context, ChatThreadsStaleArg) error
	ChatTypingUpdate(context.Context, []ConvTypingUpdate) error
	ChatJoinedConversation(context.Context, ChatJoinedConversationArg) error
	ChatLeftConversation(context.Context, ChatLeftConversationArg) error
	ChatResetConversation(context.Context, ChatResetConversationArg) error
	ChatInboxSyncStarted(context.Context, keybase1.UID) error
	ChatInboxSynced(context.Context, ChatInboxSyncedArg) error
}

type OfflinableResult

type OfflinableResult interface {
	SetOffline()
}

type OutboxErrorType

type OutboxErrorType int
const (
	OutboxErrorType_MISC      OutboxErrorType = 0
	OutboxErrorType_OFFLINE   OutboxErrorType = 1
	OutboxErrorType_IDENTIFY  OutboxErrorType = 2
	OutboxErrorType_TOOLONG   OutboxErrorType = 3
	OutboxErrorType_DUPLICATE OutboxErrorType = 4
)

func (OutboxErrorType) DeepCopy

func (o OutboxErrorType) DeepCopy() OutboxErrorType

func (OutboxErrorType) String

func (e OutboxErrorType) String() string

type OutboxID

type OutboxID []byte

func (OutboxID) Bytes

func (o OutboxID) Bytes() []byte

func (OutboxID) DeepCopy

func (o OutboxID) DeepCopy() OutboxID

func (*OutboxID) Eq

func (o *OutboxID) Eq(r *OutboxID) bool

func (OutboxID) String

func (o OutboxID) String() string

type OutboxInfo

type OutboxInfo struct {
	Prev        MessageID    `codec:"prev" json:"prev"`
	ComposeTime gregor1.Time `codec:"composeTime" json:"composeTime"`
}

func (OutboxInfo) DeepCopy

func (o OutboxInfo) DeepCopy() OutboxInfo

func (*OutboxInfo) Eq

func (o *OutboxInfo) Eq(r *OutboxInfo) bool

type OutboxRecord

type OutboxRecord struct {
	State            OutboxState                  `codec:"state" json:"state"`
	OutboxID         OutboxID                     `codec:"outboxID" json:"outboxID"`
	ConvID           ConversationID               `codec:"convID" json:"convID"`
	Ctime            gregor1.Time                 `codec:"ctime" json:"ctime"`
	Msg              MessagePlaintext             `codec:"Msg" json:"Msg"`
	IdentifyBehavior keybase1.TLFIdentifyBehavior `codec:"identifyBehavior" json:"identifyBehavior"`
}

func (OutboxRecord) DeepCopy

func (o OutboxRecord) DeepCopy() OutboxRecord

type OutboxState

type OutboxState struct {
	State__   OutboxStateType   `codec:"state" json:"state"`
	Sending__ *int              `codec:"sending,omitempty" json:"sending,omitempty"`
	Error__   *OutboxStateError `codec:"error,omitempty" json:"error,omitempty"`
}

func NewOutboxStateWithError

func NewOutboxStateWithError(v OutboxStateError) OutboxState

func NewOutboxStateWithSending

func NewOutboxStateWithSending(v int) OutboxState

func (OutboxState) DeepCopy

func (o OutboxState) DeepCopy() OutboxState

func (OutboxState) Error

func (o OutboxState) Error() (res OutboxStateError)

func (OutboxState) Sending

func (o OutboxState) Sending() (res int)

func (*OutboxState) State

func (o *OutboxState) State() (ret OutboxStateType, err error)

type OutboxStateError

type OutboxStateError struct {
	Message string          `codec:"message" json:"message"`
	Typ     OutboxErrorType `codec:"typ" json:"typ"`
}

func (OutboxStateError) DeepCopy

func (o OutboxStateError) DeepCopy() OutboxStateError

type OutboxStateType

type OutboxStateType int
const (
	OutboxStateType_SENDING OutboxStateType = 0
	OutboxStateType_ERROR   OutboxStateType = 1
)

func (OutboxStateType) DeepCopy

func (o OutboxStateType) DeepCopy() OutboxStateType

func (OutboxStateType) String

func (e OutboxStateType) String() string

type Pagination

type Pagination struct {
	Next     []byte `codec:"next" json:"next"`
	Previous []byte `codec:"previous" json:"previous"`
	Num      int    `codec:"num" json:"num"`
	Last     bool   `codec:"last" json:"last"`
}

func (Pagination) DeepCopy

func (o Pagination) DeepCopy() Pagination

func (Pagination) Eq

func (p Pagination) Eq(other Pagination) bool

type PostAttachmentLocalArg

type PostAttachmentLocalArg struct {
	SessionID        int                          `codec:"sessionID" json:"sessionID"`
	ConversationID   ConversationID               `codec:"conversationID" json:"conversationID"`
	TlfName          string                       `codec:"tlfName" json:"tlfName"`
	Visibility       keybase1.TLFVisibility       `codec:"visibility" json:"visibility"`
	Attachment       LocalSource                  `codec:"attachment" json:"attachment"`
	Preview          *MakePreviewRes              `codec:"preview,omitempty" json:"preview,omitempty"`
	Title            string                       `codec:"title" json:"title"`
	Metadata         []byte                       `codec:"metadata" json:"metadata"`
	IdentifyBehavior keybase1.TLFIdentifyBehavior `codec:"identifyBehavior" json:"identifyBehavior"`
}

type PostDeleteNonblockArg

type PostDeleteNonblockArg struct {
	ConversationID   ConversationID               `codec:"conversationID" json:"conversationID"`
	TlfName          string                       `codec:"tlfName" json:"tlfName"`
	TlfPublic        bool                         `codec:"tlfPublic" json:"tlfPublic"`
	Supersedes       MessageID                    `codec:"supersedes" json:"supersedes"`
	ClientPrev       MessageID                    `codec:"clientPrev" json:"clientPrev"`
	OutboxID         *OutboxID                    `codec:"outboxID,omitempty" json:"outboxID,omitempty"`
	IdentifyBehavior keybase1.TLFIdentifyBehavior `codec:"identifyBehavior" json:"identifyBehavior"`
}

type PostEditNonblockArg

type PostEditNonblockArg struct {
	ConversationID   ConversationID               `codec:"conversationID" json:"conversationID"`
	TlfName          string                       `codec:"tlfName" json:"tlfName"`
	TlfPublic        bool                         `codec:"tlfPublic" json:"tlfPublic"`
	Supersedes       MessageID                    `codec:"supersedes" json:"supersedes"`
	Body             string                       `codec:"body" json:"body"`
	OutboxID         *OutboxID                    `codec:"outboxID,omitempty" json:"outboxID,omitempty"`
	ClientPrev       MessageID                    `codec:"clientPrev" json:"clientPrev"`
	IdentifyBehavior keybase1.TLFIdentifyBehavior `codec:"identifyBehavior" json:"identifyBehavior"`
}

type PostFileAttachmentLocalArg

type PostFileAttachmentLocalArg struct {
	SessionID        int                          `codec:"sessionID" json:"sessionID"`
	ConversationID   ConversationID               `codec:"conversationID" json:"conversationID"`
	TlfName          string                       `codec:"tlfName" json:"tlfName"`
	Visibility       keybase1.TLFVisibility       `codec:"visibility" json:"visibility"`
	Attachment       LocalFileSource              `codec:"attachment" json:"attachment"`
	Preview          *MakePreviewRes              `codec:"preview,omitempty" json:"preview,omitempty"`
	Title            string                       `codec:"title" json:"title"`
	Metadata         []byte                       `codec:"metadata" json:"metadata"`
	IdentifyBehavior keybase1.TLFIdentifyBehavior `codec:"identifyBehavior" json:"identifyBehavior"`
}

type PostHeadlineArg

type PostHeadlineArg struct {
	ConversationID   ConversationID               `codec:"conversationID" json:"conversationID"`
	TlfName          string                       `codec:"tlfName" json:"tlfName"`
	TlfPublic        bool                         `codec:"tlfPublic" json:"tlfPublic"`
	Headline         string                       `codec:"headline" json:"headline"`
	IdentifyBehavior keybase1.TLFIdentifyBehavior `codec:"identifyBehavior" json:"identifyBehavior"`
}

type PostHeadlineNonblockArg

type PostHeadlineNonblockArg struct {
	ConversationID   ConversationID               `codec:"conversationID" json:"conversationID"`
	TlfName          string                       `codec:"tlfName" json:"tlfName"`
	TlfPublic        bool                         `codec:"tlfPublic" json:"tlfPublic"`
	Headline         string                       `codec:"headline" json:"headline"`
	OutboxID         *OutboxID                    `codec:"outboxID,omitempty" json:"outboxID,omitempty"`
	ClientPrev       MessageID                    `codec:"clientPrev" json:"clientPrev"`
	IdentifyBehavior keybase1.TLFIdentifyBehavior `codec:"identifyBehavior" json:"identifyBehavior"`
}

type PostLocalArg

type PostLocalArg struct {
	ConversationID   ConversationID               `codec:"conversationID" json:"conversationID"`
	Msg              MessagePlaintext             `codec:"msg" json:"msg"`
	IdentifyBehavior keybase1.TLFIdentifyBehavior `codec:"identifyBehavior" json:"identifyBehavior"`
}

type PostLocalNonblockArg

type PostLocalNonblockArg struct {
	ConversationID   ConversationID               `codec:"conversationID" json:"conversationID"`
	Msg              MessagePlaintext             `codec:"msg" json:"msg"`
	ClientPrev       MessageID                    `codec:"clientPrev" json:"clientPrev"`
	OutboxID         *OutboxID                    `codec:"outboxID,omitempty" json:"outboxID,omitempty"`
	IdentifyBehavior keybase1.TLFIdentifyBehavior `codec:"identifyBehavior" json:"identifyBehavior"`
}

type PostLocalNonblockRes

type PostLocalNonblockRes struct {
	RateLimits       []RateLimit                   `codec:"rateLimits" json:"rateLimits"`
	OutboxID         OutboxID                      `codec:"outboxID" json:"outboxID"`
	IdentifyFailures []keybase1.TLFIdentifyFailure `codec:"identifyFailures" json:"identifyFailures"`
}

func (PostLocalNonblockRes) DeepCopy

type PostLocalRes

type PostLocalRes struct {
	RateLimits       []RateLimit                   `codec:"rateLimits" json:"rateLimits"`
	MessageID        MessageID                     `codec:"messageID" json:"messageID"`
	IdentifyFailures []keybase1.TLFIdentifyFailure `codec:"identifyFailures" json:"identifyFailures"`
}

func (PostLocalRes) DeepCopy

func (o PostLocalRes) DeepCopy() PostLocalRes

type PostMetadataArg

type PostMetadataArg struct {
	ConversationID   ConversationID               `codec:"conversationID" json:"conversationID"`
	TlfName          string                       `codec:"tlfName" json:"tlfName"`
	TlfPublic        bool                         `codec:"tlfPublic" json:"tlfPublic"`
	ChannelName      string                       `codec:"channelName" json:"channelName"`
	IdentifyBehavior keybase1.TLFIdentifyBehavior `codec:"identifyBehavior" json:"identifyBehavior"`
}

type PostMetadataNonblockArg

type PostMetadataNonblockArg struct {
	ConversationID   ConversationID               `codec:"conversationID" json:"conversationID"`
	TlfName          string                       `codec:"tlfName" json:"tlfName"`
	TlfPublic        bool                         `codec:"tlfPublic" json:"tlfPublic"`
	ChannelName      string                       `codec:"channelName" json:"channelName"`
	OutboxID         *OutboxID                    `codec:"outboxID,omitempty" json:"outboxID,omitempty"`
	ClientPrev       MessageID                    `codec:"clientPrev" json:"clientPrev"`
	IdentifyBehavior keybase1.TLFIdentifyBehavior `codec:"identifyBehavior" json:"identifyBehavior"`
}

type PostRemoteArg

type PostRemoteArg struct {
	ConversationID ConversationID  `codec:"conversationID" json:"conversationID"`
	MessageBoxed   MessageBoxed    `codec:"messageBoxed" json:"messageBoxed"`
	AtMentions     []gregor1.UID   `codec:"atMentions" json:"atMentions"`
	ChannelMention ChannelMention  `codec:"channelMention" json:"channelMention"`
	TopicNameState *TopicNameState `codec:"topicNameState,omitempty" json:"topicNameState,omitempty"`
}

type PostRemoteRes

type PostRemoteRes struct {
	MsgHeader MessageServerHeader `codec:"msgHeader" json:"msgHeader"`
	RateLimit *RateLimit          `codec:"rateLimit,omitempty" json:"rateLimit,omitempty"`
}

func (PostRemoteRes) DeepCopy

func (o PostRemoteRes) DeepCopy() PostRemoteRes

type PostTextNonblockArg

type PostTextNonblockArg struct {
	ConversationID   ConversationID               `codec:"conversationID" json:"conversationID"`
	TlfName          string                       `codec:"tlfName" json:"tlfName"`
	TlfPublic        bool                         `codec:"tlfPublic" json:"tlfPublic"`
	Body             string                       `codec:"body" json:"body"`
	ClientPrev       MessageID                    `codec:"clientPrev" json:"clientPrev"`
	OutboxID         *OutboxID                    `codec:"outboxID,omitempty" json:"outboxID,omitempty"`
	IdentifyBehavior keybase1.TLFIdentifyBehavior `codec:"identifyBehavior" json:"identifyBehavior"`
}

type PreviewConversationArg

type PreviewConversationArg struct {
	ConvID ConversationID `codec:"convID" json:"convID"`
}

type PreviewConversationByIDLocalArg

type PreviewConversationByIDLocalArg struct {
	ConvID ConversationID `codec:"convID" json:"convID"`
}

type PublishReadMessageArg

type PublishReadMessageArg struct {
	Uid    gregor1.UID    `codec:"uid" json:"uid"`
	ConvID ConversationID `codec:"convID" json:"convID"`
	MsgID  MessageID      `codec:"msgID" json:"msgID"`
}

type PublishSetConversationStatusArg

type PublishSetConversationStatusArg struct {
	Uid    gregor1.UID        `codec:"uid" json:"uid"`
	ConvID ConversationID     `codec:"convID" json:"convID"`
	Status ConversationStatus `codec:"status" json:"status"`
}

type RateLimit

type RateLimit struct {
	Name           string `codec:"name" json:"name"`
	CallsRemaining int    `codec:"callsRemaining" json:"callsRemaining"`
	WindowReset    int    `codec:"windowReset" json:"windowReset"`
	MaxCalls       int    `codec:"maxCalls" json:"maxCalls"`
}

func (RateLimit) DeepCopy

func (o RateLimit) DeepCopy() RateLimit

type ReadMessageInfo

type ReadMessageInfo struct {
	ConvID ConversationID `codec:"convID" json:"convID"`
	MsgID  MessageID      `codec:"msgID" json:"msgID"`
	Conv   *InboxUIItem   `codec:"conv,omitempty" json:"conv,omitempty"`
}

func (ReadMessageInfo) DeepCopy

func (o ReadMessageInfo) DeepCopy() ReadMessageInfo

type ReadMessagePayload

type ReadMessagePayload struct {
	Action       string         `codec:"Action" json:"Action"`
	ConvID       ConversationID `codec:"convID" json:"convID"`
	MsgID        MessageID      `codec:"msgID" json:"msgID"`
	InboxVers    InboxVers      `codec:"inboxVers" json:"inboxVers"`
	UnreadUpdate *UnreadUpdate  `codec:"unreadUpdate,omitempty" json:"unreadUpdate,omitempty"`
}

func (ReadMessagePayload) DeepCopy

type RemoteClient

type RemoteClient struct {
	Cli rpc.GenericClient
}

func (RemoteClient) DeleteConversation

func (c RemoteClient) DeleteConversation(ctx context.Context, convID ConversationID) (res DeleteConversationRemoteRes, err error)

func (RemoteClient) GetGlobalAppNotificationSettings

func (c RemoteClient) GetGlobalAppNotificationSettings(ctx context.Context) (res GlobalAppNotificationSettings, err error)

func (RemoteClient) GetInboxRemote

func (c RemoteClient) GetInboxRemote(ctx context.Context, __arg GetInboxRemoteArg) (res GetInboxRemoteRes, err error)

func (RemoteClient) GetInboxVersion

func (c RemoteClient) GetInboxVersion(ctx context.Context, uid gregor1.UID) (res InboxVers, err error)

func (RemoteClient) GetMessagesRemote

func (c RemoteClient) GetMessagesRemote(ctx context.Context, __arg GetMessagesRemoteArg) (res GetMessagesRemoteRes, err error)

func (RemoteClient) GetPublicConversations

func (c RemoteClient) GetPublicConversations(ctx context.Context, __arg GetPublicConversationsArg) (res GetPublicConversationsRes, err error)

func (RemoteClient) GetS3Params

func (c RemoteClient) GetS3Params(ctx context.Context, conversationID ConversationID) (res S3Params, err error)

func (RemoteClient) GetTLFConversations

func (c RemoteClient) GetTLFConversations(ctx context.Context, __arg GetTLFConversationsArg) (res GetTLFConversationsRes, err error)

func (RemoteClient) GetThreadRemote

func (c RemoteClient) GetThreadRemote(ctx context.Context, __arg GetThreadRemoteArg) (res GetThreadRemoteRes, err error)

func (RemoteClient) GetUnreadUpdateFull

func (c RemoteClient) GetUnreadUpdateFull(ctx context.Context, inboxVers InboxVers) (res UnreadUpdateFull, err error)

func (RemoteClient) JoinConversation

func (c RemoteClient) JoinConversation(ctx context.Context, convID ConversationID) (res JoinLeaveConversationRemoteRes, err error)

func (RemoteClient) LeaveConversation

func (c RemoteClient) LeaveConversation(ctx context.Context, convID ConversationID) (res JoinLeaveConversationRemoteRes, err error)

func (RemoteClient) MarkAsRead

func (c RemoteClient) MarkAsRead(ctx context.Context, __arg MarkAsReadArg) (res MarkAsReadRes, err error)

func (RemoteClient) NewConversationRemote

func (c RemoteClient) NewConversationRemote(ctx context.Context, idTriple ConversationIDTriple) (res NewConversationRemoteRes, err error)

func (RemoteClient) NewConversationRemote2

func (c RemoteClient) NewConversationRemote2(ctx context.Context, __arg NewConversationRemote2Arg) (res NewConversationRemoteRes, err error)

func (RemoteClient) PostRemote

func (c RemoteClient) PostRemote(ctx context.Context, __arg PostRemoteArg) (res PostRemoteRes, err error)

func (RemoteClient) PreviewConversation

func (c RemoteClient) PreviewConversation(ctx context.Context, convID ConversationID) (res JoinLeaveConversationRemoteRes, err error)

func (RemoteClient) PublishReadMessage

func (c RemoteClient) PublishReadMessage(ctx context.Context, __arg PublishReadMessageArg) (err error)

func (RemoteClient) PublishSetConversationStatus

func (c RemoteClient) PublishSetConversationStatus(ctx context.Context, __arg PublishSetConversationStatusArg) (err error)

func (RemoteClient) RemoteNotificationSuccessful

func (c RemoteClient) RemoteNotificationSuccessful(ctx context.Context, __arg RemoteNotificationSuccessfulArg) (err error)

func (RemoteClient) S3Sign

func (c RemoteClient) S3Sign(ctx context.Context, __arg S3SignArg) (res []byte, err error)

func (RemoteClient) SetAppNotificationSettings

func (c RemoteClient) SetAppNotificationSettings(ctx context.Context, __arg SetAppNotificationSettingsArg) (res SetAppNotificationSettingsRes, err error)

func (RemoteClient) SetConversationStatus

func (c RemoteClient) SetConversationStatus(ctx context.Context, __arg SetConversationStatusArg) (res SetConversationStatusRes, err error)

func (RemoteClient) SetGlobalAppNotificationSettings

func (c RemoteClient) SetGlobalAppNotificationSettings(ctx context.Context, settings GlobalAppNotificationSettings) (err error)

func (RemoteClient) SyncAll

func (c RemoteClient) SyncAll(ctx context.Context, __arg SyncAllArg) (res SyncAllResult, err error)

func (RemoteClient) SyncChat

func (c RemoteClient) SyncChat(ctx context.Context, vers InboxVers) (res SyncChatRes, err error)

func (RemoteClient) SyncInbox

func (c RemoteClient) SyncInbox(ctx context.Context, vers InboxVers) (res SyncInboxRes, err error)

func (RemoteClient) TlfFinalize

func (c RemoteClient) TlfFinalize(ctx context.Context, __arg TlfFinalizeArg) (err error)

func (RemoteClient) TlfResolve

func (c RemoteClient) TlfResolve(ctx context.Context, __arg TlfResolveArg) (err error)

func (RemoteClient) UpdateTypingRemote

func (c RemoteClient) UpdateTypingRemote(ctx context.Context, __arg UpdateTypingRemoteArg) (err error)

type RemoteInterface

type RemoteInterface interface {
	GetInboxRemote(context.Context, GetInboxRemoteArg) (GetInboxRemoteRes, error)
	GetThreadRemote(context.Context, GetThreadRemoteArg) (GetThreadRemoteRes, error)
	GetPublicConversations(context.Context, GetPublicConversationsArg) (GetPublicConversationsRes, error)
	PostRemote(context.Context, PostRemoteArg) (PostRemoteRes, error)
	NewConversationRemote(context.Context, ConversationIDTriple) (NewConversationRemoteRes, error)
	NewConversationRemote2(context.Context, NewConversationRemote2Arg) (NewConversationRemoteRes, error)
	GetMessagesRemote(context.Context, GetMessagesRemoteArg) (GetMessagesRemoteRes, error)
	MarkAsRead(context.Context, MarkAsReadArg) (MarkAsReadRes, error)
	SetConversationStatus(context.Context, SetConversationStatusArg) (SetConversationStatusRes, error)
	GetUnreadUpdateFull(context.Context, InboxVers) (UnreadUpdateFull, error)
	GetS3Params(context.Context, ConversationID) (S3Params, error)
	S3Sign(context.Context, S3SignArg) ([]byte, error)
	GetInboxVersion(context.Context, gregor1.UID) (InboxVers, error)
	SyncInbox(context.Context, InboxVers) (SyncInboxRes, error)
	SyncChat(context.Context, InboxVers) (SyncChatRes, error)
	SyncAll(context.Context, SyncAllArg) (SyncAllResult, error)
	TlfFinalize(context.Context, TlfFinalizeArg) error
	TlfResolve(context.Context, TlfResolveArg) error
	PublishReadMessage(context.Context, PublishReadMessageArg) error
	PublishSetConversationStatus(context.Context, PublishSetConversationStatusArg) error
	UpdateTypingRemote(context.Context, UpdateTypingRemoteArg) error
	JoinConversation(context.Context, ConversationID) (JoinLeaveConversationRemoteRes, error)
	LeaveConversation(context.Context, ConversationID) (JoinLeaveConversationRemoteRes, error)
	PreviewConversation(context.Context, ConversationID) (JoinLeaveConversationRemoteRes, error)
	DeleteConversation(context.Context, ConversationID) (DeleteConversationRemoteRes, error)
	GetTLFConversations(context.Context, GetTLFConversationsArg) (GetTLFConversationsRes, error)
	SetAppNotificationSettings(context.Context, SetAppNotificationSettingsArg) (SetAppNotificationSettingsRes, error)
	SetGlobalAppNotificationSettings(context.Context, GlobalAppNotificationSettings) error
	GetGlobalAppNotificationSettings(context.Context) (GlobalAppNotificationSettings, error)
	RemoteNotificationSuccessful(context.Context, RemoteNotificationSuccessfulArg) error
}

type RemoteNotificationSuccessfulArg

type RemoteNotificationSuccessfulArg struct {
	AuthToken        gregor1.SessionToken `codec:"authToken" json:"authToken"`
	CompanionPushIDs []string             `codec:"companionPushIDs" json:"companionPushIDs"`
}

type RemoteUserTypingUpdate

type RemoteUserTypingUpdate struct {
	Uid      gregor1.UID      `codec:"uid" json:"uid"`
	DeviceID gregor1.DeviceID `codec:"deviceID" json:"deviceID"`
	ConvID   ConversationID   `codec:"convID" json:"convID"`
	Typing   bool             `codec:"typing" json:"typing"`
}

func (RemoteUserTypingUpdate) DeepCopy

type RetryPostArg

type RetryPostArg struct {
	OutboxID OutboxID `codec:"outboxID" json:"outboxID"`
}

type S3Params

type S3Params struct {
	Bucket               string `codec:"bucket" json:"bucket"`
	ObjectKey            string `codec:"objectKey" json:"objectKey"`
	AccessKey            string `codec:"accessKey" json:"accessKey"`
	Acl                  string `codec:"acl" json:"acl"`
	RegionName           string `codec:"regionName" json:"regionName"`
	RegionEndpoint       string `codec:"regionEndpoint" json:"regionEndpoint"`
	RegionBucketEndpoint string `codec:"regionBucketEndpoint" json:"regionBucketEndpoint"`
}

func (S3Params) DeepCopy

func (o S3Params) DeepCopy() S3Params

type S3SignArg

type S3SignArg struct {
	Version int    `codec:"version" json:"version"`
	Payload []byte `codec:"payload" json:"payload"`
}

type SealedData

type SealedData struct {
	V int    `codec:"v" json:"v"`
	E []byte `codec:"e" json:"e"`
	N []byte `codec:"n" json:"n"`
}

func (*SealedData) AsEncrypted

func (d *SealedData) AsEncrypted() EncryptedData

func (*SealedData) AsSignEncrypted

func (d *SealedData) AsSignEncrypted() SignEncryptedData

func (SealedData) DeepCopy

func (o SealedData) DeepCopy() SealedData

type ServerCacheVers

type ServerCacheVers struct {
	InboxVers  int `codec:"inboxVers" json:"inboxVers"`
	BodiesVers int `codec:"bodiesVers" json:"bodiesVers"`
}

func (ServerCacheVers) DeepCopy

func (o ServerCacheVers) DeepCopy() ServerCacheVers

type SetAppNotificationSettingsArg

type SetAppNotificationSettingsArg struct {
	ConvID   ConversationID               `codec:"convID" json:"convID"`
	Settings ConversationNotificationInfo `codec:"settings" json:"settings"`
}

type SetAppNotificationSettingsInfo

type SetAppNotificationSettingsInfo struct {
	ConvID   ConversationID               `codec:"convID" json:"convID"`
	Settings ConversationNotificationInfo `codec:"settings" json:"settings"`
}

func (SetAppNotificationSettingsInfo) DeepCopy

type SetAppNotificationSettingsLocalArg

type SetAppNotificationSettingsLocalArg struct {
	ConvID      ConversationID                `codec:"convID" json:"convID"`
	ChannelWide bool                          `codec:"channelWide" json:"channelWide"`
	Settings    []AppNotificationSettingLocal `codec:"settings" json:"settings"`
}

type SetAppNotificationSettingsLocalRes

type SetAppNotificationSettingsLocalRes struct {
	Offline    bool        `codec:"offline" json:"offline"`
	RateLimits []RateLimit `codec:"rateLimits" json:"rateLimits"`
}

func (SetAppNotificationSettingsLocalRes) DeepCopy

func (*SetAppNotificationSettingsLocalRes) SetOffline

func (r *SetAppNotificationSettingsLocalRes) SetOffline()

type SetAppNotificationSettingsPayload

type SetAppNotificationSettingsPayload struct {
	Action    string                       `codec:"Action" json:"Action"`
	ConvID    ConversationID               `codec:"convID" json:"convID"`
	InboxVers InboxVers                    `codec:"inboxVers" json:"inboxVers"`
	Settings  ConversationNotificationInfo `codec:"settings" json:"settings"`
}

func (SetAppNotificationSettingsPayload) DeepCopy

type SetAppNotificationSettingsRes

type SetAppNotificationSettingsRes struct {
	RateLimit *RateLimit `codec:"rateLimit,omitempty" json:"rateLimit,omitempty"`
}

func (SetAppNotificationSettingsRes) DeepCopy

type SetConversationStatusArg

type SetConversationStatusArg struct {
	ConversationID ConversationID     `codec:"conversationID" json:"conversationID"`
	Status         ConversationStatus `codec:"status" json:"status"`
}

type SetConversationStatusLocalArg

type SetConversationStatusLocalArg struct {
	ConversationID   ConversationID               `codec:"conversationID" json:"conversationID"`
	Status           ConversationStatus           `codec:"status" json:"status"`
	IdentifyBehavior keybase1.TLFIdentifyBehavior `codec:"identifyBehavior" json:"identifyBehavior"`
}

type SetConversationStatusLocalRes

type SetConversationStatusLocalRes struct {
	RateLimits       []RateLimit                   `codec:"rateLimits" json:"rateLimits"`
	IdentifyFailures []keybase1.TLFIdentifyFailure `codec:"identifyFailures" json:"identifyFailures"`
}

func (SetConversationStatusLocalRes) DeepCopy

type SetConversationStatusRes

type SetConversationStatusRes struct {
	RateLimit *RateLimit `codec:"rateLimit,omitempty" json:"rateLimit,omitempty"`
}

func (SetConversationStatusRes) DeepCopy

type SetGlobalAppNotificationSettingsArg

type SetGlobalAppNotificationSettingsArg struct {
	Settings GlobalAppNotificationSettings `codec:"settings" json:"settings"`
}

type SetGlobalAppNotificationSettingsLocalArg

type SetGlobalAppNotificationSettingsLocalArg struct {
	Settings map[string]bool `codec:"settings" json:"settings"`
}

type SetStatusInfo

type SetStatusInfo struct {
	ConvID ConversationID     `codec:"convID" json:"convID"`
	Status ConversationStatus `codec:"status" json:"status"`
	Conv   *InboxUIItem       `codec:"conv,omitempty" json:"conv,omitempty"`
}

func (SetStatusInfo) DeepCopy

func (o SetStatusInfo) DeepCopy() SetStatusInfo

type SetStatusPayload

type SetStatusPayload struct {
	Action       string             `codec:"Action" json:"Action"`
	ConvID       ConversationID     `codec:"convID" json:"convID"`
	Status       ConversationStatus `codec:"status" json:"status"`
	InboxVers    InboxVers          `codec:"inboxVers" json:"inboxVers"`
	UnreadUpdate *UnreadUpdate      `codec:"unreadUpdate,omitempty" json:"unreadUpdate,omitempty"`
}

func (SetStatusPayload) DeepCopy

func (o SetStatusPayload) DeepCopy() SetStatusPayload

type SignEncryptedData

type SignEncryptedData struct {
	V int    `codec:"v" json:"v"`
	E []byte `codec:"e" json:"e"`
	N []byte `codec:"n" json:"n"`
}

func (*SignEncryptedData) AsSealed

func (d *SignEncryptedData) AsSealed() SealedData

func (SignEncryptedData) DeepCopy

func (o SignEncryptedData) DeepCopy() SignEncryptedData

type SignatureInfo

type SignatureInfo struct {
	V int    `codec:"v" json:"v"`
	S []byte `codec:"s" json:"s"`
	K []byte `codec:"k" json:"k"`
}

func (SignatureInfo) DeepCopy

func (o SignatureInfo) DeepCopy() SignatureInfo

type StaleUpdateType

type StaleUpdateType int
const (
	StaleUpdateType_CLEAR       StaleUpdateType = 0
	StaleUpdateType_NEWACTIVITY StaleUpdateType = 1
)

func (StaleUpdateType) DeepCopy

func (o StaleUpdateType) DeepCopy() StaleUpdateType

func (StaleUpdateType) String

func (e StaleUpdateType) String() string

type SyncAllArg

type SyncAllArg struct {
	Uid       gregor1.UID          `codec:"uid" json:"uid"`
	DeviceID  gregor1.DeviceID     `codec:"deviceID" json:"deviceID"`
	Session   gregor1.SessionToken `codec:"session" json:"session"`
	InboxVers InboxVers            `codec:"inboxVers" json:"inboxVers"`
	Ctime     gregor1.Time         `codec:"ctime" json:"ctime"`
	Fresh     bool                 `codec:"fresh" json:"fresh"`
	ProtVers  SyncAllProtVers      `codec:"protVers" json:"protVers"`
	HostName  string               `codec:"hostName" json:"hostName"`
}

type SyncAllNotificationRes

type SyncAllNotificationRes struct {
	Typ__         SyncAllNotificationType `codec:"typ" json:"typ"`
	State__       *gregor1.State          `codec:"state,omitempty" json:"state,omitempty"`
	Incremental__ *gregor1.SyncResult     `codec:"incremental,omitempty" json:"incremental,omitempty"`
}

func NewSyncAllNotificationResWithIncremental

func NewSyncAllNotificationResWithIncremental(v gregor1.SyncResult) SyncAllNotificationRes

func NewSyncAllNotificationResWithState

func NewSyncAllNotificationResWithState(v gregor1.State) SyncAllNotificationRes

func (SyncAllNotificationRes) DeepCopy

func (SyncAllNotificationRes) Incremental

func (o SyncAllNotificationRes) Incremental() (res gregor1.SyncResult)

func (SyncAllNotificationRes) State

func (o SyncAllNotificationRes) State() (res gregor1.State)

func (*SyncAllNotificationRes) Typ

type SyncAllNotificationType

type SyncAllNotificationType int
const (
	SyncAllNotificationType_STATE       SyncAllNotificationType = 0
	SyncAllNotificationType_INCREMENTAL SyncAllNotificationType = 1
)

func (SyncAllNotificationType) DeepCopy

func (SyncAllNotificationType) String

func (e SyncAllNotificationType) String() string

type SyncAllProtVers

type SyncAllProtVers int
const (
	SyncAllProtVers_V0 SyncAllProtVers = 0
	SyncAllProtVers_V1 SyncAllProtVers = 1
)

func (SyncAllProtVers) DeepCopy

func (o SyncAllProtVers) DeepCopy() SyncAllProtVers

func (SyncAllProtVers) String

func (e SyncAllProtVers) String() string

type SyncAllResult

type SyncAllResult struct {
	Auth         gregor1.AuthResult     `codec:"auth" json:"auth"`
	Chat         SyncChatRes            `codec:"chat" json:"chat"`
	Notification SyncAllNotificationRes `codec:"notification" json:"notification"`
	Badge        UnreadUpdateFull       `codec:"badge" json:"badge"`
}

func (SyncAllResult) DeepCopy

func (o SyncAllResult) DeepCopy() SyncAllResult

type SyncChatArg

type SyncChatArg struct {
	Vers InboxVers `codec:"vers" json:"vers"`
}

type SyncChatRes

type SyncChatRes struct {
	CacheVers ServerCacheVers `codec:"cacheVers" json:"cacheVers"`
	InboxRes  SyncInboxRes    `codec:"inboxRes" json:"inboxRes"`
}

func (SyncChatRes) DeepCopy

func (o SyncChatRes) DeepCopy() SyncChatRes

type SyncInboxArg

type SyncInboxArg struct {
	Vers InboxVers `codec:"vers" json:"vers"`
}

type SyncInboxRes

type SyncInboxRes struct {
	Typ__         SyncInboxResType    `codec:"typ" json:"typ"`
	Incremental__ *SyncIncrementalRes `codec:"incremental,omitempty" json:"incremental,omitempty"`
}

func NewSyncInboxResWithClear

func NewSyncInboxResWithClear() SyncInboxRes

func NewSyncInboxResWithCurrent

func NewSyncInboxResWithCurrent() SyncInboxRes

func NewSyncInboxResWithIncremental

func NewSyncInboxResWithIncremental(v SyncIncrementalRes) SyncInboxRes

func (SyncInboxRes) DeepCopy

func (o SyncInboxRes) DeepCopy() SyncInboxRes

func (SyncInboxRes) Incremental

func (o SyncInboxRes) Incremental() (res SyncIncrementalRes)

func (*SyncInboxRes) Typ

func (o *SyncInboxRes) Typ() (ret SyncInboxResType, err error)

type SyncInboxResType

type SyncInboxResType int
const (
	SyncInboxResType_CURRENT     SyncInboxResType = 0
	SyncInboxResType_INCREMENTAL SyncInboxResType = 1
	SyncInboxResType_CLEAR       SyncInboxResType = 2
)

func (SyncInboxResType) DeepCopy

func (o SyncInboxResType) DeepCopy() SyncInboxResType

func (SyncInboxResType) String

func (e SyncInboxResType) String() string

type SyncIncrementalRes

type SyncIncrementalRes struct {
	Vers  InboxVers      `codec:"vers" json:"vers"`
	Convs []Conversation `codec:"convs" json:"convs"`
}

func (SyncIncrementalRes) DeepCopy

type TLFConvOrdinal

type TLFConvOrdinal uint

func (TLFConvOrdinal) DeepCopy

func (o TLFConvOrdinal) DeepCopy() TLFConvOrdinal

func (TLFConvOrdinal) Int

func (o TLFConvOrdinal) Int() int

func (TLFConvOrdinal) IsFirst

func (o TLFConvOrdinal) IsFirst() bool

type TLFFinalizeUpdate

type TLFFinalizeUpdate struct {
	FinalizeInfo ConversationFinalizeInfo `codec:"finalizeInfo" json:"finalizeInfo"`
	ConvIDs      []ConversationID         `codec:"convIDs" json:"convIDs"`
	InboxVers    InboxVers                `codec:"inboxVers" json:"inboxVers"`
}

func (TLFFinalizeUpdate) DeepCopy

func (o TLFFinalizeUpdate) DeepCopy() TLFFinalizeUpdate

type TLFID

type TLFID []byte

func MakeTLFID

func MakeTLFID(val string) (TLFID, error)

func (TLFID) Bytes

func (id TLFID) Bytes() []byte

func (TLFID) DeepCopy

func (o TLFID) DeepCopy() TLFID

func (TLFID) Eq

func (id TLFID) Eq(other TLFID) bool

Eq compares two TLFIDs

func (TLFID) EqString

func (id TLFID) EqString(other fmt.Stringer) bool

EqString is like EqualsTo, except that it accepts a fmt.Stringer. This can be useful for comparing keybase1.TLFID and chat1.TLFID.

func (TLFID) String

func (id TLFID) String() string

type TLFResolveUpdate

type TLFResolveUpdate struct {
	ConvID    ConversationID `codec:"convID" json:"convID"`
	InboxVers InboxVers      `codec:"inboxVers" json:"inboxVers"`
}

func (TLFResolveUpdate) DeepCopy

func (o TLFResolveUpdate) DeepCopy() TLFResolveUpdate

type TeamChannelUpdate

type TeamChannelUpdate struct {
	TeamID TLFID `codec:"teamID" json:"teamID"`
}

func (TeamChannelUpdate) DeepCopy

func (o TeamChannelUpdate) DeepCopy() TeamChannelUpdate

type TeamType

type TeamType int
const (
	TeamType_NONE    TeamType = 0
	TeamType_SIMPLE  TeamType = 1
	TeamType_COMPLEX TeamType = 2
)

func (TeamType) DeepCopy

func (o TeamType) DeepCopy() TeamType

func (TeamType) String

func (e TeamType) String() string

type TeamTypeInfo

type TeamTypeInfo struct {
	ConvID   ConversationID `codec:"convID" json:"convID"`
	TeamType TeamType       `codec:"teamType" json:"teamType"`
	Conv     *InboxUIItem   `codec:"conv,omitempty" json:"conv,omitempty"`
}

func (TeamTypeInfo) DeepCopy

func (o TeamTypeInfo) DeepCopy() TeamTypeInfo

type TeamTypePayload

type TeamTypePayload struct {
	Action       string         `codec:"Action" json:"Action"`
	ConvID       ConversationID `codec:"convID" json:"convID"`
	TeamType     TeamType       `codec:"teamType" json:"teamType"`
	InboxVers    InboxVers      `codec:"inboxVers" json:"inboxVers"`
	UnreadUpdate *UnreadUpdate  `codec:"unreadUpdate,omitempty" json:"unreadUpdate,omitempty"`
}

func (TeamTypePayload) DeepCopy

func (o TeamTypePayload) DeepCopy() TeamTypePayload

type ThreadID

type ThreadID []byte

func (ThreadID) DeepCopy

func (o ThreadID) DeepCopy() ThreadID

type ThreadView

type ThreadView struct {
	Messages   []MessageUnboxed `codec:"messages" json:"messages"`
	Pagination *Pagination      `codec:"pagination,omitempty" json:"pagination,omitempty"`
}

func (ThreadView) DeepCopy

func (o ThreadView) DeepCopy() ThreadView

type ThreadViewBoxed

type ThreadViewBoxed struct {
	Messages   []MessageBoxed `codec:"messages" json:"messages"`
	Pagination *Pagination    `codec:"pagination,omitempty" json:"pagination,omitempty"`
}

func (ThreadViewBoxed) DeepCopy

func (o ThreadViewBoxed) DeepCopy() ThreadViewBoxed

type TlfFinalizeArg

type TlfFinalizeArg struct {
	TlfID          TLFID        `codec:"tlfID" json:"tlfID"`
	ResetUser      string       `codec:"resetUser" json:"resetUser"`
	ResetDate      string       `codec:"resetDate" json:"resetDate"`
	ResetTimestamp gregor1.Time `codec:"resetTimestamp" json:"resetTimestamp"`
	ResetFull      string       `codec:"resetFull" json:"resetFull"`
}

type TlfResolveArg

type TlfResolveArg struct {
	TlfID           TLFID         `codec:"tlfID" json:"tlfID"`
	ResolvedWriters []gregor1.UID `codec:"resolvedWriters" json:"resolvedWriters"`
	ResolvedReaders []gregor1.UID `codec:"resolvedReaders" json:"resolvedReaders"`
}

type TopicID

type TopicID []byte

func MakeTopicID

func MakeTopicID(val string) (TopicID, error)

func (TopicID) DeepCopy

func (o TopicID) DeepCopy() TopicID

func (TopicID) String

func (t TopicID) String() string

type TopicNameState

type TopicNameState []byte

func (TopicNameState) Bytes

func (s TopicNameState) Bytes() []byte

func (TopicNameState) DeepCopy

func (o TopicNameState) DeepCopy() TopicNameState

func (TopicNameState) Eq

type TopicType

type TopicType int
const (
	TopicType_NONE TopicType = 0
	TopicType_CHAT TopicType = 1
	TopicType_DEV  TopicType = 2
)

func MakeTopicType

func MakeTopicType(val int64) TopicType

func (TopicType) DeepCopy

func (o TopicType) DeepCopy() TopicType

func (TopicType) String

func (t TopicType) String() string

type TyperInfo

type TyperInfo struct {
	Uid        keybase1.UID      `codec:"uid" json:"uid"`
	Username   string            `codec:"username" json:"username"`
	DeviceID   keybase1.DeviceID `codec:"deviceID" json:"deviceID"`
	DeviceName string            `codec:"deviceName" json:"deviceName"`
	DeviceType string            `codec:"deviceType" json:"deviceType"`
}

func (TyperInfo) DeepCopy

func (o TyperInfo) DeepCopy() TyperInfo

func (TyperInfo) String

func (t TyperInfo) String() string

type UIMessage

type UIMessage struct {
	State__       MessageUnboxedState        `codec:"state" json:"state"`
	Valid__       *UIMessageValid            `codec:"valid,omitempty" json:"valid,omitempty"`
	Error__       *MessageUnboxedError       `codec:"error,omitempty" json:"error,omitempty"`
	Outbox__      *UIMessageOutbox           `codec:"outbox,omitempty" json:"outbox,omitempty"`
	Placeholder__ *MessageUnboxedPlaceholder `codec:"placeholder,omitempty" json:"placeholder,omitempty"`
}

func NewUIMessageWithError

func NewUIMessageWithError(v MessageUnboxedError) UIMessage

func NewUIMessageWithOutbox

func NewUIMessageWithOutbox(v UIMessageOutbox) UIMessage

func NewUIMessageWithPlaceholder

func NewUIMessageWithPlaceholder(v MessageUnboxedPlaceholder) UIMessage

func NewUIMessageWithValid

func NewUIMessageWithValid(v UIMessageValid) UIMessage

func (UIMessage) DeepCopy

func (o UIMessage) DeepCopy() UIMessage

func (UIMessage) Error

func (o UIMessage) Error() (res MessageUnboxedError)

func (UIMessage) GetMessageID

func (m UIMessage) GetMessageID() MessageID

func (UIMessage) GetMessageType

func (m UIMessage) GetMessageType() MessageType

func (UIMessage) IsValid

func (m UIMessage) IsValid() bool

func (UIMessage) Outbox

func (o UIMessage) Outbox() (res UIMessageOutbox)

func (UIMessage) Placeholder

func (o UIMessage) Placeholder() (res MessageUnboxedPlaceholder)

func (*UIMessage) State

func (o *UIMessage) State() (ret MessageUnboxedState, err error)

func (UIMessage) Valid

func (o UIMessage) Valid() (res UIMessageValid)

type UIMessageOutbox

type UIMessageOutbox struct {
	State       OutboxState  `codec:"state" json:"state"`
	OutboxID    string       `codec:"outboxID" json:"outboxID"`
	MessageType MessageType  `codec:"messageType" json:"messageType"`
	Body        string       `codec:"body" json:"body"`
	Ctime       gregor1.Time `codec:"ctime" json:"ctime"`
}

func (UIMessageOutbox) DeepCopy

func (o UIMessageOutbox) DeepCopy() UIMessageOutbox

type UIMessageValid

type UIMessageValid struct {
	MessageID             MessageID      `codec:"messageID" json:"messageID"`
	Ctime                 gregor1.Time   `codec:"ctime" json:"ctime"`
	OutboxID              *string        `codec:"outboxID,omitempty" json:"outboxID,omitempty"`
	MessageBody           MessageBody    `codec:"messageBody" json:"messageBody"`
	SenderUsername        string         `codec:"senderUsername" json:"senderUsername"`
	SenderDeviceName      string         `codec:"senderDeviceName" json:"senderDeviceName"`
	SenderDeviceType      string         `codec:"senderDeviceType" json:"senderDeviceType"`
	Superseded            bool           `codec:"superseded" json:"superseded"`
	SenderDeviceRevokedAt *gregor1.Time  `codec:"senderDeviceRevokedAt,omitempty" json:"senderDeviceRevokedAt,omitempty"`
	AtMentions            []string       `codec:"atMentions" json:"atMentions"`
	ChannelMention        ChannelMention `codec:"channelMention" json:"channelMention"`
	ChannelNameMentions   []string       `codec:"channelNameMentions" json:"channelNameMentions"`
}

func (UIMessageValid) DeepCopy

func (o UIMessageValid) DeepCopy() UIMessageValid

type UIMessages

type UIMessages struct {
	Messages   []UIMessage   `codec:"messages" json:"messages"`
	Pagination *UIPagination `codec:"pagination,omitempty" json:"pagination,omitempty"`
}

func (UIMessages) DeepCopy

func (o UIMessages) DeepCopy() UIMessages

type UIPagination

type UIPagination struct {
	Next     string `codec:"next" json:"next"`
	Previous string `codec:"previous" json:"previous"`
	Num      int    `codec:"num" json:"num"`
	Last     bool   `codec:"last" json:"last"`
}

func (UIPagination) DeepCopy

func (o UIPagination) DeepCopy() UIPagination

type UnboxMobilePushNotificationArg

type UnboxMobilePushNotificationArg struct {
	Payload     string                  `codec:"payload" json:"payload"`
	ConvID      string                  `codec:"convID" json:"convID"`
	MembersType ConversationMembersType `codec:"membersType" json:"membersType"`
	PushIDs     []string                `codec:"pushIDs" json:"pushIDs"`
}

type UnreadFirstNumLimit

type UnreadFirstNumLimit struct {
	NumRead int `codec:"NumRead" json:"NumRead"`
	AtLeast int `codec:"AtLeast" json:"AtLeast"`
	AtMost  int `codec:"AtMost" json:"AtMost"`
}

func (UnreadFirstNumLimit) DeepCopy

type UnreadUpdate

type UnreadUpdate struct {
	ConvID                  ConversationID              `codec:"convID" json:"convID"`
	UnreadMessages          int                         `codec:"unreadMessages" json:"unreadMessages"`
	UnreadNotifyingMessages map[keybase1.DeviceType]int `codec:"unreadNotifyingMessages" json:"unreadNotifyingMessages"`
}

func MakeEmptyUnreadUpdate

func MakeEmptyUnreadUpdate(convID ConversationID) UnreadUpdate

func (UnreadUpdate) DeepCopy

func (o UnreadUpdate) DeepCopy() UnreadUpdate

type UnreadUpdateFull

type UnreadUpdateFull struct {
	Ignore          bool             `codec:"ignore" json:"ignore"`
	InboxVers       InboxVers        `codec:"inboxVers" json:"inboxVers"`
	InboxSyncStatus SyncInboxResType `codec:"inboxSyncStatus" json:"inboxSyncStatus"`
	Updates         []UnreadUpdate   `codec:"updates" json:"updates"`
}

func (UnreadUpdateFull) DeepCopy

func (o UnreadUpdateFull) DeepCopy() UnreadUpdateFull

type UnverifiedInboxUIItem

type UnverifiedInboxUIItem struct {
	ConvID        string                         `codec:"convID" json:"convID"`
	Name          string                         `codec:"name" json:"name"`
	Visibility    keybase1.TLFVisibility         `codec:"visibility" json:"visibility"`
	Status        ConversationStatus             `codec:"status" json:"status"`
	MembersType   ConversationMembersType        `codec:"membersType" json:"membersType"`
	MemberStatus  ConversationMemberStatus       `codec:"memberStatus" json:"memberStatus"`
	TeamType      TeamType                       `codec:"teamType" json:"teamType"`
	Notifications *ConversationNotificationInfo  `codec:"notifications,omitempty" json:"notifications,omitempty"`
	Time          gregor1.Time                   `codec:"time" json:"time"`
	Version       ConversationVers               `codec:"version" json:"version"`
	MaxMsgID      MessageID                      `codec:"maxMsgID" json:"maxMsgID"`
	LocalMetadata *UnverifiedInboxUIItemMetadata `codec:"localMetadata,omitempty" json:"localMetadata,omitempty"`
}

func (UnverifiedInboxUIItem) DeepCopy

type UnverifiedInboxUIItemMetadata

type UnverifiedInboxUIItemMetadata struct {
	ChannelName       string   `codec:"channelName" json:"channelName"`
	Headline          string   `codec:"headline" json:"headline"`
	Snippet           string   `codec:"snippet" json:"snippet"`
	WriterNames       []string `codec:"writerNames" json:"writerNames"`
	ResetParticipants []string `codec:"resetParticipants" json:"resetParticipants"`
}

func (UnverifiedInboxUIItemMetadata) DeepCopy

type UnverifiedInboxUIItems

type UnverifiedInboxUIItems struct {
	Items      []UnverifiedInboxUIItem `codec:"items" json:"items"`
	Pagination *UIPagination           `codec:"pagination,omitempty" json:"pagination,omitempty"`
	Offline    bool                    `codec:"offline" json:"offline"`
}

func (UnverifiedInboxUIItems) DeepCopy

type UpdateConversationMembership

type UpdateConversationMembership struct {
	InboxVers     InboxVers            `codec:"inboxVers" json:"inboxVers"`
	Joined        []ConversationMember `codec:"joined" json:"joined"`
	Removed       []ConversationMember `codec:"removed" json:"removed"`
	Reset         []ConversationMember `codec:"reset" json:"reset"`
	Previewed     []ConversationID     `codec:"previewed" json:"previewed"`
	UnreadUpdate  *UnreadUpdate        `codec:"unreadUpdate,omitempty" json:"unreadUpdate,omitempty"`
	UnreadUpdates []UnreadUpdate       `codec:"unreadUpdates" json:"unreadUpdates"`
}

func (UpdateConversationMembership) DeepCopy

type UpdateTypingArg

type UpdateTypingArg struct {
	ConversationID ConversationID `codec:"conversationID" json:"conversationID"`
	Typing         bool           `codec:"typing" json:"typing"`
}

type UpdateTypingRemoteArg

type UpdateTypingRemoteArg struct {
	Uid      gregor1.UID      `codec:"uid" json:"uid"`
	DeviceID gregor1.DeviceID `codec:"deviceID" json:"deviceID"`
	ConvID   ConversationID   `codec:"convID" json:"convID"`
	Typing   bool             `codec:"typing" json:"typing"`
}

Jump to

Keyboard shortcuts

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