chat1

package
v5.3.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2020 License: BSD-3-Clause, BSD-3-Clause Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const DbShortFormLen = 10
View Source
const MaxChanMentionConvSize = 100

If a conversation is larger, only admins can @channel.

View Source
const ShowExplosionLifetime = time.Hour * 24 * 7

we will show some representation of an exploded message in the UI for a week

Variables

View Source
var AssetMetadataTypeMap = map[string]AssetMetadataType{
	"NONE":  0,
	"IMAGE": 1,
	"VIDEO": 2,
}
View Source
var AssetMetadataTypeRevMap = map[AssetMetadataType]string{
	0: "NONE",
	1: "IMAGE",
	2: "VIDEO",
}
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 BotCommandsAdvertisementTypMap = map[string]BotCommandsAdvertisementTyp{
	"PUBLIC":        0,
	"TLFID_MEMBERS": 1,
	"TLFID_CONVS":   2,
}
View Source
var BotCommandsAdvertisementTypRevMap = map[BotCommandsAdvertisementTyp]string{
	0: "PUBLIC",
	1: "TLFID_MEMBERS",
	2: "TLFID_CONVS",
}
View Source
var BotInfoResponseTypMap = map[string]BotInfoResponseTyp{
	"UPTODATE": 0,
	"INFO":     1,
}
View Source
var BotInfoResponseTypRevMap = map[BotInfoResponseTyp]string{
	0: "UPTODATE",
	1: "INFO",
}
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 ChatActivitySourceMap = map[string]ChatActivitySource{
	"LOCAL":  0,
	"REMOTE": 1,
}
View Source
var ChatActivitySourceRevMap = map[ChatActivitySource]string{
	0: "LOCAL",
	1: "REMOTE",
}
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,
	"EXPUNGE":                       9,
	"EPHEMERAL_PURGE":               10,
	"REACTION_UPDATE":               11,
	"MESSAGES_UPDATED":              12,
}
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",
	9:  "EXPUNGE",
	10: "EPHEMERAL_PURGE",
	11: "REACTION_UPDATE",
	12: "MESSAGES_UPDATED",
}
View Source
var ConversationBuiltinCommandTypMap = map[string]ConversationBuiltinCommandTyp{
	"NONE":           0,
	"ADHOC":          1,
	"SMALLTEAM":      2,
	"BIGTEAM":        3,
	"BIGTEAMGENERAL": 4,
}
View Source
var ConversationBuiltinCommandTypRevMap = map[ConversationBuiltinCommandTyp]string{
	0: "NONE",
	1: "ADHOC",
	2: "SMALLTEAM",
	3: "BIGTEAM",
	4: "BIGTEAMGENERAL",
}
View Source
var ConversationCommandGroupsTypMap = map[string]ConversationCommandGroupsTyp{
	"BUILTIN": 0,
	"CUSTOM":  1,
	"NONE":    2,
}
View Source
var ConversationCommandGroupsTypRevMap = map[ConversationCommandGroupsTyp]string{
	0: "BUILTIN",
	1: "CUSTOM",
	2: "NONE",
}
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,
	"ABANDONED": 3,
}
View Source
var ConversationExistenceRevMap = map[ConversationExistence]string{
	0: "ACTIVE",
	1: "ARCHIVED",
	2: "DELETED",
	3: "ABANDONED",
}
View Source
var ConversationMemberStatusMap = map[string]ConversationMemberStatus{
	"ACTIVE":       0,
	"REMOVED":      1,
	"LEFT":         2,
	"PREVIEW":      3,
	"RESET":        4,
	"NEVER_JOINED": 5,
}
View Source
var ConversationMemberStatusRevMap = map[ConversationMemberStatus]string{
	0: "ACTIVE",
	1: "REMOVED",
	2: "LEFT",
	3: "PREVIEW",
	4: "RESET",
	5: "NEVER_JOINED",
}
View Source
var ConversationMembersTypeMap = map[string]ConversationMembersType{
	"KBFS":           0,
	"TEAM":           1,
	"IMPTEAMNATIVE":  2,
	"IMPTEAMUPGRADE": 3,
}
View Source
var ConversationMembersTypeRevMap = map[ConversationMembersType]string{
	0: "KBFS",
	1: "TEAM",
	2: "IMPTEAMNATIVE",
	3: "IMPTEAMUPGRADE",
}
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 ExternalAPIKeyTypMap = map[string]ExternalAPIKeyTyp{
	"GOOGLEMAPS": 0,
	"GIPHY":      1,
}
View Source
var ExternalAPIKeyTypRevMap = map[ExternalAPIKeyTyp]string{
	0: "GOOGLEMAPS",
	1: "GIPHY",
}
View Source
var GalleryItemTypMap = map[string]GalleryItemTyp{
	"MEDIA": 0,
	"LINK":  1,
	"DOC":   2,
}
View Source
var GalleryItemTypRevMap = map[GalleryItemTyp]string{
	0: "MEDIA",
	1: "LINK",
	2: "DOC",
}
View Source
var GetThreadNonblockCbModeMap = map[string]GetThreadNonblockCbMode{
	"FULL":        0,
	"INCREMENTAL": 1,
}
View Source
var GetThreadNonblockCbModeRevMap = map[GetThreadNonblockCbMode]string{
	0: "FULL",
	1: "INCREMENTAL",
}
View Source
var GetThreadNonblockPgModeMap = map[string]GetThreadNonblockPgMode{
	"DEFAULT": 0,
	"SERVER":  1,
}
View Source
var GetThreadNonblockPgModeRevMap = map[GetThreadNonblockPgMode]string{
	0: "DEFAULT",
	1: "SERVER",
}
View Source
var GetThreadReasonMap = map[string]GetThreadReason{
	"GENERAL":            0,
	"PUSH":               1,
	"FOREGROUND":         2,
	"BACKGROUNDCONVLOAD": 3,
	"FIXRETRY":           4,
	"PREPARE":            5,
	"SEARCHER":           6,
	"INDEXED_SEARCH":     7,
	"KBFSFILEACTIVITY":   8,
	"COINFLIP":           9,
	"BOTCOMMANDS":        10,
}
View Source
var GetThreadReasonRevMap = map[GetThreadReason]string{
	0:  "GENERAL",
	1:  "PUSH",
	2:  "FOREGROUND",
	3:  "BACKGROUNDCONVLOAD",
	4:  "FIXRETRY",
	5:  "PREPARE",
	6:  "SEARCHER",
	7:  "INDEXED_SEARCH",
	8:  "KBFSFILEACTIVITY",
	9:  "COINFLIP",
	10: "BOTCOMMANDS",
}
View Source
var GlobalAppNotificationSettingMap = map[string]GlobalAppNotificationSetting{
	"NEWMESSAGES":        0,
	"PLAINTEXTMOBILE":    1,
	"PLAINTEXTDESKTOP":   2,
	"DEFAULTSOUNDMOBILE": 3,
	"DISABLETYPING":      4,
}
View Source
var GlobalAppNotificationSettingRevMap = map[GlobalAppNotificationSetting]string{
	0: "NEWMESSAGES",
	1: "PLAINTEXTMOBILE",
	2: "PLAINTEXTDESKTOP",
	3: "DEFAULTSOUNDMOBILE",
	4: "DISABLETYPING",
}
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 InboxLayoutReselectModeMap = map[string]InboxLayoutReselectMode{
	"DEFAULT": 0,
	"FORCE":   1,
}
View Source
var InboxLayoutReselectModeRevMap = map[InboxLayoutReselectMode]string{
	0: "DEFAULT",
	1: "FORCE",
}
View Source
var InboxParticipantsModeMap = map[string]InboxParticipantsMode{
	"ALL":        0,
	"SKIP_TEAMS": 1,
}
View Source
var InboxParticipantsModeRevMap = map[InboxParticipantsMode]string{
	0: "ALL",
	1: "SKIP_TEAMS",
}
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 JourneycardTypeMap = map[string]JourneycardType{
	"WELCOME":          0,
	"POPULAR_CHANNELS": 1,
	"ADD_PEOPLE":       2,
	"CREATE_CHANNELS":  3,
	"MSG_ATTENTION":    4,
	"UNUSED":           5,
	"CHANNEL_INACTIVE": 6,
	"MSG_NO_ANSWER":    7,
}
View Source
var JourneycardTypeRevMap = map[JourneycardType]string{
	0: "WELCOME",
	1: "POPULAR_CHANNELS",
	2: "ADD_PEOPLE",
	3: "CREATE_CHANNELS",
	4: "MSG_ATTENTION",
	5: "UNUSED",
	6: "CHANNEL_INACTIVE",
	7: "MSG_NO_ANSWER",
}
View Source
var LastActiveStatusMap = map[string]LastActiveStatus{
	"NONE":            0,
	"ACTIVE":          1,
	"RECENTLY_ACTIVE": 2,
}
View Source
var LastActiveStatusRevMap = map[LastActiveStatus]string{
	0: "NONE",
	1: "ACTIVE",
	2: "RECENTLY_ACTIVE",
}
View Source
var MessageBoxedVersionMap = map[string]MessageBoxedVersion{
	"VNONE": 0,
	"V1":    1,
	"V2":    2,
	"V3":    3,
	"V4":    4,
}
View Source
var MessageBoxedVersionRevMap = map[MessageBoxedVersion]string{
	0: "VNONE",
	1: "V1",
	2: "V2",
	3: "V3",
	4: "V4",
}
View Source
var MessageIDControlModeMap = map[string]MessageIDControlMode{
	"OLDERMESSAGES": 0,
	"NEWERMESSAGES": 1,
	"CENTERED":      2,
	"UNREADLINE":    3,
}
View Source
var MessageIDControlModeRevMap = map[MessageIDControlMode]string{
	0: "OLDERMESSAGES",
	1: "NEWERMESSAGES",
	2: "CENTERED",
	3: "UNREADLINE",
}
View Source
var MessageSystemTypeMap = map[string]MessageSystemType{
	"ADDEDTOTEAM":       0,
	"INVITEADDEDTOTEAM": 1,
	"COMPLEXTEAM":       2,
	"CREATETEAM":        3,
	"GITPUSH":           4,
	"CHANGEAVATAR":      5,
	"CHANGERETENTION":   6,
	"BULKADDTOCONV":     7,
	"SBSRESOLVE":        8,
	"NEWCHANNEL":        9,
}
View Source
var MessageSystemTypeRevMap = map[MessageSystemType]string{
	0: "ADDEDTOTEAM",
	1: "INVITEADDEDTOTEAM",
	2: "COMPLEXTEAM",
	3: "CREATETEAM",
	4: "GITPUSH",
	5: "CHANGEAVATAR",
	6: "CHANGERETENTION",
	7: "BULKADDTOCONV",
	8: "SBSRESOLVE",
	9: "NEWCHANNEL",
}
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,
	"DELETEHISTORY":      12,
	"REACTION":           13,
	"SENDPAYMENT":        14,
	"REQUESTPAYMENT":     15,
	"UNFURL":             16,
	"FLIP":               17,
	"PIN":                18,
}
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",
	12: "DELETEHISTORY",
	13: "REACTION",
	14: "SENDPAYMENT",
	15: "REQUESTPAYMENT",
	16: "UNFURL",
	17: "FLIP",
	18: "PIN",
}
View Source
var MessageUnboxedErrorTypeMap = map[string]MessageUnboxedErrorType{
	"MISC":                0,
	"BADVERSION_CRITICAL": 1,
	"BADVERSION":          2,
	"IDENTIFY":            3,
	"EPHEMERAL":           4,
	"PAIRWISE_MISSING":    5,
}
View Source
var MessageUnboxedErrorTypeRevMap = map[MessageUnboxedErrorType]string{
	0: "MISC",
	1: "BADVERSION_CRITICAL",
	2: "BADVERSION",
	3: "IDENTIFY",
	4: "EPHEMERAL",
	5: "PAIRWISE_MISSING",
}
View Source
var MessageUnboxedStateMap = map[string]MessageUnboxedState{
	"VALID":       1,
	"ERROR":       2,
	"OUTBOX":      3,
	"PLACEHOLDER": 4,
	"JOURNEYCARD": 5,
}
View Source
var MessageUnboxedStateRevMap = map[MessageUnboxedState]string{
	1: "VALID",
	2: "ERROR",
	3: "OUTBOX",
	4: "PLACEHOLDER",
	5: "JOURNEYCARD",
}
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,
	"EXPIRED":         5,
	"TOOMANYATTEMPTS": 6,
	"ALREADY_DELETED": 7,
	"UPLOADFAILED":    8,
	"RESTRICTEDBOT":   9,
	"MINWRITER":       10,
}
View Source
var OutboxErrorTypeRevMap = map[OutboxErrorType]string{
	0:  "MISC",
	1:  "OFFLINE",
	2:  "IDENTIFY",
	3:  "TOOLONG",
	4:  "DUPLICATE",
	5:  "EXPIRED",
	6:  "TOOMANYATTEMPTS",
	7:  "ALREADY_DELETED",
	8:  "UPLOADFAILED",
	9:  "RESTRICTEDBOT",
	10: "MINWRITER",
}
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 PreviewLocationTypMap = map[string]PreviewLocationTyp{
	"URL":   0,
	"FILE":  1,
	"BYTES": 2,
}
View Source
var PreviewLocationTypRevMap = map[PreviewLocationTyp]string{
	0: "URL",
	1: "FILE",
	2: "BYTES",
}
View Source
var ReIndexingModeMap = map[string]ReIndexingMode{
	"NONE":            0,
	"PRESEARCH_SYNC":  1,
	"POSTSEARCH_SYNC": 2,
}
View Source
var ReIndexingModeRevMap = map[ReIndexingMode]string{
	0: "NONE",
	1: "PRESEARCH_SYNC",
	2: "POSTSEARCH_SYNC",
}
View Source
var RetentionPolicyTypeMap = map[string]RetentionPolicyType{
	"NONE":      0,
	"RETAIN":    1,
	"EXPIRE":    2,
	"INHERIT":   3,
	"EPHEMERAL": 4,
}
View Source
var RetentionPolicyTypeRevMap = map[RetentionPolicyType]string{
	0: "NONE",
	1: "RETAIN",
	2: "EXPIRE",
	3: "INHERIT",
	4: "EPHEMERAL",
}
View Source
var SnippetDecorationMap = map[string]SnippetDecoration{
	"NONE":                   0,
	"PENDING_MESSAGE":        1,
	"FAILED_PENDING_MESSAGE": 2,
	"EXPLODING_MESSAGE":      3,
	"EXPLODED_MESSAGE":       4,
	"AUDIO_ATTACHMENT":       5,
	"VIDEO_ATTACHMENT":       6,
	"PHOTO_ATTACHMENT":       7,
	"FILE_ATTACHMENT":        8,
	"STELLAR_RECEIVED":       9,
	"STELLAR_SENT":           10,
	"PINNED_MESSAGE":         11,
}
View Source
var SnippetDecorationRevMap = map[SnippetDecoration]string{
	0:  "NONE",
	1:  "PENDING_MESSAGE",
	2:  "FAILED_PENDING_MESSAGE",
	3:  "EXPLODING_MESSAGE",
	4:  "EXPLODED_MESSAGE",
	5:  "AUDIO_ATTACHMENT",
	6:  "VIDEO_ATTACHMENT",
	7:  "PHOTO_ATTACHMENT",
	8:  "FILE_ATTACHMENT",
	9:  "STELLAR_RECEIVED",
	10: "STELLAR_SENT",
	11: "PINNED_MESSAGE",
}
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 TextPaymentResultTypMap = map[string]TextPaymentResultTyp{
	"SENT":  0,
	"ERROR": 1,
}
View Source
var TextPaymentResultTypRevMap = map[TextPaymentResultTyp]string{
	0: "SENT",
	1: "ERROR",
}
View Source
var TopicTypeMap = map[string]TopicType{
	"NONE":         0,
	"CHAT":         1,
	"DEV":          2,
	"KBFSFILEEDIT": 3,
}
View Source
var TopicTypeRevMap = map[TopicType]string{
	0: "NONE",
	1: "CHAT",
	2: "DEV",
	3: "KBFSFILEEDIT",
}
View Source
var UIBotCommandsUpdateStatusTypMap = map[string]UIBotCommandsUpdateStatusTyp{
	"UPTODATE": 0,
	"UPDATING": 1,
	"FAILED":   2,
	"BLANK":    3,
}
View Source
var UIBotCommandsUpdateStatusTypRevMap = map[UIBotCommandsUpdateStatusTyp]string{
	0: "UPTODATE",
	1: "UPDATING",
	2: "FAILED",
	3: "BLANK",
}
View Source
var UIChatThreadStatusTypMap = map[string]UIChatThreadStatusTyp{
	"NONE":       0,
	"SERVER":     1,
	"VALIDATING": 2,
	"VALIDATED":  3,
}
View Source
var UIChatThreadStatusTypRevMap = map[UIChatThreadStatusTyp]string{
	0: "NONE",
	1: "SERVER",
	2: "VALIDATING",
	3: "VALIDATED",
}
View Source
var UICoinFlipErrorTypMap = map[string]UICoinFlipErrorTyp{
	"GENERIC":           0,
	"ABSENTEE":          1,
	"TIMEOUT":           2,
	"ABORTED":           3,
	"DUPREG":            4,
	"DUPCOMMITCOMPLETE": 5,
	"DUPREVEAL":         6,
	"COMMITMISMATCH":    7,
}
View Source
var UICoinFlipErrorTypRevMap = map[UICoinFlipErrorTyp]string{
	0: "GENERIC",
	1: "ABSENTEE",
	2: "TIMEOUT",
	3: "ABORTED",
	4: "DUPREG",
	5: "DUPCOMMITCOMPLETE",
	6: "DUPREVEAL",
	7: "COMMITMISMATCH",
}
View Source
var UICoinFlipPhaseMap = map[string]UICoinFlipPhase{
	"COMMITMENT": 0,
	"REVEALS":    1,
	"COMPLETE":   2,
	"ERROR":      3,
}
View Source
var UICoinFlipPhaseRevMap = map[UICoinFlipPhase]string{
	0: "COMMITMENT",
	1: "REVEALS",
	2: "COMPLETE",
	3: "ERROR",
}
View Source
var UICoinFlipResultTypMap = map[string]UICoinFlipResultTyp{
	"NUMBER":  0,
	"SHUFFLE": 1,
	"DECK":    2,
	"HANDS":   3,
	"COIN":    4,
}
View Source
var UICoinFlipResultTypRevMap = map[UICoinFlipResultTyp]string{
	0: "NUMBER",
	1: "SHUFFLE",
	2: "DECK",
	3: "HANDS",
	4: "COIN",
}
View Source
var UICommandStatusActionTypMap = map[string]UICommandStatusActionTyp{
	"APPSETTINGS": 0,
}
View Source
var UICommandStatusActionTypRevMap = map[UICommandStatusActionTyp]string{
	0: "APPSETTINGS",
}
View Source
var UICommandStatusDisplayTypMap = map[string]UICommandStatusDisplayTyp{
	"STATUS":  0,
	"WARNING": 1,
	"ERROR":   2,
}
View Source
var UICommandStatusDisplayTypRevMap = map[UICommandStatusDisplayTyp]string{
	0: "STATUS",
	1: "WARNING",
	2: "ERROR",
}
View Source
var UIInboxBigTeamRowTypMap = map[string]UIInboxBigTeamRowTyp{
	"LABEL":   1,
	"CHANNEL": 2,
}
View Source
var UIInboxBigTeamRowTypRevMap = map[UIInboxBigTeamRowTyp]string{
	1: "LABEL",
	2: "CHANNEL",
}
View Source
var UIMaybeMentionStatusMap = map[string]UIMaybeMentionStatus{
	"UNKNOWN": 0,
	"USER":    1,
	"TEAM":    2,
	"NOTHING": 3,
}
View Source
var UIMaybeMentionStatusRevMap = map[UIMaybeMentionStatus]string{
	0: "UNKNOWN",
	1: "USER",
	2: "TEAM",
	3: "NOTHING",
}
View Source
var UIParticipantTypeMap = map[string]UIParticipantType{
	"NONE":    0,
	"USER":    1,
	"PHONENO": 2,
	"EMAIL":   3,
}
View Source
var UIParticipantTypeRevMap = map[UIParticipantType]string{
	0: "NONE",
	1: "USER",
	2: "PHONENO",
	3: "EMAIL",
}
View Source
var UITextDecorationTypMap = map[string]UITextDecorationTyp{
	"PAYMENT":            0,
	"ATMENTION":          1,
	"CHANNELNAMEMENTION": 2,
	"MAYBEMENTION":       3,
	"LINK":               4,
	"MAILTO":             5,
	"KBFSPATH":           6,
}
View Source
var UITextDecorationTypRevMap = map[UITextDecorationTyp]string{
	0: "PAYMENT",
	1: "ATMENTION",
	2: "CHANNELNAMEMENTION",
	3: "MAYBEMENTION",
	4: "LINK",
	5: "MAILTO",
	6: "KBFSPATH",
}
View Source
var UIWatchPositionPermMap = map[string]UIWatchPositionPerm{
	"BASE":   0,
	"ALWAYS": 1,
}
View Source
var UIWatchPositionPermRevMap = map[UIWatchPositionPerm]string{
	0: "BASE",
	1: "ALWAYS",
}
View Source
var UnfurlModeMap = map[string]UnfurlMode{
	"ALWAYS":      0,
	"NEVER":       1,
	"WHITELISTED": 2,
}
View Source
var UnfurlModeRevMap = map[UnfurlMode]string{
	0: "ALWAYS",
	1: "NEVER",
	2: "WHITELISTED",
}
View Source
var UnfurlPromptActionMap = map[string]UnfurlPromptAction{
	"ALWAYS":  0,
	"NEVER":   1,
	"ACCEPT":  2,
	"NOTNOW":  3,
	"ONETIME": 4,
}
View Source
var UnfurlPromptActionRevMap = map[UnfurlPromptAction]string{
	0: "ALWAYS",
	1: "NEVER",
	2: "ACCEPT",
	3: "NOTNOW",
	4: "ONETIME",
}
View Source
var UnfurlTypeMap = map[string]UnfurlType{
	"GENERIC": 0,
	"YOUTUBE": 1,
	"GIPHY":   2,
	"MAPS":    3,
}
View Source
var UnfurlTypeRevMap = map[UnfurlType]string{
	0: "GENERIC",
	1: "YOUTUBE",
	2: "GIPHY",
	3: "MAPS",
}

Functions

func ApiProtocol

func ApiProtocol(i ApiInterface) rpc.Protocol

func BlockingProtocol

func BlockingProtocol(i BlockingInterface) rpc.Protocol

func ChatUiProtocol

func ChatUiProtocol(i ChatUiInterface) rpc.Protocol

func CommandsProtocol

func CommandsProtocol(i CommandsInterface) rpc.Protocol

func CommonProtocol

func CommonProtocol(i CommonInterface) rpc.Protocol

func DbShortFormToString added in v1.0.43

func DbShortFormToString(cid ConvIDShort) string

func DecorateProtocol

func DecorateProtocol(i DecorateInterface) rpc.Protocol

func Etime

func Etime(lifetime gregor1.DurationSec, ctime, rtime, now gregor1.Time) gregor1.Time

func ExpandTLFName added in v1.0.19

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 IsDeletableByDelete added in v1.0.39

func IsDeletableByDelete(typ MessageType) bool

func IsDeletableByDeleteHistory added in v1.0.39

func IsDeletableByDeleteHistory(typ MessageType) bool

func IsEphemeralNonSupersederType

func IsEphemeralNonSupersederType(typ MessageType) bool

func IsEphemeralSupersederType

func IsEphemeralSupersederType(typ MessageType) bool

func IsEphemeralType

func IsEphemeralType(typ MessageType) bool

func IsSystemMsgDeletableByDelete

func IsSystemMsgDeletableByDelete(typ MessageSystemType) bool

func LocalProtocol

func LocalProtocol(i LocalInterface) rpc.Protocol

func MessageUnboxedDebugLines added in v1.0.42

func MessageUnboxedDebugLines(ms []MessageUnboxed) string

func MessageUnboxedDebugList added in v1.0.46

func MessageUnboxedDebugList(ms []MessageUnboxed) string

func MessageUnboxedDebugStrings added in v1.0.42

func MessageUnboxedDebugStrings(ms []MessageUnboxed) (res []string)

func NotifyChatProtocol

func NotifyChatProtocol(i NotifyChatInterface) rpc.Protocol

func RemoteProtocol

func RemoteProtocol(i RemoteInterface) rpc.Protocol

func UnfurlProtocol

func UnfurlProtocol(i UnfurlInterface) rpc.Protocol

func WalletProtocol

func WalletProtocol(i WalletInterface) rpc.Protocol

Types

type AddBotConvSearchArg

type AddBotConvSearchArg struct {
	Term string `codec:"term" json:"term"`
}

type AddBotConvSearchHit

type AddBotConvSearchHit struct {
	Name   string         `codec:"name" json:"name"`
	ConvID ConversationID `codec:"convID" json:"convID"`
	IsTeam bool           `codec:"isTeam" json:"isTeam"`
	Parts  []string       `codec:"parts" json:"parts"`
}

func (AddBotConvSearchHit) DeepCopy

type AddBotMemberArg

type AddBotMemberArg struct {
	ConvID      ConversationID            `codec:"convID" json:"convID"`
	Username    string                    `codec:"username" json:"username"`
	BotSettings *keybase1.TeamBotSettings `codec:"botSettings,omitempty" json:"botSettings,omitempty"`
	Role        keybase1.TeamRole         `codec:"role" json:"role"`
}

type AddTeamMemberAfterResetArg added in v1.0.39

type AddTeamMemberAfterResetArg struct {
	Username string         `codec:"username" json:"username"`
	ConvID   ConversationID `codec:"convID" json:"convID"`
}

type AdvertiseBotCommandsArg

type AdvertiseBotCommandsArg struct {
	Ads []RemoteBotCommandsAdvertisement `codec:"ads" json:"ads"`
}

type AdvertiseBotCommandsLocalArg

type AdvertiseBotCommandsLocalArg struct {
	Alias          *string                  `codec:"alias,omitempty" json:"alias,omitempty"`
	Advertisements []AdvertiseCommandsParam `codec:"advertisements" json:"advertisements"`
}

type AdvertiseBotCommandsLocalRes

type AdvertiseBotCommandsLocalRes struct {
	RateLimits []RateLimit `codec:"rateLimits" json:"rateLimits"`
}

func (AdvertiseBotCommandsLocalRes) DeepCopy

func (*AdvertiseBotCommandsLocalRes) GetRateLimit

func (r *AdvertiseBotCommandsLocalRes) GetRateLimit() []RateLimit

func (*AdvertiseBotCommandsLocalRes) SetRateLimits

func (r *AdvertiseBotCommandsLocalRes) SetRateLimits(rl []RateLimit)

type AdvertiseBotCommandsRes

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

func (AdvertiseBotCommandsRes) DeepCopy

func (*AdvertiseBotCommandsRes) GetRateLimit

func (r *AdvertiseBotCommandsRes) GetRateLimit() (res []RateLimit)

func (*AdvertiseBotCommandsRes) SetRateLimits

func (r *AdvertiseBotCommandsRes) SetRateLimits(rl []RateLimit)

type AdvertiseCommandAPIParam

type AdvertiseCommandAPIParam struct {
	Typ      string                `codec:"typ" json:"type"`
	Commands []UserBotCommandInput `codec:"commands" json:"commands"`
	TeamName string                `codec:"teamName,omitempty" json:"team_name,omitempty"`
}

func (AdvertiseCommandAPIParam) DeepCopy

type AdvertiseCommandsParam

type AdvertiseCommandsParam struct {
	Typ      BotCommandsAdvertisementTyp `codec:"typ" json:"typ"`
	Commands []UserBotCommandInput       `codec:"commands" json:"commands"`
	TeamName *string                     `codec:"teamName,omitempty" json:"teamName,omitempty"`
}

func (AdvertiseCommandsParam) DeepCopy

func (AdvertiseCommandsParam) ToRemote

func (p AdvertiseCommandsParam) ToRemote(convID ConversationID, tlfID *TLFID) (res RemoteBotCommandsAdvertisement, err error)

type ApiClient

type ApiClient struct {
	Cli rpc.GenericClient
}

type ApiInterface

type ApiInterface interface {
}

type AppNotificationSettingLocal added in v1.0.29

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 added in v1.0.29

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 added in v1.0.27

func (o Asset) DeepCopy() Asset

type AssetMetadata added in v1.0.19

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"`
}

func NewAssetMetadataWithImage added in v1.0.19

func NewAssetMetadataWithImage(v AssetMetadataImage) AssetMetadata

func NewAssetMetadataWithVideo added in v1.0.19

func NewAssetMetadataWithVideo(v AssetMetadataVideo) AssetMetadata

func (*AssetMetadata) AssetType added in v1.0.19

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

func (AssetMetadata) DeepCopy added in v1.0.27

func (o AssetMetadata) DeepCopy() AssetMetadata

func (AssetMetadata) Image added in v1.0.19

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

func (AssetMetadata) IsType

func (m AssetMetadata) IsType(typ AssetMetadataType) bool

func (AssetMetadata) Video added in v1.0.19

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

type AssetMetadataImage added in v1.0.19

type AssetMetadataImage struct {
	Width     int       `codec:"width" json:"width"`
	Height    int       `codec:"height" json:"height"`
	AudioAmps []float64 `codec:"audioAmps" json:"audioAmps"`
}

func (AssetMetadataImage) DeepCopy added in v1.0.27

type AssetMetadataType added in v1.0.19

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

func (AssetMetadataType) DeepCopy added in v1.0.27

func (o AssetMetadataType) DeepCopy() AssetMetadataType

type AssetMetadataVideo added in v1.0.19

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

func (AssetMetadataVideo) DeepCopy added in v1.0.27

type AssetTag added in v1.0.19

type AssetTag int
const (
	AssetTag_PRIMARY AssetTag = 0
)

func (AssetTag) DeepCopy added in v1.0.27

func (o AssetTag) DeepCopy() AssetTag

type BlockConversationsArg

type BlockConversationsArg struct {
	Uid             gregor1.UID `codec:"uid" json:"uid"`
	TlfIDsBlocked   []TLFID     `codec:"tlfIDsBlocked" json:"tlfIDsBlocked"`
	TlfIDsUnblocked []TLFID     `codec:"tlfIDsUnblocked" json:"tlfIDsUnblocked"`
}

type BlockingClient

type BlockingClient struct {
	Cli rpc.GenericClient
}

func (BlockingClient) BlockConversations

func (c BlockingClient) BlockConversations(ctx context.Context, __arg BlockConversationsArg) (err error)

type BlockingInterface

type BlockingInterface interface {
	BlockConversations(context.Context, BlockConversationsArg) error
}

type BodyPlaintext

type BodyPlaintext struct {
	Version__ BodyPlaintextVersion      `codec:"version" json:"version"`
	V1__      *BodyPlaintextV1          `codec:"v1,omitempty" json:"v1,omitempty"`
	V2__      *BodyPlaintextV2          `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 NewBodyPlaintextWithV10 added in v1.0.19

func NewBodyPlaintextWithV10(v BodyPlaintextUnsupported) BodyPlaintext

func NewBodyPlaintextWithV2 added in v1.0.19

func NewBodyPlaintextWithV2(v BodyPlaintextV2) BodyPlaintext

func NewBodyPlaintextWithV3 added in v1.0.19

func NewBodyPlaintextWithV3(v BodyPlaintextUnsupported) BodyPlaintext

func NewBodyPlaintextWithV4 added in v1.0.19

func NewBodyPlaintextWithV4(v BodyPlaintextUnsupported) BodyPlaintext

func NewBodyPlaintextWithV5 added in v1.0.19

func NewBodyPlaintextWithV5(v BodyPlaintextUnsupported) BodyPlaintext

func NewBodyPlaintextWithV6 added in v1.0.19

func NewBodyPlaintextWithV6(v BodyPlaintextUnsupported) BodyPlaintext

func NewBodyPlaintextWithV7 added in v1.0.19

func NewBodyPlaintextWithV7(v BodyPlaintextUnsupported) BodyPlaintext

func NewBodyPlaintextWithV8 added in v1.0.19

func NewBodyPlaintextWithV8(v BodyPlaintextUnsupported) BodyPlaintext

func NewBodyPlaintextWithV9 added in v1.0.19

func NewBodyPlaintextWithV9(v BodyPlaintextUnsupported) BodyPlaintext

func (BodyPlaintext) DeepCopy added in v1.0.27

func (o BodyPlaintext) DeepCopy() BodyPlaintext

func (BodyPlaintext) V1

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

func (BodyPlaintext) V10 added in v1.0.19

func (BodyPlaintext) V2 added in v1.0.19

func (o BodyPlaintext) V2() (res BodyPlaintextV2)

func (BodyPlaintext) V3 added in v1.0.19

func (BodyPlaintext) V4 added in v1.0.19

func (BodyPlaintext) V5 added in v1.0.19

func (BodyPlaintext) V6 added in v1.0.19

func (BodyPlaintext) V7 added in v1.0.19

func (BodyPlaintext) V8 added in v1.0.19

func (BodyPlaintext) V9 added in v1.0.19

func (*BodyPlaintext) Version

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

type BodyPlaintextMetaInfo added in v1.0.19

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

func (BodyPlaintextMetaInfo) DeepCopy added in v1.0.27

type BodyPlaintextUnsupported added in v1.0.19

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

func (BodyPlaintextUnsupported) DeepCopy added in v1.0.27

type BodyPlaintextV1

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

func (BodyPlaintextV1) DeepCopy added in v1.0.27

func (o BodyPlaintextV1) DeepCopy() BodyPlaintextV1

type BodyPlaintextV2

type BodyPlaintextV2 struct {
	MessageBody MessageBody           `codec:"messageBody" json:"messageBody"`
	Mi          BodyPlaintextMetaInfo `codec:"mi" json:"mi"`
}

func (BodyPlaintextV2) DeepCopy

func (o BodyPlaintextV2) DeepCopy() BodyPlaintextV2

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 added in v1.0.27

func (BodyPlaintextVersion) String added in v1.0.19

func (e BodyPlaintextVersion) String() string

type BotCommandConv

type BotCommandConv struct {
	Uid               gregor1.UID       `codec:"uid" json:"uid"`
	UntrustedTeamRole keybase1.TeamRole `codec:"untrustedTeamRole" json:"untrustedTeamRole"`
	ConvID            ConversationID    `codec:"convID" json:"convID"`
	Vers              CommandConvVers   `codec:"vers" json:"vers"`
	Mtime             gregor1.Time      `codec:"mtime" json:"mtime"`
}

func (BotCommandConv) DeepCopy

func (o BotCommandConv) DeepCopy() BotCommandConv

type BotCommandsAdvertisementTyp

type BotCommandsAdvertisementTyp int
const (
	BotCommandsAdvertisementTyp_PUBLIC        BotCommandsAdvertisementTyp = 0
	BotCommandsAdvertisementTyp_TLFID_MEMBERS BotCommandsAdvertisementTyp = 1
	BotCommandsAdvertisementTyp_TLFID_CONVS   BotCommandsAdvertisementTyp = 2
)

func (BotCommandsAdvertisementTyp) DeepCopy

func (BotCommandsAdvertisementTyp) String

type BotInfo

type BotInfo struct {
	ServerHashVers BotInfoHashVers  `codec:"serverHashVers" json:"serverHashVers"`
	ClientHashVers BotInfoHashVers  `codec:"clientHashVers" json:"clientHashVers"`
	CommandConvs   []BotCommandConv `codec:"commandConvs" json:"commandConvs"`
}

func (BotInfo) DeepCopy

func (o BotInfo) DeepCopy() BotInfo

func (BotInfo) Hash

func (b BotInfo) Hash() BotInfoHash

type BotInfoHash

type BotInfoHash []byte

func (BotInfoHash) DeepCopy

func (o BotInfoHash) DeepCopy() BotInfoHash

func (BotInfoHash) Eq

func (b BotInfoHash) Eq(h BotInfoHash) bool

type BotInfoHashVers

type BotInfoHashVers uint64
const ClientBotInfoHashVers BotInfoHashVers = 1

Incremented if the client hash algorithm changes. If this value is changed be sure to add a case in the BotInfo.Hash() function.

const ServerBotInfoHashVers BotInfoHashVers = 1

Incremented if the server sends down bad data and needs to bust client caches.

func (BotInfoHashVers) DeepCopy

func (o BotInfoHashVers) DeepCopy() BotInfoHashVers

type BotInfoResponse

type BotInfoResponse struct {
	Typ__  BotInfoResponseTyp `codec:"typ" json:"typ"`
	Info__ *BotInfo           `codec:"info,omitempty" json:"info,omitempty"`
}

func NewBotInfoResponseWithInfo

func NewBotInfoResponseWithInfo(v BotInfo) BotInfoResponse

func NewBotInfoResponseWithUptodate

func NewBotInfoResponseWithUptodate() BotInfoResponse

func (BotInfoResponse) DeepCopy

func (o BotInfoResponse) DeepCopy() BotInfoResponse

func (BotInfoResponse) Info

func (o BotInfoResponse) Info() (res BotInfo)

func (*BotInfoResponse) Typ

func (o *BotInfoResponse) Typ() (ret BotInfoResponseTyp, err error)

type BotInfoResponseTyp

type BotInfoResponseTyp int
const (
	BotInfoResponseTyp_UPTODATE BotInfoResponseTyp = 0
	BotInfoResponseTyp_INFO     BotInfoResponseTyp = 1
)

func (BotInfoResponseTyp) DeepCopy

func (BotInfoResponseTyp) String

func (e BotInfoResponseTyp) String() string

type BroadcastGregorMessageToConvArg

type BroadcastGregorMessageToConvArg struct {
	ConvID ConversationID  `codec:"convID" json:"convID"`
	Msg    gregor1.Message `codec:"msg" json:"msg"`
}

type BuiltinCommandGroup

type BuiltinCommandGroup struct {
	Typ      ConversationBuiltinCommandTyp `codec:"typ" json:"typ"`
	Commands []ConversationCommand         `codec:"commands" json:"commands"`
}

func (BuiltinCommandGroup) DeepCopy

type BulkAddToConvArg

type BulkAddToConvArg struct {
	ConvID    ConversationID `codec:"convID" json:"convID"`
	Usernames []string       `codec:"usernames" json:"usernames"`
}

type BulkAddToManyConvsArg

type BulkAddToManyConvsArg struct {
	Conversations []ConversationID `codec:"conversations" json:"conversations"`
	Usernames     []string         `codec:"usernames" json:"usernames"`
}

type ByConversationExistence

type ByConversationExistence []ConversationExistence

func (ByConversationExistence) Len

func (m ByConversationExistence) Len() int

func (ByConversationExistence) Less

func (m ByConversationExistence) Less(i, j int) bool

func (ByConversationExistence) Swap

func (m ByConversationExistence) Swap(i, j int)

type ByConversationMemberStatus

type ByConversationMemberStatus []ConversationMemberStatus

func (ByConversationMemberStatus) Len

func (ByConversationMemberStatus) Less

func (m ByConversationMemberStatus) Less(i, j int) bool

func (ByConversationMemberStatus) Swap

func (m ByConversationMemberStatus) Swap(i, j int)

type ByUID added in v1.0.27

type ByUID []gregor1.UID

func (ByUID) Len added in v1.0.27

func (b ByUID) Len() int

func (ByUID) Less added in v1.0.27

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

func (ByUID) Swap added in v1.0.27

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

type CancelActiveInboxSearchArg

type CancelActiveInboxSearchArg struct {
}

type CancelActiveSearchArg

type CancelActiveSearchArg struct {
}

type CancelPostArg added in v1.0.19

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

type CancelUploadTempFileArg

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

type ChannelMention added in v1.0.27

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

func (ChannelMention) DeepCopy added in v1.0.27

func (o ChannelMention) DeepCopy() ChannelMention

func (ChannelMention) String added in v1.0.27

func (e ChannelMention) String() string

type ChannelNameMention added in v1.0.43

type ChannelNameMention struct {
	ConvID    ConversationID `codec:"convID" json:"convID"`
	TopicName string         `codec:"topicName" json:"topicName"`
}

func (ChannelNameMention) DeepCopy added in v1.0.43

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"`
	Expunge__                    *ExpungeInfo                    `codec:"expunge,omitempty" json:"expunge,omitempty"`
	EphemeralPurge__             *EphemeralPurgeNotifInfo        `codec:"ephemeralPurge,omitempty" json:"ephemeralPurge,omitempty"`
	ReactionUpdate__             *ReactionUpdateNotif            `codec:"reactionUpdate,omitempty" json:"reactionUpdate,omitempty"`
	MessagesUpdated__            *MessagesUpdated                `codec:"messagesUpdated,omitempty" json:"messagesUpdated,omitempty"`
}

func NewChatActivityWithEphemeralPurge

func NewChatActivityWithEphemeralPurge(v EphemeralPurgeNotifInfo) ChatActivity

func NewChatActivityWithExpunge added in v1.0.42

func NewChatActivityWithExpunge(v ExpungeInfo) ChatActivity

func NewChatActivityWithFailedMessage added in v1.0.19

func NewChatActivityWithFailedMessage(v FailedMessageInfo) ChatActivity

func NewChatActivityWithIncomingMessage added in v1.0.19

func NewChatActivityWithIncomingMessage(v IncomingMessage) ChatActivity

func NewChatActivityWithMembersUpdate added in v1.0.27

func NewChatActivityWithMembersUpdate(v MembersUpdateInfo) ChatActivity

func NewChatActivityWithMessagesUpdated

func NewChatActivityWithMessagesUpdated(v MessagesUpdated) ChatActivity

func NewChatActivityWithNewConversation added in v1.0.19

func NewChatActivityWithNewConversation(v NewConversationInfo) ChatActivity

func NewChatActivityWithReactionUpdate

func NewChatActivityWithReactionUpdate(v ReactionUpdateNotif) ChatActivity

func NewChatActivityWithReadMessage added in v1.0.19

func NewChatActivityWithReadMessage(v ReadMessageInfo) ChatActivity

func NewChatActivityWithSetAppNotificationSettings added in v1.0.27

func NewChatActivityWithSetAppNotificationSettings(v SetAppNotificationSettingsInfo) ChatActivity

func NewChatActivityWithSetStatus added in v1.0.19

func NewChatActivityWithSetStatus(v SetStatusInfo) ChatActivity

func NewChatActivityWithTeamtype added in v1.0.30

func NewChatActivityWithTeamtype(v TeamTypeInfo) ChatActivity

func (*ChatActivity) ActivityType

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

func (ChatActivity) DeepCopy added in v1.0.27

func (o ChatActivity) DeepCopy() ChatActivity

func (ChatActivity) EphemeralPurge

func (o ChatActivity) EphemeralPurge() (res EphemeralPurgeNotifInfo)

func (ChatActivity) Expunge added in v1.0.42

func (o ChatActivity) Expunge() (res ExpungeInfo)

func (ChatActivity) FailedMessage added in v1.0.19

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

func (ChatActivity) IncomingMessage

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

func (ChatActivity) MembersUpdate added in v1.0.27

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

func (ChatActivity) MessagesUpdated

func (o ChatActivity) MessagesUpdated() (res MessagesUpdated)

func (ChatActivity) NewConversation added in v1.0.19

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

func (ChatActivity) ReactionUpdate

func (o ChatActivity) ReactionUpdate() (res ReactionUpdateNotif)

func (ChatActivity) ReadMessage added in v1.0.19

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

func (ChatActivity) SetAppNotificationSettings added in v1.0.27

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

func (ChatActivity) SetStatus added in v1.0.19

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

func (ChatActivity) Teamtype added in v1.0.30

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

type ChatActivitySource

type ChatActivitySource int
const (
	ChatActivitySource_LOCAL  ChatActivitySource = 0
	ChatActivitySource_REMOTE ChatActivitySource = 1
)

func (ChatActivitySource) DeepCopy

func (ChatActivitySource) String

func (e ChatActivitySource) String() string

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
	ChatActivityType_EXPUNGE                       ChatActivityType = 9
	ChatActivityType_EPHEMERAL_PURGE               ChatActivityType = 10
	ChatActivityType_REACTION_UPDATE               ChatActivityType = 11
	ChatActivityType_MESSAGES_UPDATED              ChatActivityType = 12
)

func (ChatActivityType) DeepCopy added in v1.0.27

func (o ChatActivityType) DeepCopy() ChatActivityType

func (ChatActivityType) String added in v1.0.19

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 ChatAttachmentUploadProgressArg

type ChatAttachmentUploadProgressArg struct {
	Uid           keybase1.UID   `codec:"uid" json:"uid"`
	ConvID        ConversationID `codec:"convID" json:"convID"`
	OutboxID      OutboxID       `codec:"outboxID" json:"outboxID"`
	BytesComplete int64          `codec:"bytesComplete" json:"bytesComplete"`
	BytesTotal    int64          `codec:"bytesTotal" json:"bytesTotal"`
}

type ChatAttachmentUploadStartArg

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

type ChatBotCommandsUpdateStatusArg

type ChatBotCommandsUpdateStatusArg struct {
	SessionID int                       `codec:"sessionID" json:"sessionID"`
	ConvID    ConvIDStr                 `codec:"convID" json:"convID"`
	Status    UIBotCommandsUpdateStatus `codec:"status" json:"status"`
}

type ChatChannel

type ChatChannel struct {
	Name        string `codec:"name" json:"name"`
	Public      bool   `codec:"public,omitempty" json:"public,omitempty"`
	MembersType string `codec:"membersType,omitempty" json:"members_type,omitempty"`
	TopicType   string `codec:"topicType,omitempty" json:"topic_type,omitempty"`
	TopicName   string `codec:"topicName,omitempty" json:"topic_name,omitempty"`
}

A Keybase chat channel. This can be a channel in a team, or just an informal channel between two users. name: the name of the team or comma-separated list of participants

func (ChatChannel) DeepCopy

func (o ChatChannel) DeepCopy() ChatChannel

type ChatClearWatchArg

type ChatClearWatchArg struct {
	SessionID int             `codec:"sessionID" json:"sessionID"`
	Id        LocationWatchID `codec:"id" json:"id"`
}

type ChatCoinFlipStatusArg

type ChatCoinFlipStatusArg struct {
	SessionID int                `codec:"sessionID" json:"sessionID"`
	Statuses  []UICoinFlipStatus `codec:"statuses" json:"statuses"`
}

type ChatCommandMarkdownArg

type ChatCommandMarkdownArg struct {
	SessionID int                `codec:"sessionID" json:"sessionID"`
	ConvID    ConvIDStr          `codec:"convID" json:"convID"`
	Md        *UICommandMarkdown `codec:"md,omitempty" json:"md,omitempty"`
}

type ChatCommandStatusArg

type ChatCommandStatusArg struct {
	SessionID   int                        `codec:"sessionID" json:"sessionID"`
	ConvID      ConvIDStr                  `codec:"convID" json:"convID"`
	DisplayText string                     `codec:"displayText" json:"displayText"`
	Typ         UICommandStatusDisplayTyp  `codec:"typ" json:"typ"`
	Actions     []UICommandStatusActionTyp `codec:"actions" json:"actions"`
}

type ChatConfirmChannelDeleteArg added in v1.0.31

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

type ChatConvUpdateArg

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

type ChatGiphySearchResultsArg

type ChatGiphySearchResultsArg struct {
	SessionID int                `codec:"sessionID" json:"sessionID"`
	ConvID    ConvIDStr          `codec:"convID" json:"convID"`
	Results   GiphySearchResults `codec:"results" json:"results"`
}

type ChatGiphyToggleResultWindowArg

type ChatGiphyToggleResultWindowArg struct {
	SessionID  int       `codec:"sessionID" json:"sessionID"`
	ConvID     ConvIDStr `codec:"convID" json:"convID"`
	Show       bool      `codec:"show" json:"show"`
	ClearInput bool      `codec:"clearInput" json:"clearInput"`
}

type ChatIdentifyUpdateArg added in v1.0.19

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

type ChatInboxConversationArg added in v1.0.19

type ChatInboxConversationArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Convs     string `codec:"convs" json:"convs"`
}

type ChatInboxFailedArg added in v1.0.19

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

type ChatInboxLayoutArg

type ChatInboxLayoutArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Layout    string `codec:"layout" json:"layout"`
}

type ChatInboxStaleArg added in v1.0.19

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

type ChatInboxSyncStartedArg added in v1.0.34

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

type ChatInboxSyncedArg added in v1.0.34

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

type ChatInboxUnverifiedArg added in v1.0.19

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

type ChatJoinedConversationArg added in v1.0.27

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

type ChatKBFSToImpteamUpgradeArg added in v1.0.41

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

type ChatLeftConversationArg added in v1.0.27

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

type ChatList

type ChatList struct {
	Conversations    []ConvSummary                 `codec:"conversations" json:"conversations"`
	Offline          bool                          `codec:"offline" json:"offline"`
	IdentifyFailures []keybase1.TLFIdentifyFailure `codec:"identifyFailures,omitempty" json:"identify_failures,omitempty"`
	RateLimits       []RateLimitRes                `codec:"rateLimits,omitempty" json:"ratelimits,omitempty"`
}

func (ChatList) DeepCopy

func (o ChatList) DeepCopy() ChatList

type ChatLoadGalleryHitArg

type ChatLoadGalleryHitArg struct {
	SessionID int       `codec:"sessionID" json:"sessionID"`
	Message   UIMessage `codec:"message" json:"message"`
}

type ChatMaybeMentionUpdateArg

type ChatMaybeMentionUpdateArg struct {
	SessionID int                `codec:"sessionID" json:"sessionID"`
	TeamName  string             `codec:"teamName" json:"teamName"`
	Channel   string             `codec:"channel" json:"channel"`
	Info      UIMaybeMentionInfo `codec:"info" json:"info"`
}

type ChatMessage

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

A chat message. The content goes in the `body` property!

func (ChatMessage) DeepCopy

func (o ChatMessage) DeepCopy() ChatMessage

type ChatParticipantsInfoArg

type ChatParticipantsInfoArg struct {
	Participants map[ConvIDStr][]UIParticipant `codec:"participants" json:"participants"`
}

type ChatPaymentInfoArg

type ChatPaymentInfoArg struct {
	Uid    keybase1.UID   `codec:"uid" json:"uid"`
	ConvID ConversationID `codec:"convID" json:"convID"`
	MsgID  MessageID      `codec:"msgID" json:"msgID"`
	Info   UIPaymentInfo  `codec:"info" json:"info"`
}

type ChatPromptUnfurlArg

type ChatPromptUnfurlArg struct {
	Uid    keybase1.UID   `codec:"uid" json:"uid"`
	ConvID ConversationID `codec:"convID" json:"convID"`
	MsgID  MessageID      `codec:"msgID" json:"msgID"`
	Domain string         `codec:"domain" json:"domain"`
}

type ChatRequestInfoArg

type ChatRequestInfoArg struct {
	Uid    keybase1.UID   `codec:"uid" json:"uid"`
	ConvID ConversationID `codec:"convID" json:"convID"`
	MsgID  MessageID      `codec:"msgID" json:"msgID"`
	Info   UIRequestInfo  `codec:"info" json:"info"`
}

type ChatResetConversationArg added in v1.0.34

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

type ChatSearchConvHitsArg

type ChatSearchConvHitsArg struct {
	SessionID int                  `codec:"sessionID" json:"sessionID"`
	Hits      UIChatSearchConvHits `codec:"hits" json:"hits"`
}

type ChatSearchDoneArg added in v1.0.42

type ChatSearchDoneArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
	NumHits   int `codec:"numHits" json:"numHits"`
}

type ChatSearchHit added in v1.0.42

type ChatSearchHit struct {
	BeforeMessages []UIMessage       `codec:"beforeMessages" json:"beforeMessages"`
	HitMessage     UIMessage         `codec:"hitMessage" json:"hitMessage"`
	AfterMessages  []UIMessage       `codec:"afterMessages" json:"afterMessages"`
	Matches        []ChatSearchMatch `codec:"matches" json:"matches"`
}

func (ChatSearchHit) DeepCopy added in v1.0.42

func (o ChatSearchHit) DeepCopy() ChatSearchHit

type ChatSearchHitArg added in v1.0.42

type ChatSearchHitArg struct {
	SessionID int           `codec:"sessionID" json:"sessionID"`
	SearchHit ChatSearchHit `codec:"searchHit" json:"searchHit"`
}

type ChatSearchInboxDone

type ChatSearchInboxDone struct {
	NumHits        int  `codec:"numHits" json:"numHits"`
	NumConvs       int  `codec:"numConvs" json:"numConvs"`
	PercentIndexed int  `codec:"percentIndexed" json:"percentIndexed"`
	Delegated      bool `codec:"delegated" json:"delegated"`
}

func (ChatSearchInboxDone) DeepCopy

type ChatSearchInboxDoneArg

type ChatSearchInboxDoneArg struct {
	SessionID int                 `codec:"sessionID" json:"sessionID"`
	Res       ChatSearchInboxDone `codec:"res" json:"res"`
}

type ChatSearchInboxHit

type ChatSearchInboxHit struct {
	ConvID   ConversationID  `codec:"convID" json:"convID"`
	TeamType TeamType        `codec:"teamType" json:"teamType"`
	ConvName string          `codec:"convName" json:"convName"`
	Query    string          `codec:"query" json:"query"`
	Time     gregor1.Time    `codec:"time" json:"time"`
	Hits     []ChatSearchHit `codec:"hits" json:"hits"`
}

func (ChatSearchInboxHit) DeepCopy

func (*ChatSearchInboxHit) Size

func (h *ChatSearchInboxHit) Size() int

type ChatSearchInboxHitArg

type ChatSearchInboxHitArg struct {
	SessionID int                `codec:"sessionID" json:"sessionID"`
	SearchHit ChatSearchInboxHit `codec:"searchHit" json:"searchHit"`
}

type ChatSearchInboxResults

type ChatSearchInboxResults struct {
	Hits           []ChatSearchInboxHit `codec:"hits" json:"hits"`
	PercentIndexed int                  `codec:"percentIndexed" json:"percentIndexed"`
}

func (ChatSearchInboxResults) DeepCopy

type ChatSearchInboxStartArg

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

type ChatSearchIndexStatus

type ChatSearchIndexStatus struct {
	PercentIndexed int `codec:"percentIndexed" json:"percentIndexed"`
}

func (ChatSearchIndexStatus) DeepCopy

type ChatSearchIndexStatusArg

type ChatSearchIndexStatusArg struct {
	SessionID int                   `codec:"sessionID" json:"sessionID"`
	Status    ChatSearchIndexStatus `codec:"status" json:"status"`
}

type ChatSearchMatch

type ChatSearchMatch struct {
	StartIndex int    `codec:"startIndex" json:"startIndex"`
	EndIndex   int    `codec:"endIndex" json:"endIndex"`
	Match      string `codec:"match" json:"match"`
}

func (ChatSearchMatch) DeepCopy

func (o ChatSearchMatch) DeepCopy() ChatSearchMatch

type ChatSearchTeamHitsArg

type ChatSearchTeamHitsArg struct {
	SessionID int                  `codec:"sessionID" json:"sessionID"`
	Hits      UIChatSearchTeamHits `codec:"hits" json:"hits"`
}

type ChatSetConvRetentionArg added in v1.0.41

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

type ChatSetConvSettingsArg

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

type ChatSetTeamRetentionArg added in v1.0.41

type ChatSetTeamRetentionArg struct {
	Uid    keybase1.UID    `codec:"uid" json:"uid"`
	TeamID keybase1.TeamID `codec:"teamID" json:"teamID"`
	Convs  []InboxUIItem   `codec:"convs" json:"convs"`
}

type ChatShowManageChannelsArg

type ChatShowManageChannelsArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Teamname  string `codec:"teamname" json:"teamname"`
}

type ChatStellarDataConfirmArg

type ChatStellarDataConfirmArg struct {
	SessionID int                  `codec:"sessionID" json:"sessionID"`
	Summary   UIChatPaymentSummary `codec:"summary" json:"summary"`
}

type ChatStellarDataErrorArg

type ChatStellarDataErrorArg struct {
	SessionID int             `codec:"sessionID" json:"sessionID"`
	Error     keybase1.Status `codec:"error" json:"error"`
}

type ChatStellarDoneArg

type ChatStellarDoneArg struct {
	SessionID int  `codec:"sessionID" json:"sessionID"`
	Canceled  bool `codec:"canceled" json:"canceled"`
}

type ChatStellarShowConfirmArg

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

type ChatSubteamRenameArg

type ChatSubteamRenameArg struct {
	Uid   keybase1.UID  `codec:"uid" json:"uid"`
	Convs []InboxUIItem `codec:"convs" json:"convs"`
}

type ChatSyncIncrementalConv

type ChatSyncIncrementalConv struct {
	Conv        UnverifiedInboxUIItem `codec:"conv" json:"conv"`
	ShouldUnbox bool                  `codec:"shouldUnbox" json:"shouldUnbox"`
}

func (ChatSyncIncrementalConv) DeepCopy

type ChatSyncIncrementalInfo added in v1.0.34

type ChatSyncIncrementalInfo struct {
	Items    []ChatSyncIncrementalConv `codec:"items" json:"items"`
	Removals []string                  `codec:"removals" json:"removals"`
}

func (ChatSyncIncrementalInfo) DeepCopy added in v1.0.34

type ChatSyncResult added in v1.0.34

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

func NewChatSyncResultWithClear added in v1.0.34

func NewChatSyncResultWithClear() ChatSyncResult

func NewChatSyncResultWithCurrent added in v1.0.34

func NewChatSyncResultWithCurrent() ChatSyncResult

func NewChatSyncResultWithIncremental added in v1.0.34

func NewChatSyncResultWithIncremental(v ChatSyncIncrementalInfo) ChatSyncResult

func (ChatSyncResult) DeepCopy added in v1.0.34

func (o ChatSyncResult) DeepCopy() ChatSyncResult

func (ChatSyncResult) Incremental added in v1.0.34

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

func (*ChatSyncResult) SyncType added in v1.0.34

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

type ChatTLFFinalizeArg added in v1.0.19

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 added in v1.0.19

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

type ChatThreadCachedArg added in v1.0.21

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

type ChatThreadFullArg added in v1.0.21

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

type ChatThreadStatusArg

type ChatThreadStatusArg struct {
	SessionID int                `codec:"sessionID" json:"sessionID"`
	Status    UIChatThreadStatus `codec:"status" json:"status"`
}

type ChatThreadsStaleArg added in v1.0.19

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

type ChatTxCandidate

type ChatTxCandidate struct {
	CurrencyCode string  `codec:"currencyCode" json:"currencyCode"`
	Amount       string  `codec:"amount" json:"amount"`
	Username     *string `codec:"username,omitempty" json:"username,omitempty"`
}

func (ChatTxCandidate) DeepCopy

func (o ChatTxCandidate) DeepCopy() ChatTxCandidate

type ChatTypingUpdateArg added in v1.0.27

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) ChatBotCommandsUpdateStatus

func (c ChatUiClient) ChatBotCommandsUpdateStatus(ctx context.Context, __arg ChatBotCommandsUpdateStatusArg) (err error)

func (ChatUiClient) ChatClearWatch

func (c ChatUiClient) ChatClearWatch(ctx context.Context, __arg ChatClearWatchArg) (err error)

func (ChatUiClient) ChatCoinFlipStatus

func (c ChatUiClient) ChatCoinFlipStatus(ctx context.Context, __arg ChatCoinFlipStatusArg) (err error)

func (ChatUiClient) ChatCommandMarkdown

func (c ChatUiClient) ChatCommandMarkdown(ctx context.Context, __arg ChatCommandMarkdownArg) (err error)

func (ChatUiClient) ChatCommandStatus

func (c ChatUiClient) ChatCommandStatus(ctx context.Context, __arg ChatCommandStatusArg) (err error)

func (ChatUiClient) ChatConfirmChannelDelete added in v1.0.31

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

func (ChatUiClient) ChatGiphySearchResults

func (c ChatUiClient) ChatGiphySearchResults(ctx context.Context, __arg ChatGiphySearchResultsArg) (err error)

func (ChatUiClient) ChatGiphyToggleResultWindow

func (c ChatUiClient) ChatGiphyToggleResultWindow(ctx context.Context, __arg ChatGiphyToggleResultWindowArg) (err error)

func (ChatUiClient) ChatInboxConversation added in v1.0.19

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

func (ChatUiClient) ChatInboxFailed added in v1.0.19

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

func (ChatUiClient) ChatInboxLayout

func (c ChatUiClient) ChatInboxLayout(ctx context.Context, __arg ChatInboxLayoutArg) (err error)

func (ChatUiClient) ChatInboxUnverified added in v1.0.19

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

func (ChatUiClient) ChatLoadGalleryHit

func (c ChatUiClient) ChatLoadGalleryHit(ctx context.Context, __arg ChatLoadGalleryHitArg) (err error)

func (ChatUiClient) ChatMaybeMentionUpdate

func (c ChatUiClient) ChatMaybeMentionUpdate(ctx context.Context, __arg ChatMaybeMentionUpdateArg) (err error)

func (ChatUiClient) ChatSearchConvHits

func (c ChatUiClient) ChatSearchConvHits(ctx context.Context, __arg ChatSearchConvHitsArg) (err error)

func (ChatUiClient) ChatSearchDone added in v1.0.42

func (c ChatUiClient) ChatSearchDone(ctx context.Context, __arg ChatSearchDoneArg) (err error)

func (ChatUiClient) ChatSearchHit added in v1.0.42

func (c ChatUiClient) ChatSearchHit(ctx context.Context, __arg ChatSearchHitArg) (err error)

func (ChatUiClient) ChatSearchInboxDone

func (c ChatUiClient) ChatSearchInboxDone(ctx context.Context, __arg ChatSearchInboxDoneArg) (err error)

func (ChatUiClient) ChatSearchInboxHit

func (c ChatUiClient) ChatSearchInboxHit(ctx context.Context, __arg ChatSearchInboxHitArg) (err error)

func (ChatUiClient) ChatSearchInboxStart

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

func (ChatUiClient) ChatSearchIndexStatus

func (c ChatUiClient) ChatSearchIndexStatus(ctx context.Context, __arg ChatSearchIndexStatusArg) (err error)

func (ChatUiClient) ChatSearchTeamHits

func (c ChatUiClient) ChatSearchTeamHits(ctx context.Context, __arg ChatSearchTeamHitsArg) (err error)

func (ChatUiClient) ChatShowManageChannels

func (c ChatUiClient) ChatShowManageChannels(ctx context.Context, __arg ChatShowManageChannelsArg) (err error)

func (ChatUiClient) ChatStellarDataConfirm

func (c ChatUiClient) ChatStellarDataConfirm(ctx context.Context, __arg ChatStellarDataConfirmArg) (res bool, err error)

func (ChatUiClient) ChatStellarDataError

func (c ChatUiClient) ChatStellarDataError(ctx context.Context, __arg ChatStellarDataErrorArg) (res bool, err error)

func (ChatUiClient) ChatStellarDone

func (c ChatUiClient) ChatStellarDone(ctx context.Context, __arg ChatStellarDoneArg) (err error)

func (ChatUiClient) ChatStellarShowConfirm

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

func (ChatUiClient) ChatThreadCached added in v1.0.21

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

func (ChatUiClient) ChatThreadFull added in v1.0.21

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

func (ChatUiClient) ChatThreadStatus

func (c ChatUiClient) ChatThreadStatus(ctx context.Context, __arg ChatThreadStatusArg) (err error)

func (ChatUiClient) ChatWatchPosition

func (c ChatUiClient) ChatWatchPosition(ctx context.Context, __arg ChatWatchPositionArg) (res LocationWatchID, err error)

func (ChatUiClient) TriggerContactSync

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

type ChatUiInterface

type ChatUiInterface interface {
	ChatAttachmentDownloadStart(context.Context, int) error
	ChatAttachmentDownloadProgress(context.Context, ChatAttachmentDownloadProgressArg) error
	ChatAttachmentDownloadDone(context.Context, int) error
	ChatInboxLayout(context.Context, ChatInboxLayoutArg) 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
	ChatThreadStatus(context.Context, ChatThreadStatusArg) error
	ChatSearchHit(context.Context, ChatSearchHitArg) error
	ChatSearchDone(context.Context, ChatSearchDoneArg) error
	ChatSearchInboxStart(context.Context, int) error
	ChatSearchInboxHit(context.Context, ChatSearchInboxHitArg) error
	ChatSearchInboxDone(context.Context, ChatSearchInboxDoneArg) error
	ChatSearchIndexStatus(context.Context, ChatSearchIndexStatusArg) error
	ChatSearchConvHits(context.Context, ChatSearchConvHitsArg) error
	ChatSearchTeamHits(context.Context, ChatSearchTeamHitsArg) error
	ChatConfirmChannelDelete(context.Context, ChatConfirmChannelDeleteArg) (bool, error)
	ChatStellarShowConfirm(context.Context, int) error
	ChatStellarDataConfirm(context.Context, ChatStellarDataConfirmArg) (bool, error)
	ChatStellarDataError(context.Context, ChatStellarDataErrorArg) (bool, error)
	ChatStellarDone(context.Context, ChatStellarDoneArg) error
	ChatGiphySearchResults(context.Context, ChatGiphySearchResultsArg) error
	ChatGiphyToggleResultWindow(context.Context, ChatGiphyToggleResultWindowArg) error
	ChatShowManageChannels(context.Context, ChatShowManageChannelsArg) error
	ChatCoinFlipStatus(context.Context, ChatCoinFlipStatusArg) error
	ChatCommandMarkdown(context.Context, ChatCommandMarkdownArg) error
	ChatMaybeMentionUpdate(context.Context, ChatMaybeMentionUpdateArg) error
	ChatLoadGalleryHit(context.Context, ChatLoadGalleryHitArg) error
	ChatWatchPosition(context.Context, ChatWatchPositionArg) (LocationWatchID, error)
	ChatClearWatch(context.Context, ChatClearWatchArg) error
	ChatCommandStatus(context.Context, ChatCommandStatusArg) error
	ChatBotCommandsUpdateStatus(context.Context, ChatBotCommandsUpdateStatusArg) error
	TriggerContactSync(context.Context, int) error
}

type ChatWatchPositionArg

type ChatWatchPositionArg struct {
	SessionID int                 `codec:"sessionID" json:"sessionID"`
	ConvID    ConversationID      `codec:"convID" json:"convID"`
	Perm      UIWatchPositionPerm `codec:"perm" json:"perm"`
}

type ChatWelcomeMessageLoadedArg

type ChatWelcomeMessageLoadedArg struct {
	TeamID  keybase1.TeamID       `codec:"teamID" json:"teamID"`
	Message WelcomeMessageDisplay `codec:"message" json:"message"`
}

type ClearBotCommandsArg

type ClearBotCommandsArg struct {
}

type ClearBotCommandsLocalArg

type ClearBotCommandsLocalArg struct {
}

type ClearBotCommandsLocalRes

type ClearBotCommandsLocalRes struct {
	RateLimits []RateLimit `codec:"rateLimits" json:"rateLimits"`
}

func (ClearBotCommandsLocalRes) DeepCopy

func (*ClearBotCommandsLocalRes) GetRateLimit

func (r *ClearBotCommandsLocalRes) GetRateLimit() []RateLimit

func (*ClearBotCommandsLocalRes) SetRateLimits

func (r *ClearBotCommandsLocalRes) SetRateLimits(rl []RateLimit)

type ClearBotCommandsRes

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

func (ClearBotCommandsRes) DeepCopy

func (*ClearBotCommandsRes) GetRateLimit

func (r *ClearBotCommandsRes) GetRateLimit() (res []RateLimit)

func (*ClearBotCommandsRes) SetRateLimits

func (r *ClearBotCommandsRes) SetRateLimits(rl []RateLimit)

type CommandConvVers

type CommandConvVers uint64

func (CommandConvVers) DeepCopy

func (o CommandConvVers) DeepCopy() CommandConvVers

type CommandsClient

type CommandsClient struct {
	Cli rpc.GenericClient
}

type CommandsInterface

type CommandsInterface interface {
}

type CommonClient

type CommonClient struct {
	Cli rpc.GenericClient
}

type CommonInterface

type CommonInterface interface {
}

type ConfigureFileAttachmentDownloadLocalArg

type ConfigureFileAttachmentDownloadLocalArg struct {
	CacheDirOverride    string `codec:"cacheDirOverride" json:"cacheDirOverride"`
	DownloadDirOverride string `codec:"downloadDirOverride" json:"downloadDirOverride"`
}

type ConvIDShort added in v1.0.43

type ConvIDShort = []byte

func DbShortFormFromString

func DbShortFormFromString(cid string) (ConvIDShort, error)

type ConvIDStr

type ConvIDStr string

func (ConvIDStr) DeepCopy

func (o ConvIDStr) DeepCopy() ConvIDStr

func (ConvIDStr) String

func (i ConvIDStr) String() string

type ConvNotification

type ConvNotification struct {
	Type  string       `codec:"type" json:"type"`
	Conv  *ConvSummary `codec:"conv,omitempty" json:"conv,omitempty"`
	Error *string      `codec:"error,omitempty" json:"error,omitempty"`
}

func (ConvNotification) DeepCopy

func (o ConvNotification) DeepCopy() ConvNotification

type ConvSummary

type ConvSummary struct {
	Id            ConvIDStr                     `codec:"id" json:"id"`
	Channel       ChatChannel                   `codec:"channel" json:"channel"`
	IsDefaultConv bool                          `codec:"isDefaultConv" json:"is_default_conv"`
	Unread        bool                          `codec:"unread" json:"unread"`
	ActiveAt      int64                         `codec:"activeAt" json:"active_at"`
	ActiveAtMs    int64                         `codec:"activeAtMs" json:"active_at_ms"`
	MemberStatus  string                        `codec:"memberStatus" json:"member_status"`
	ResetUsers    []string                      `codec:"resetUsers,omitempty" json:"reset_users,omitempty"`
	FinalizeInfo  *ConversationFinalizeInfo     `codec:"finalizeInfo,omitempty" json:"finalize_info,omitempty"`
	Supersedes    []string                      `codec:"supersedes,omitempty" json:"supersedes,omitempty"`
	SupersededBy  []string                      `codec:"supersededBy,omitempty" json:"superseded_by,omitempty"`
	Error         string                        `codec:"error,omitempty" json:"error,omitempty"`
	CreatorInfo   *ConversationCreatorInfoLocal `codec:"creatorInfo,omitempty" json:"creator_info,omitempty"`
}

A chat conversation. This is essentially a chat channel plus some additional metadata.

func (ConvSummary) DeepCopy

func (o ConvSummary) DeepCopy() ConvSummary

type ConvTypingUpdate added in v1.0.27

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

func (ConvTypingUpdate) DeepCopy added in v1.0.27

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"`
	PinnedMsg       *MessageID                    `codec:"pinnedMsg,omitempty" json:"pinnedMsg,omitempty"`
	Expunge         Expunge                       `codec:"expunge" json:"expunge"`
	ConvRetention   *RetentionPolicy              `codec:"convRetention,omitempty" json:"convRetention,omitempty"`
	TeamRetention   *RetentionPolicy              `codec:"teamRetention,omitempty" json:"teamRetention,omitempty"`
	ConvSettings    *ConversationSettings         `codec:"cs,omitempty" json:"cs,omitempty"`
}

func (Conversation) DeepCopy added in v1.0.27

func (o Conversation) DeepCopy() Conversation

func (Conversation) GetConvID added in v1.0.19

func (c Conversation) GetConvID() ConversationID

func (Conversation) GetExpunge added in v1.0.46

func (c Conversation) GetExpunge() *Expunge

func (Conversation) GetFinalizeInfo added in v1.0.27

func (c Conversation) GetFinalizeInfo() *ConversationFinalizeInfo

func (Conversation) GetMaxDeletedUpTo

func (c Conversation) GetMaxDeletedUpTo() MessageID

func (Conversation) GetMaxMessage added in v1.0.19

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

func (Conversation) GetMaxMessageID

func (c Conversation) GetMaxMessageID() MessageID

func (Conversation) GetMembersType added in v1.0.27

func (c Conversation) GetMembersType() ConversationMembersType

func (Conversation) GetMtime added in v1.0.19

func (c Conversation) GetMtime() gregor1.Time

func (Conversation) GetTeamType

func (c Conversation) GetTeamType() TeamType

func (Conversation) GetTopicType added in v1.0.27

func (c Conversation) GetTopicType() TopicType

func (Conversation) HasMemberStatus

func (c Conversation) HasMemberStatus(status ConversationMemberStatus) bool

func (Conversation) Includes added in v1.0.19

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

func (Conversation) IsPublic added in v1.0.46

func (c Conversation) IsPublic() bool

func (Conversation) IsSelfFinalized

func (c Conversation) IsSelfFinalized(username string) bool

func (Conversation) IsUnread

func (c Conversation) IsUnread() bool

func (Conversation) IsUnreadFromMsgID

func (c Conversation) IsUnreadFromMsgID(readMsgID MessageID) bool

func (Conversation) MaxVisibleMsgID

func (c Conversation) MaxVisibleMsgID() MessageID

type ConversationBuiltinCommandTyp

type ConversationBuiltinCommandTyp int
const (
	ConversationBuiltinCommandTyp_NONE           ConversationBuiltinCommandTyp = 0
	ConversationBuiltinCommandTyp_ADHOC          ConversationBuiltinCommandTyp = 1
	ConversationBuiltinCommandTyp_SMALLTEAM      ConversationBuiltinCommandTyp = 2
	ConversationBuiltinCommandTyp_BIGTEAM        ConversationBuiltinCommandTyp = 3
	ConversationBuiltinCommandTyp_BIGTEAMGENERAL ConversationBuiltinCommandTyp = 4
)

func (ConversationBuiltinCommandTyp) DeepCopy

func (ConversationBuiltinCommandTyp) String

type ConversationCommand

type ConversationCommand struct {
	Description string  `codec:"description" json:"description"`
	Name        string  `codec:"name" json:"name"`
	Usage       string  `codec:"usage" json:"usage"`
	HasHelpText bool    `codec:"hasHelpText" json:"hasHelpText"`
	Username    *string `codec:"username,omitempty" json:"username,omitempty"`
}

func (ConversationCommand) DeepCopy

type ConversationCommandGroups

type ConversationCommandGroups struct {
	Typ__     ConversationCommandGroupsTyp     `codec:"typ" json:"typ"`
	Builtin__ *ConversationBuiltinCommandTyp   `codec:"builtin,omitempty" json:"builtin,omitempty"`
	Custom__  *ConversationCommandGroupsCustom `codec:"custom,omitempty" json:"custom,omitempty"`
}

func NewConversationCommandGroupsWithNone

func NewConversationCommandGroupsWithNone() ConversationCommandGroups

func (ConversationCommandGroups) Builtin

func (ConversationCommandGroups) Custom

func (ConversationCommandGroups) DeepCopy

func (*ConversationCommandGroups) Typ

type ConversationCommandGroupsCustom

type ConversationCommandGroupsCustom struct {
	Commands []ConversationCommand `codec:"commands" json:"commands"`
}

func (ConversationCommandGroupsCustom) DeepCopy

type ConversationCommandGroupsTyp

type ConversationCommandGroupsTyp int
const (
	ConversationCommandGroupsTyp_BUILTIN ConversationCommandGroupsTyp = 0
	ConversationCommandGroupsTyp_CUSTOM  ConversationCommandGroupsTyp = 1
	ConversationCommandGroupsTyp_NONE    ConversationCommandGroupsTyp = 2
)

func (ConversationCommandGroupsTyp) DeepCopy

func (ConversationCommandGroupsTyp) String

type ConversationCreatorInfo added in v1.0.29

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

func (ConversationCreatorInfo) DeepCopy added in v1.0.29

type ConversationCreatorInfoLocal added in v1.0.29

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

func (ConversationCreatorInfoLocal) DeepCopy added in v1.0.29

type ConversationErrorLocal added in v1.0.19

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 added in v1.0.19

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

func (ConversationErrorLocal) DeepCopy added in v1.0.27

type ConversationErrorRekey added in v1.0.19

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 added in v1.0.27

type ConversationErrorType added in v1.0.19

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 added in v1.0.27

func (ConversationErrorType) String added in v1.0.19

func (e ConversationErrorType) String() string

type ConversationExistence added in v1.0.31

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

func AllConversationExistences added in v1.0.31

func AllConversationExistences() (res []ConversationExistence)

func (ConversationExistence) DeepCopy added in v1.0.31

func (ConversationExistence) String added in v1.0.31

func (e ConversationExistence) String() string

type ConversationFinalizeInfo added in v1.0.19

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 added in v1.0.19

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 added in v1.0.27

func (*ConversationFinalizeInfo) IsResetForUser

func (f *ConversationFinalizeInfo) IsResetForUser(username string) bool

type ConversationID

type ConversationID []byte

func MakeConvID

func MakeConvID(val string) (ConversationID, error)

func (ConversationID) Bytes

func (cid ConversationID) Bytes() []byte

func (ConversationID) ConvIDStr

func (cid ConversationID) ConvIDStr() ConvIDStr

func (ConversationID) DbShortForm added in v1.0.19

func (cid ConversationID) DbShortForm() ConvIDShort

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

func (ConversationID) DbShortFormString added in v1.0.42

func (cid ConversationID) DbShortFormString() string

func (ConversationID) DeepCopy added in v1.0.27

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 added in v1.0.27

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

func (ConversationIDMessageIDPair) DeepCopy added in v1.0.27

type ConversationIDMessageIDPairs added in v1.0.27

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

func (ConversationIDMessageIDPairs) Contains added in v1.0.34

func (ConversationIDMessageIDPairs) DeepCopy added in v1.0.27

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 added in v1.0.27

func (ConversationIDTriple) Derivable added in v1.0.19

func (t ConversationIDTriple) Derivable(cid ConversationID) bool

func (ConversationIDTriple) Eq

func (ConversationIDTriple) Hash added in v1.0.19

func (t ConversationIDTriple) Hash() []byte

func (ConversationIDTriple) ToConversationID added in v1.0.19

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"`
	Headline      string                         `codec:"headline" json:"headline"`
	SnippetMsg    *MessageUnboxed                `codec:"snippetMsg,omitempty" json:"snippetMsg,omitempty"`
	PinnedMsg     *ConversationPinnedMessage     `codec:"pinnedMsg,omitempty" json:"pinnedMsg,omitempty"`
	Draft         *string                        `codec:"draft,omitempty" json:"draft,omitempty"`
	Visibility    keybase1.TLFVisibility         `codec:"visibility" json:"visibility"`
	IsDefaultConv bool                           `codec:"isDefaultConv" json:"isDefaultConv"`
	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"`
	LocalVersion  LocalConversationVers          `codec:"localVersion" json:"localVersion"`
	Participants  []ConversationLocalParticipant `codec:"participants" json:"participants"`
	FinalizeInfo  *ConversationFinalizeInfo      `codec:"finalizeInfo,omitempty" json:"finalizeInfo,omitempty"`
	ResetNames    []string                       `codec:"resetNames" json:"resetNames"`
}

func (ConversationInfoLocal) DeepCopy added in v1.0.27

func (ConversationInfoLocal) TLFNameExpanded added in v1.0.19

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 added in v1.0.19

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 cannot be used to lookup the TLF.

type ConversationJourneycardInfo

type ConversationJourneycardInfo struct {
	WelcomeEligible bool `codec:"w" json:"w"`
}

func (ConversationJourneycardInfo) DeepCopy

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      []MessageSummary              `codec:"maxMessages" json:"maxMessages"`
	IsEmpty          bool                          `codec:"isEmpty" json:"isEmpty"`
	IdentifyFailures []keybase1.TLFIdentifyFailure `codec:"identifyFailures" json:"identifyFailures"`
	Expunge          Expunge                       `codec:"expunge" json:"expunge"`
	ConvRetention    *RetentionPolicy              `codec:"convRetention,omitempty" json:"convRetention,omitempty"`
	TeamRetention    *RetentionPolicy              `codec:"teamRetention,omitempty" json:"teamRetention,omitempty"`
	ConvSettings     *ConversationSettingsLocal    `codec:"convSettings,omitempty" json:"convSettings,omitempty"`
	Commands         ConversationCommandGroups     `codec:"commands" json:"commands"`
	BotCommands      ConversationCommandGroups     `codec:"botCommands" json:"botCommands"`
	BotAliases       map[string]string             `codec:"botAliases" json:"botAliases"`
}

func (ConversationLocal) AllNames

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

func (ConversationLocal) CannotWrite

func (c ConversationLocal) CannotWrite() bool

func (ConversationLocal) ConvNameNames

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

func (ConversationLocal) DeepCopy added in v1.0.27

func (o ConversationLocal) DeepCopy() ConversationLocal

func (ConversationLocal) FullNamesForSearch

func (c ConversationLocal) FullNamesForSearch() (res []*string)

func (ConversationLocal) GetConvID added in v1.0.19

func (c ConversationLocal) GetConvID() ConversationID

func (ConversationLocal) GetExpunge added in v1.0.46

func (c ConversationLocal) GetExpunge() *Expunge

func (ConversationLocal) GetFinalizeInfo added in v1.0.27

func (c ConversationLocal) GetFinalizeInfo() *ConversationFinalizeInfo

func (ConversationLocal) GetMaxDeletedUpTo

func (c ConversationLocal) GetMaxDeletedUpTo() MessageID

func (ConversationLocal) GetMaxMessage added in v1.0.27

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

func (ConversationLocal) GetMembersType added in v1.0.27

func (c ConversationLocal) GetMembersType() ConversationMembersType

func (ConversationLocal) GetMtime added in v1.0.19

func (c ConversationLocal) GetMtime() gregor1.Time

func (ConversationLocal) GetTeamType

func (c ConversationLocal) GetTeamType() TeamType

func (ConversationLocal) GetTopicName

func (c ConversationLocal) GetTopicName() string

func (ConversationLocal) GetTopicType added in v1.0.27

func (c ConversationLocal) GetTopicType() TopicType

func (ConversationLocal) IsPublic added in v1.0.46

func (c ConversationLocal) IsPublic() bool

func (ConversationLocal) MaxVisibleMsgID

func (c ConversationLocal) MaxVisibleMsgID() MessageID

type ConversationLocalParticipant added in v1.0.34

type ConversationLocalParticipant struct {
	Username    string  `codec:"username" json:"username"`
	InConvName  bool    `codec:"inConvName" json:"inConvName"`
	Fullname    *string `codec:"fullname,omitempty" json:"fullname,omitempty"`
	ContactName *string `codec:"contactName,omitempty" json:"contactName,omitempty"`
}

func (ConversationLocalParticipant) DeepCopy added in v1.0.34

type ConversationMember added in v1.0.27

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

func (ConversationMember) DeepCopy added in v1.0.27

type ConversationMemberStatus added in v1.0.27

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

func AllConversationMemberStatuses added in v1.0.29

func AllConversationMemberStatuses() (res []ConversationMemberStatus)

func (ConversationMemberStatus) DeepCopy added in v1.0.27

func (ConversationMemberStatus) String added in v1.0.27

func (e ConversationMemberStatus) String() string

func (ConversationMemberStatus) ToGregorDBString added in v1.0.34

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

func (ConversationMemberStatus) ToGregorDBStringAssert added in v1.0.34

func (c ConversationMemberStatus) ToGregorDBStringAssert() string

type ConversationMembersType added in v1.0.27

type ConversationMembersType int
const (
	ConversationMembersType_KBFS           ConversationMembersType = 0
	ConversationMembersType_TEAM           ConversationMembersType = 1
	ConversationMembersType_IMPTEAMNATIVE  ConversationMembersType = 2
	ConversationMembersType_IMPTEAMUPGRADE ConversationMembersType = 3
)

func (ConversationMembersType) DeepCopy added in v1.0.27

func (ConversationMembersType) String added in v1.0.27

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"`
	LocalVersion   LocalConversationVers     `codec:"localVersion" json:"localVersion"`
	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"`
	IsDefaultConv  bool                      `codec:"d" json:"isDefaultConv"`
}

func (ConversationMetadata) DeepCopy added in v1.0.27

type ConversationMinWriterRoleInfo

type ConversationMinWriterRoleInfo struct {
	Uid  gregor1.UID       `codec:"uid" json:"uid"`
	Role keybase1.TeamRole `codec:"role" json:"role"`
}

func (ConversationMinWriterRoleInfo) DeepCopy

type ConversationMinWriterRoleInfoLocal

type ConversationMinWriterRoleInfoLocal struct {
	ChangedBy   string            `codec:"changedBy" json:"changedBy"`
	CannotWrite bool              `codec:"cannotWrite" json:"cannotWrite"`
	Role        keybase1.TeamRole `codec:"role" json:"role"`
}

func (ConversationMinWriterRoleInfoLocal) DeepCopy

func (*ConversationMinWriterRoleInfoLocal) String

type ConversationNotificationInfo added in v1.0.27

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

func (ConversationNotificationInfo) DeepCopy added in v1.0.27

type ConversationPinnedMessage

type ConversationPinnedMessage struct {
	Message        MessageUnboxed `codec:"message" json:"message"`
	PinnerUsername string         `codec:"pinnerUsername" json:"pinnerUsername"`
}

func (ConversationPinnedMessage) 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"`
	UntrustedTeamRole keybase1.TeamRole            `codec:"untrustedTeamRole" json:"untrustedTeamRole"`
	Journeycard       *ConversationJourneycardInfo `codec:"jc,omitempty" json:"jc,omitempty"`
}

func (ConversationReaderInfo) DeepCopy added in v1.0.27

type ConversationResolveInfo added in v1.0.19

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

func (ConversationResolveInfo) DeepCopy added in v1.0.27

type ConversationSettings

type ConversationSettings struct {
	MinWriterRoleInfo *ConversationMinWriterRoleInfo `codec:"mwr,omitempty" json:"mwr,omitempty"`
}

func (ConversationSettings) DeepCopy

func (*ConversationSettings) IsNil

func (s *ConversationSettings) IsNil() bool

type ConversationSettingsLocal

type ConversationSettingsLocal struct {
	MinWriterRoleInfo *ConversationMinWriterRoleInfoLocal `codec:"minWriterRoleInfo,omitempty" json:"minWriterRoleInfo,omitempty"`
}

func (ConversationSettingsLocal) DeepCopy

type ConversationStaleUpdate added in v1.0.27

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

func (ConversationStaleUpdate) DeepCopy added in v1.0.27

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 added in v1.0.27

func (ConversationStatus) String added in v1.0.19

func (e ConversationStatus) String() string

type ConversationUpdate

type ConversationUpdate struct {
	ConvID    ConversationID        `codec:"convID" json:"convID"`
	Existence ConversationExistence `codec:"existence" json:"existence"`
}

func (ConversationUpdate) DeepCopy

type ConversationVers added in v1.0.31

type ConversationVers uint64

func (ConversationVers) DeepCopy added in v1.0.31

func (o ConversationVers) DeepCopy() ConversationVers

type Coordinate

type Coordinate struct {
	Lat      float64 `codec:"lat" json:"lat"`
	Lon      float64 `codec:"lon" json:"lon"`
	Accuracy float64 `codec:"accuracy" json:"accuracy"`
}

func (Coordinate) DeepCopy

func (o Coordinate) DeepCopy() Coordinate

func (Coordinate) Eq

func (c Coordinate) Eq(o Coordinate) bool

func (Coordinate) IsZero

func (c Coordinate) IsZero() bool

type DecorateClient

type DecorateClient struct {
	Cli rpc.GenericClient
}

type DecorateInterface

type DecorateInterface interface {
}

type DecorationPayment

type DecorationPayment struct {
	PaymentID stellar1.PaymentID `codec:"paymentID" json:"paymentID"`
}

func (DecorationPayment) DeepCopy

func (o DecorationPayment) DeepCopy() DecorationPayment

type DeleteConversationArg added in v1.0.31

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

type DeleteConversationLocalArg added in v1.0.31

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 added in v1.0.31

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

func (DeleteConversationLocalRes) DeepCopy added in v1.0.31

func (*DeleteConversationLocalRes) GetRateLimit

func (r *DeleteConversationLocalRes) GetRateLimit() []RateLimit

func (*DeleteConversationLocalRes) SetOffline added in v1.0.31

func (r *DeleteConversationLocalRes) SetOffline()

func (*DeleteConversationLocalRes) SetRateLimits

func (r *DeleteConversationLocalRes) SetRateLimits(rl []RateLimit)

type DeleteConversationRemoteRes added in v1.0.31

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

func (DeleteConversationRemoteRes) DeepCopy added in v1.0.31

func (*DeleteConversationRemoteRes) GetRateLimit

func (r *DeleteConversationRemoteRes) GetRateLimit() (res []RateLimit)

func (*DeleteConversationRemoteRes) SetRateLimits

func (r *DeleteConversationRemoteRes) SetRateLimits(rl []RateLimit)

type DeviceInfo

type DeviceInfo struct {
	DeviceID          keybase1.DeviceID     `codec:"deviceID" json:"id"`
	DeviceDescription string                `codec:"deviceDescription" json:"description"`
	DeviceType        keybase1.DeviceTypeV2 `codec:"deviceType" json:"type"`
	DeviceCtime       int64                 `codec:"deviceCtime" json:"ctime"`
}

func (DeviceInfo) DeepCopy

func (o DeviceInfo) DeepCopy() DeviceInfo

type DismissJourneycardArg

type DismissJourneycardArg struct {
	ConvID   ConversationID  `codec:"convID" json:"convID"`
	CardType JourneycardType `codec:"cardType" json:"cardType"`
}

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 {
	RateLimits       []RateLimit                   `codec:"rateLimits" json:"rateLimits"`
	IdentifyFailures []keybase1.TLFIdentifyFailure `codec:"identifyFailures" json:"identifyFailures"`
}

func (DownloadAttachmentLocalRes) DeepCopy added in v1.0.27

func (*DownloadAttachmentLocalRes) GetRateLimit

func (r *DownloadAttachmentLocalRes) GetRateLimit() []RateLimit

func (*DownloadAttachmentLocalRes) SetRateLimits

func (r *DownloadAttachmentLocalRes) SetRateLimits(rl []RateLimit)

type DownloadFileAttachmentLocalArg added in v1.0.19

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

type DownloadFileAttachmentLocalRes

type DownloadFileAttachmentLocalRes struct {
	FilePath         string                        `codec:"filePath" json:"filePath"`
	RateLimits       []RateLimit                   `codec:"rateLimits" json:"rateLimits"`
	IdentifyFailures []keybase1.TLFIdentifyFailure `codec:"identifyFailures" json:"identifyFailures"`
}

func (DownloadFileAttachmentLocalRes) DeepCopy

func (*DownloadFileAttachmentLocalRes) GetRateLimit

func (r *DownloadFileAttachmentLocalRes) GetRateLimit() []RateLimit

func (*DownloadFileAttachmentLocalRes) SetRateLimits

func (r *DownloadFileAttachmentLocalRes) SetRateLimits(rl []RateLimit)

type EditBotMemberArg

type EditBotMemberArg struct {
	ConvID      ConversationID            `codec:"convID" json:"convID"`
	Username    string                    `codec:"username" json:"username"`
	BotSettings *keybase1.TeamBotSettings `codec:"botSettings,omitempty" json:"botSettings,omitempty"`
	Role        keybase1.TeamRole         `codec:"role" json:"role"`
}

type EditTarget

type EditTarget struct {
	MessageID *MessageID `codec:"messageID,omitempty" json:"messageID,omitempty"`
	OutboxID  *OutboxID  `codec:"outboxID,omitempty" json:"outboxID,omitempty"`
}

func (EditTarget) DeepCopy

func (o EditTarget) DeepCopy() EditTarget

type EmptyRes

type EmptyRes struct {
	RateLimits []RateLimitRes `codec:"rateLimits,omitempty" json:"ratelimits,omitempty"`
}

func (EmptyRes) DeepCopy

func (o EmptyRes) DeepCopy() EmptyRes

type EmptyStruct

type EmptyStruct struct {
}

func (EmptyStruct) DeepCopy

func (o EmptyStruct) DeepCopy() EmptyStruct

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 added in v1.0.19

func (d *EncryptedData) AsSealed() SealedData

func (EncryptedData) DeepCopy added in v1.0.27

func (o EncryptedData) DeepCopy() EncryptedData

type EphemeralPurgeInfo added in v1.0.48

type EphemeralPurgeInfo struct {
	ConvID          ConversationID `codec:"c" json:"c"`
	IsActive        bool           `codec:"a" json:"a"`
	NextPurgeTime   gregor1.Time   `codec:"n" json:"n"`
	MinUnexplodedID MessageID      `codec:"e" json:"e"`
}

func (EphemeralPurgeInfo) DeepCopy added in v1.0.48

func (EphemeralPurgeInfo) Eq

func (EphemeralPurgeInfo) String

func (i EphemeralPurgeInfo) String() string

type EphemeralPurgeNotifInfo

type EphemeralPurgeNotifInfo struct {
	ConvID ConversationID `codec:"convID" json:"convID"`
	Msgs   []UIMessage    `codec:"msgs" json:"msgs"`
}

func (EphemeralPurgeNotifInfo) DeepCopy

type Expunge added in v1.0.40

type Expunge struct {
	Upto  MessageID `codec:"upto" json:"upto"`
	Basis MessageID `codec:"basis" json:"basis"`
}

func (Expunge) DeepCopy added in v1.0.40

func (o Expunge) DeepCopy() Expunge

type ExpungeInfo added in v1.0.42

type ExpungeInfo struct {
	ConvID  ConversationID `codec:"convID" json:"convID"`
	Expunge Expunge        `codec:"expunge" json:"expunge"`
}

func (ExpungeInfo) DeepCopy added in v1.0.42

func (o ExpungeInfo) DeepCopy() ExpungeInfo

type ExpungePayload added in v1.0.42

type ExpungePayload struct {
	Action       string           `codec:"Action" json:"Action"`
	ConvID       ConversationID   `codec:"convID" json:"convID"`
	InboxVers    InboxVers        `codec:"inboxVers" json:"inboxVers"`
	Expunge      Expunge          `codec:"expunge" json:"expunge"`
	MaxMsgs      []MessageSummary `codec:"maxMsgs" json:"maxMsgs"`
	TopicType    TopicType        `codec:"topicType" json:"topicType"`
	UnreadUpdate *UnreadUpdate    `codec:"unreadUpdate,omitempty" json:"unreadUpdate,omitempty"`
}

func (ExpungePayload) DeepCopy added in v1.0.42

func (o ExpungePayload) DeepCopy() ExpungePayload

type ExternalAPIKey

type ExternalAPIKey struct {
	Typ__        ExternalAPIKeyTyp `codec:"typ" json:"typ"`
	Googlemaps__ *string           `codec:"googlemaps,omitempty" json:"googlemaps,omitempty"`
	Giphy__      *string           `codec:"giphy,omitempty" json:"giphy,omitempty"`
}

func NewExternalAPIKeyWithGiphy

func NewExternalAPIKeyWithGiphy(v string) ExternalAPIKey

func NewExternalAPIKeyWithGooglemaps

func NewExternalAPIKeyWithGooglemaps(v string) ExternalAPIKey

func (ExternalAPIKey) DeepCopy

func (o ExternalAPIKey) DeepCopy() ExternalAPIKey

func (ExternalAPIKey) Giphy

func (o ExternalAPIKey) Giphy() (res string)

func (ExternalAPIKey) Googlemaps

func (o ExternalAPIKey) Googlemaps() (res string)

func (*ExternalAPIKey) Typ

func (o *ExternalAPIKey) Typ() (ret ExternalAPIKeyTyp, err error)

type ExternalAPIKeyTyp

type ExternalAPIKeyTyp int
const (
	ExternalAPIKeyTyp_GOOGLEMAPS ExternalAPIKeyTyp = 0
	ExternalAPIKeyTyp_GIPHY      ExternalAPIKeyTyp = 1
)

func (ExternalAPIKeyTyp) DeepCopy

func (o ExternalAPIKeyTyp) DeepCopy() ExternalAPIKeyTyp

func (ExternalAPIKeyTyp) String

func (e ExternalAPIKeyTyp) String() string

type FailSharePostArg

type FailSharePostArg struct {
	ConvID   ConversationID   `codec:"convID" json:"convID"`
	DeviceID gregor1.DeviceID `codec:"deviceID" json:"deviceID"`
	OutboxID OutboxID         `codec:"outboxID" json:"outboxID"`
}

type FailedMessageInfo added in v1.0.19

type FailedMessageInfo struct {
	OutboxRecords    []OutboxRecord `codec:"outboxRecords" json:"outboxRecords"`
	IsEphemeralPurge bool           `codec:"isEphemeralPurge" json:"isEphemeralPurge"`
	Conv             *InboxUIItem   `codec:"conv,omitempty" json:"conv,omitempty"`
}

func (FailedMessageInfo) DeepCopy added in v1.0.27

func (o FailedMessageInfo) DeepCopy() FailedMessageInfo

type FindConversationsLocalArg added in v1.0.19

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 added in v1.0.19

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

func (FindConversationsLocalRes) DeepCopy added in v1.0.27

func (*FindConversationsLocalRes) GetRateLimit

func (r *FindConversationsLocalRes) GetRateLimit() []RateLimit

func (*FindConversationsLocalRes) SetOffline added in v1.0.21

func (r *FindConversationsLocalRes) SetOffline()

func (*FindConversationsLocalRes) SetRateLimits

func (r *FindConversationsLocalRes) SetRateLimits(rl []RateLimit)

type FindGeneralConvFromTeamIDArg

type FindGeneralConvFromTeamIDArg struct {
	TeamID keybase1.TeamID `codec:"teamID" json:"teamID"`
}

type FlipGameID

type FlipGameID []byte

func MakeFlipGameID

func MakeFlipGameID(s string) (FlipGameID, error)

func (FlipGameID) Check

func (g FlipGameID) Check() bool

func (FlipGameID) DeepCopy

func (o FlipGameID) DeepCopy() FlipGameID

func (FlipGameID) Eq

func (g FlipGameID) Eq(h FlipGameID) bool

func (FlipGameID) FlipGameIDStr

func (g FlipGameID) FlipGameIDStr() FlipGameIDStr

func (FlipGameID) IsZero

func (g FlipGameID) IsZero() bool

func (FlipGameID) String

func (g FlipGameID) String() string

type FlipGameIDStr

type FlipGameIDStr string

func (FlipGameIDStr) DeepCopy

func (o FlipGameIDStr) DeepCopy() FlipGameIDStr

func (FlipGameIDStr) String

func (i FlipGameIDStr) String() string

type GalleryItemTyp

type GalleryItemTyp int
const (
	GalleryItemTyp_MEDIA GalleryItemTyp = 0
	GalleryItemTyp_LINK  GalleryItemTyp = 1
	GalleryItemTyp_DOC   GalleryItemTyp = 2
)

func (GalleryItemTyp) DeepCopy

func (o GalleryItemTyp) DeepCopy() GalleryItemTyp

func (GalleryItemTyp) String

func (e GalleryItemTyp) String() string

type GenerateOutboxIDArg added in v1.0.27

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"`
	TopicType    TopicType      `codec:"topicType" json:"topicType"`
	UnreadUpdate *UnreadUpdate  `codec:"unreadUpdate,omitempty" json:"unreadUpdate,omitempty"`
}

func (GenericPayload) DeepCopy added in v1.0.27

func (o GenericPayload) DeepCopy() GenericPayload

type GetAllResetConvMembersArg

type GetAllResetConvMembersArg struct {
}

type GetAllResetConvMembersRes

type GetAllResetConvMembersRes struct {
	Members    []ResetConvMember `codec:"members" json:"members"`
	RateLimits []RateLimit       `codec:"rateLimits" json:"rateLimits"`
}

func (GetAllResetConvMembersRes) DeepCopy

func (*GetAllResetConvMembersRes) GetRateLimit

func (r *GetAllResetConvMembersRes) GetRateLimit() []RateLimit

func (*GetAllResetConvMembersRes) SetRateLimits

func (r *GetAllResetConvMembersRes) SetRateLimits(rl []RateLimit)

type GetBotInfoArg

type GetBotInfoArg struct {
	ConvID         ConversationID  `codec:"convID" json:"convID"`
	InfoHash       BotInfoHash     `codec:"infoHash" json:"infoHash"`
	ClientHashVers BotInfoHashVers `codec:"clientHashVers" json:"clientHashVers"`
}

type GetBotInfoRes

type GetBotInfoRes struct {
	Response  BotInfoResponse `codec:"response" json:"response"`
	RateLimit *RateLimit      `codec:"rateLimit,omitempty" json:"rateLimit,omitempty"`
}

func (GetBotInfoRes) DeepCopy

func (o GetBotInfoRes) DeepCopy() GetBotInfoRes

func (*GetBotInfoRes) GetRateLimit

func (r *GetBotInfoRes) GetRateLimit() (res []RateLimit)

func (*GetBotInfoRes) SetRateLimits

func (r *GetBotInfoRes) SetRateLimits(rl []RateLimit)

type GetBotMemberSettingsArg

type GetBotMemberSettingsArg struct {
	ConvID   ConversationID `codec:"convID" json:"convID"`
	Username string         `codec:"username" json:"username"`
}

type GetChannelMembershipsLocalArg

type GetChannelMembershipsLocalArg struct {
	TeamID keybase1.TeamID `codec:"teamID" json:"teamID"`
	Uid    gregor1.UID     `codec:"uid" json:"uid"`
}

type GetChannelMembershipsLocalRes

type GetChannelMembershipsLocalRes struct {
	Channels   []ChannelNameMention `codec:"channels" json:"channels"`
	Offline    bool                 `codec:"offline" json:"offline"`
	RateLimits []RateLimit          `codec:"rateLimits" json:"rateLimits"`
}

func (GetChannelMembershipsLocalRes) DeepCopy

func (*GetChannelMembershipsLocalRes) GetRateLimit

func (r *GetChannelMembershipsLocalRes) GetRateLimit() []RateLimit

func (*GetChannelMembershipsLocalRes) SetOffline

func (r *GetChannelMembershipsLocalRes) SetOffline()

func (*GetChannelMembershipsLocalRes) SetRateLimits

func (r *GetChannelMembershipsLocalRes) SetRateLimits(rl []RateLimit)

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 added in v1.0.27

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 added in v1.0.27

func (*GetConversationForCLILocalRes) GetRateLimit

func (r *GetConversationForCLILocalRes) GetRateLimit() []RateLimit

func (*GetConversationForCLILocalRes) SetOffline added in v1.0.21

func (r *GetConversationForCLILocalRes) SetOffline()

func (*GetConversationForCLILocalRes) SetRateLimits

func (r *GetConversationForCLILocalRes) SetRateLimits(rl []RateLimit)

type GetConversationMetadataRemoteRes

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

func (GetConversationMetadataRemoteRes) DeepCopy added in v1.0.27

func (*GetConversationMetadataRemoteRes) GetRateLimit

func (r *GetConversationMetadataRemoteRes) GetRateLimit() (res []RateLimit)

func (*GetConversationMetadataRemoteRes) SetRateLimits

func (r *GetConversationMetadataRemoteRes) SetRateLimits(rl []RateLimit)

type GetDefaultTeamChannelsArg

type GetDefaultTeamChannelsArg struct {
	TeamID keybase1.TeamID `codec:"teamID" json:"teamID"`
}

type GetDefaultTeamChannelsLocalArg

type GetDefaultTeamChannelsLocalArg struct {
	TeamName string `codec:"teamName" json:"teamName"`
}

type GetDefaultTeamChannelsLocalRes

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

func (GetDefaultTeamChannelsLocalRes) DeepCopy

func (*GetDefaultTeamChannelsLocalRes) GetRateLimit

func (r *GetDefaultTeamChannelsLocalRes) GetRateLimit() (res []RateLimit)

func (*GetDefaultTeamChannelsLocalRes) SetRateLimits

func (r *GetDefaultTeamChannelsLocalRes) SetRateLimits(rl []RateLimit)

type GetDefaultTeamChannelsRes

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

func (GetDefaultTeamChannelsRes) DeepCopy

type GetDeviceInfoRes

type GetDeviceInfoRes struct {
	Devices []DeviceInfo `codec:"devices" json:"devices"`
}

func (GetDeviceInfoRes) DeepCopy

func (o GetDeviceInfoRes) DeepCopy() GetDeviceInfoRes

type GetExternalAPIKeysArg

type GetExternalAPIKeysArg struct {
	Typs []ExternalAPIKeyTyp `codec:"typs" json:"typs"`
}

type GetGlobalAppNotificationSettingsArg added in v1.0.27

type GetGlobalAppNotificationSettingsArg struct {
}

type GetGlobalAppNotificationSettingsLocalArg added in v1.0.27

type GetGlobalAppNotificationSettingsLocalArg struct {
}

type GetInboxAndUnboxLocalArg

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

type GetInboxAndUnboxLocalRes

type GetInboxAndUnboxLocalRes 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 (GetInboxAndUnboxLocalRes) DeepCopy added in v1.0.27

func (*GetInboxAndUnboxLocalRes) GetRateLimit

func (r *GetInboxAndUnboxLocalRes) GetRateLimit() []RateLimit

func (*GetInboxAndUnboxLocalRes) SetOffline added in v1.0.21

func (r *GetInboxAndUnboxLocalRes) SetOffline()

func (*GetInboxAndUnboxLocalRes) SetRateLimits

func (r *GetInboxAndUnboxLocalRes) SetRateLimits(rl []RateLimit)

type GetInboxAndUnboxUILocalArg

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

type GetInboxAndUnboxUILocalRes

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

func (GetInboxAndUnboxUILocalRes) DeepCopy

func (*GetInboxAndUnboxUILocalRes) GetRateLimit

func (r *GetInboxAndUnboxUILocalRes) GetRateLimit() []RateLimit

func (*GetInboxAndUnboxUILocalRes) SetOffline

func (r *GetInboxAndUnboxUILocalRes) SetOffline()

func (*GetInboxAndUnboxUILocalRes) SetRateLimits

func (r *GetInboxAndUnboxUILocalRes) SetRateLimits(rl []RateLimit)

type GetInboxByTLFIDRemoteRes

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

func (GetInboxByTLFIDRemoteRes) DeepCopy added in v1.0.27

func (*GetInboxByTLFIDRemoteRes) GetRateLimit

func (r *GetInboxByTLFIDRemoteRes) GetRateLimit() (res []RateLimit)

func (*GetInboxByTLFIDRemoteRes) SetRateLimits

func (r *GetInboxByTLFIDRemoteRes) SetRateLimits(rl []RateLimit)

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"`
	MemberStatus      []ConversationMemberStatus `codec:"memberStatus" json:"memberStatus"`
	UnreadOnly        bool                       `codec:"unreadOnly" json:"unreadOnly"`
	ReadOnly          bool                       `codec:"readOnly" json:"readOnly"`
	ComputeActiveList bool                       `codec:"computeActiveList" json:"computeActiveList"`
}

func (GetInboxLocalQuery) DeepCopy added in v1.0.27

func (*GetInboxLocalQuery) Visibility added in v1.0.19

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 GetInboxNonblockLocalArg added in v1.0.19

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"`
	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"`
	TopicName         *string                    `codec:"topicName,omitempty" json:"topicName,omitempty"`
	Status            []ConversationStatus       `codec:"status" json:"status"`
	MemberStatus      []ConversationMemberStatus `codec:"memberStatus" json:"memberStatus"`
	Existences        []ConversationExistence    `codec:"existences" json:"existences"`
	MembersTypes      []ConversationMembersType  `codec:"membersTypes" json:"membersTypes"`
	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"`
	ParticipantsMode  InboxParticipantsMode      `codec:"participantsMode" json:"participantsMode"`
	SkipBgLoads       bool                       `codec:"skipBgLoads" json:"skipBgLoads"`
	AllowUnseenQuery  bool                       `codec:"allowUnseenQuery" json:"allowUnseenQuery"`
}

func (GetInboxQuery) DeepCopy added in v1.0.27

func (o GetInboxQuery) DeepCopy() GetInboxQuery

func (*GetInboxQuery) Visibility added in v1.0.19

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 added in v1.0.27

func (o GetInboxRemoteRes) DeepCopy() GetInboxRemoteRes

func (*GetInboxRemoteRes) GetRateLimit

func (r *GetInboxRemoteRes) GetRateLimit() (res []RateLimit)

func (*GetInboxRemoteRes) SetRateLimits

func (r *GetInboxRemoteRes) SetRateLimits(rl []RateLimit)

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"`
	ConvIDs             []ConversationID       `codec:"convIDs" json:"convIDs"`
	UnreadFirst         bool                   `codec:"unreadFirst" json:"unreadFirst"`
	UnreadFirstLimit    UnreadFirstNumLimit    `codec:"unreadFirstLimit" json:"unreadFirstLimit"`
	ActivitySortedLimit int                    `codec:"activitySortedLimit" json:"activitySortedLimit"`
}

func (GetInboxSummaryForCLILocalQuery) DeepCopy added in v1.0.27

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 added in v1.0.27

func (*GetInboxSummaryForCLILocalRes) GetRateLimit

func (r *GetInboxSummaryForCLILocalRes) GetRateLimit() []RateLimit

func (*GetInboxSummaryForCLILocalRes) SetOffline added in v1.0.21

func (r *GetInboxSummaryForCLILocalRes) SetOffline()

func (*GetInboxSummaryForCLILocalRes) SetRateLimits

func (r *GetInboxSummaryForCLILocalRes) SetRateLimits(rl []RateLimit)

type GetInboxVersionArg added in v1.0.19

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

type GetLastActiveAtArg

type GetLastActiveAtArg struct {
	TeamID keybase1.TeamID `codec:"teamID" json:"teamID"`
	Uid    gregor1.UID     `codec:"uid" json:"uid"`
}

type GetLastActiveAtLocalArg

type GetLastActiveAtLocalArg struct {
	TeamID keybase1.TeamID `codec:"teamID" json:"teamID"`
	Uid    gregor1.UID     `codec:"uid" json:"uid"`
}

type GetLastActiveAtRes

type GetLastActiveAtRes struct {
	LastActiveAt gregor1.Time `codec:"lastActiveAt" json:"lastActiveAt"`
	RateLimit    *RateLimit   `codec:"rateLimit,omitempty" json:"rateLimit,omitempty"`
}

func (GetLastActiveAtRes) DeepCopy

type GetLastActiveForTLFArg

type GetLastActiveForTLFArg struct {
	TlfID TLFIDStr `codec:"tlfID" json:"tlfID"`
}

type GetLastActiveForTeamsArg

type GetLastActiveForTeamsArg struct {
}

type GetMessageBeforeArg added in v1.0.40

type GetMessageBeforeArg struct {
	ConvID ConversationID      `codec:"convID" json:"convID"`
	Age    gregor1.DurationSec `codec:"age" json:"age"`
}

type GetMessageBeforeRes added in v1.0.40

type GetMessageBeforeRes struct {
	MsgID     MessageID  `codec:"msgID" json:"msgID"`
	RateLimit *RateLimit `codec:"rateLimit,omitempty" json:"rateLimit,omitempty"`
}

func (GetMessageBeforeRes) DeepCopy added in v1.0.40

func (*GetMessageBeforeRes) GetRateLimit

func (r *GetMessageBeforeRes) GetRateLimit() (res []RateLimit)

func (*GetMessageBeforeRes) SetRateLimits

func (r *GetMessageBeforeRes) SetRateLimits(rl []RateLimit)

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 added in v1.0.27

func (*GetMessagesLocalRes) GetRateLimit

func (r *GetMessagesLocalRes) GetRateLimit() []RateLimit

func (*GetMessagesLocalRes) SetOffline added in v1.0.21

func (r *GetMessagesLocalRes) SetOffline()

func (*GetMessagesLocalRes) SetRateLimits

func (r *GetMessagesLocalRes) SetRateLimits(rl []RateLimit)

type GetMessagesRemoteArg

type GetMessagesRemoteArg struct {
	ConversationID ConversationID   `codec:"conversationID" json:"conversationID"`
	ThreadReason   *GetThreadReason `codec:"threadReason,omitempty" json:"threadReason,omitempty"`
	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 added in v1.0.27

func (*GetMessagesRemoteRes) GetRateLimit

func (r *GetMessagesRemoteRes) GetRateLimit() (res []RateLimit)

func (*GetMessagesRemoteRes) SetRateLimits

func (r *GetMessagesRemoteRes) SetRateLimits(rl []RateLimit)

type GetNextAttachmentMessageLocalArg

type GetNextAttachmentMessageLocalArg struct {
	ConvID           ConversationID               `codec:"convID" json:"convID"`
	MessageID        MessageID                    `codec:"messageID" json:"messageID"`
	BackInTime       bool                         `codec:"backInTime" json:"backInTime"`
	AssetTypes       []AssetMetadataType          `codec:"assetTypes" json:"assetTypes"`
	IdentifyBehavior keybase1.TLFIdentifyBehavior `codec:"identifyBehavior" json:"identifyBehavior"`
}

type GetNextAttachmentMessageLocalRes

type GetNextAttachmentMessageLocalRes struct {
	Message          *UIMessage                    `codec:"message,omitempty" json:"message,omitempty"`
	Offline          bool                          `codec:"offline" json:"offline"`
	RateLimits       []RateLimit                   `codec:"rateLimits" json:"rateLimits"`
	IdentifyFailures []keybase1.TLFIdentifyFailure `codec:"identifyFailures" json:"identifyFailures"`
}

func (GetNextAttachmentMessageLocalRes) DeepCopy

func (*GetNextAttachmentMessageLocalRes) GetRateLimit

func (r *GetNextAttachmentMessageLocalRes) GetRateLimit() []RateLimit

func (*GetNextAttachmentMessageLocalRes) SetOffline

func (r *GetNextAttachmentMessageLocalRes) SetOffline()

func (*GetNextAttachmentMessageLocalRes) SetRateLimits

func (r *GetNextAttachmentMessageLocalRes) SetRateLimits(rl []RateLimit)

type GetPublicConversationsArg added in v1.0.19

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

type GetPublicConversationsRes added in v1.0.19

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

func (GetPublicConversationsRes) DeepCopy added in v1.0.27

func (*GetPublicConversationsRes) GetRateLimit

func (r *GetPublicConversationsRes) GetRateLimit() (res []RateLimit)

func (*GetPublicConversationsRes) SetRateLimits

func (r *GetPublicConversationsRes) SetRateLimits(rl []RateLimit)

type GetRecentJoinsArg

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

type GetRecentJoinsLocalArg

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

type GetRecentJoinsRes

type GetRecentJoinsRes struct {
	NumJoins  int        `codec:"numJoins" json:"numJoins"`
	RateLimit *RateLimit `codec:"rateLimit,omitempty" json:"rateLimit,omitempty"`
}

func (GetRecentJoinsRes) DeepCopy

func (o GetRecentJoinsRes) DeepCopy() GetRecentJoinsRes

type GetResetConvMembersRes

type GetResetConvMembersRes struct {
	Members    []ResetConvMemberAPI `codec:"members" json:"members"`
	RateLimits []RateLimitRes       `codec:"rateLimits" json:"rateLimits"`
}

func (GetResetConvMembersRes) DeepCopy

type GetS3ParamsArg

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

type GetStaticConfigArg

type GetStaticConfigArg struct {
}

type GetTLFConversationsArg added in v1.0.27

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

type GetTLFConversationsLocalArg added in v1.0.27

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

type GetTLFConversationsLocalRes added in v1.0.27

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

func (GetTLFConversationsLocalRes) DeepCopy added in v1.0.27

func (*GetTLFConversationsLocalRes) GetRateLimit

func (r *GetTLFConversationsLocalRes) GetRateLimit() []RateLimit

func (*GetTLFConversationsLocalRes) SetOffline added in v1.0.27

func (r *GetTLFConversationsLocalRes) SetOffline()

func (*GetTLFConversationsLocalRes) SetRateLimits

func (r *GetTLFConversationsLocalRes) SetRateLimits(rl []RateLimit)

type GetTLFConversationsRes added in v1.0.27

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

func (GetTLFConversationsRes) DeepCopy added in v1.0.27

func (*GetTLFConversationsRes) GetRateLimit

func (r *GetTLFConversationsRes) GetRateLimit() (res []RateLimit)

func (*GetTLFConversationsRes) SetRateLimits

func (r *GetTLFConversationsRes) SetRateLimits(rl []RateLimit)

type GetTeamRetentionLocalArg added in v1.0.46

type GetTeamRetentionLocalArg struct {
	TeamID keybase1.TeamID `codec:"teamID" json:"teamID"`
}

type GetTeamRoleInConversationArg

type GetTeamRoleInConversationArg struct {
	ConvID   ConversationID `codec:"convID" json:"convID"`
	Username string         `codec:"username" json:"username"`
}

type GetThreadLocalArg

type GetThreadLocalArg struct {
	ConversationID   ConversationID               `codec:"conversationID" json:"conversationID"`
	Reason           GetThreadReason              `codec:"reason" json:"reason"`
	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 added in v1.0.27

func (o GetThreadLocalRes) DeepCopy() GetThreadLocalRes

func (*GetThreadLocalRes) GetRateLimit

func (r *GetThreadLocalRes) GetRateLimit() []RateLimit

func (*GetThreadLocalRes) SetOffline added in v1.0.21

func (r *GetThreadLocalRes) SetOffline()

func (*GetThreadLocalRes) SetRateLimits

func (r *GetThreadLocalRes) SetRateLimits(rl []RateLimit)

type GetThreadNonblockArg added in v1.0.21

type GetThreadNonblockArg struct {
	SessionID        int                          `codec:"sessionID" json:"sessionID"`
	ConversationID   ConversationID               `codec:"conversationID" json:"conversationID"`
	CbMode           GetThreadNonblockCbMode      `codec:"cbMode" json:"cbMode"`
	Reason           GetThreadReason              `codec:"reason" json:"reason"`
	Pgmode           GetThreadNonblockPgMode      `codec:"pgmode" json:"pgmode"`
	Query            *GetThreadQuery              `codec:"query,omitempty" json:"query,omitempty"`
	KnownRemotes     []string                     `codec:"knownRemotes" json:"knownRemotes"`
	Pagination       *UIPagination                `codec:"pagination,omitempty" json:"pagination,omitempty"`
	IdentifyBehavior keybase1.TLFIdentifyBehavior `codec:"identifyBehavior" json:"identifyBehavior"`
}

type GetThreadNonblockCbMode added in v1.0.42

type GetThreadNonblockCbMode int
const (
	GetThreadNonblockCbMode_FULL        GetThreadNonblockCbMode = 0
	GetThreadNonblockCbMode_INCREMENTAL GetThreadNonblockCbMode = 1
)

func (GetThreadNonblockCbMode) DeepCopy added in v1.0.42

func (GetThreadNonblockCbMode) String added in v1.0.42

func (e GetThreadNonblockCbMode) String() string

type GetThreadNonblockPgMode

type GetThreadNonblockPgMode int
const (
	GetThreadNonblockPgMode_DEFAULT GetThreadNonblockPgMode = 0
	GetThreadNonblockPgMode_SERVER  GetThreadNonblockPgMode = 1
)

func (GetThreadNonblockPgMode) DeepCopy

func (GetThreadNonblockPgMode) String

func (e GetThreadNonblockPgMode) String() string

type GetThreadQuery

type GetThreadQuery struct {
	MarkAsRead               bool              `codec:"markAsRead" json:"markAsRead"`
	MessageTypes             []MessageType     `codec:"messageTypes" json:"messageTypes"`
	DisableResolveSupersedes bool              `codec:"disableResolveSupersedes" json:"disableResolveSupersedes"`
	EnableDeletePlaceholders bool              `codec:"enableDeletePlaceholders" json:"enableDeletePlaceholders"`
	DisablePostProcessThread bool              `codec:"disablePostProcessThread" json:"disablePostProcessThread"`
	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 added in v1.0.27

func (o GetThreadQuery) DeepCopy() GetThreadQuery

type GetThreadReason

type GetThreadReason int
const (
	GetThreadReason_GENERAL            GetThreadReason = 0
	GetThreadReason_PUSH               GetThreadReason = 1
	GetThreadReason_FOREGROUND         GetThreadReason = 2
	GetThreadReason_BACKGROUNDCONVLOAD GetThreadReason = 3
	GetThreadReason_FIXRETRY           GetThreadReason = 4
	GetThreadReason_PREPARE            GetThreadReason = 5
	GetThreadReason_SEARCHER           GetThreadReason = 6
	GetThreadReason_INDEXED_SEARCH     GetThreadReason = 7
	GetThreadReason_KBFSFILEACTIVITY   GetThreadReason = 8
	GetThreadReason_COINFLIP           GetThreadReason = 9
	GetThreadReason_BOTCOMMANDS        GetThreadReason = 10
)

func (GetThreadReason) DeepCopy

func (o GetThreadReason) DeepCopy() GetThreadReason

func (GetThreadReason) String

func (e GetThreadReason) String() string

type GetThreadRemoteArg

type GetThreadRemoteArg struct {
	ConversationID ConversationID  `codec:"conversationID" json:"conversationID"`
	Reason         GetThreadReason `codec:"reason" json:"reason"`
	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"`
	Visibility  keybase1.TLFVisibility  `codec:"visibility" json:"visibility"`
	RateLimit   *RateLimit              `codec:"rateLimit,omitempty" json:"rateLimit,omitempty"`
}

func (GetThreadRemoteRes) DeepCopy added in v1.0.27

func (*GetThreadRemoteRes) GetRateLimit

func (r *GetThreadRemoteRes) GetRateLimit() (res []RateLimit)

func (*GetThreadRemoteRes) SetRateLimits

func (r *GetThreadRemoteRes) SetRateLimits(rl []RateLimit)

type GetUnfurlSettingsArg

type GetUnfurlSettingsArg struct {
}

type GetUnreadUpdateFullArg added in v1.0.19

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

type GetUnreadlineArg

type GetUnreadlineArg struct {
	SessionID        int                          `codec:"sessionID" json:"sessionID"`
	ConvID           ConversationID               `codec:"convID" json:"convID"`
	ReadMsgID        MessageID                    `codec:"readMsgID" json:"readMsgID"`
	IdentifyBehavior keybase1.TLFIdentifyBehavior `codec:"identifyBehavior" json:"identifyBehavior"`
}

type GetUnreadlineRemoteArg

type GetUnreadlineRemoteArg struct {
	ConvID    ConversationID `codec:"convID" json:"convID"`
	ReadMsgID MessageID      `codec:"readMsgID" json:"readMsgID"`
}

type GetUnreadlineRemoteRes

type GetUnreadlineRemoteRes struct {
	UnreadlineID *MessageID `codec:"unreadlineID,omitempty" json:"unreadlineID,omitempty"`
	RateLimit    *RateLimit `codec:"rateLimit,omitempty" json:"rateLimit,omitempty"`
}

func (GetUnreadlineRemoteRes) DeepCopy

type GetUploadTempFileArg

type GetUploadTempFileArg struct {
	OutboxID OutboxID `codec:"outboxID" json:"outboxID"`
	Filename string   `codec:"filename" json:"filename"`
}

type GetWelcomeMessageArg

type GetWelcomeMessageArg struct {
	TeamID keybase1.TeamID `codec:"teamID" json:"teamID"`
}

type GiphySearchResult

type GiphySearchResult struct {
	TargetUrl      string `codec:"targetUrl" json:"targetUrl"`
	PreviewUrl     string `codec:"previewUrl" json:"previewUrl"`
	PreviewWidth   int    `codec:"previewWidth" json:"previewWidth"`
	PreviewHeight  int    `codec:"previewHeight" json:"previewHeight"`
	PreviewIsVideo bool   `codec:"previewIsVideo" json:"previewIsVideo"`
}

func (GiphySearchResult) DeepCopy

func (o GiphySearchResult) DeepCopy() GiphySearchResult

type GiphySearchResults

type GiphySearchResults struct {
	Results    []GiphySearchResult `codec:"results" json:"results"`
	GalleryUrl string              `codec:"galleryUrl" json:"galleryUrl"`
}

func (GiphySearchResults) DeepCopy

type GlobalAppNotificationSetting added in v1.0.27

type GlobalAppNotificationSetting int
const (
	GlobalAppNotificationSetting_NEWMESSAGES        GlobalAppNotificationSetting = 0
	GlobalAppNotificationSetting_PLAINTEXTMOBILE    GlobalAppNotificationSetting = 1
	GlobalAppNotificationSetting_PLAINTEXTDESKTOP   GlobalAppNotificationSetting = 2
	GlobalAppNotificationSetting_DEFAULTSOUNDMOBILE GlobalAppNotificationSetting = 3
	GlobalAppNotificationSetting_DISABLETYPING      GlobalAppNotificationSetting = 4
)

func GlobalAppNotificationSettingsSorted

func GlobalAppNotificationSettingsSorted() (res []GlobalAppNotificationSetting)

func (GlobalAppNotificationSetting) DeepCopy added in v1.0.27

func (GlobalAppNotificationSetting) FlagName

func (g GlobalAppNotificationSetting) FlagName() string

func (GlobalAppNotificationSetting) String added in v1.0.27

func (GlobalAppNotificationSetting) Usage

Add to `Usage`/`FlagName` for a setting to be usable in the CLI via `keybase notification-settings`

type GlobalAppNotificationSettings added in v1.0.27

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

func (GlobalAppNotificationSettings) DeepCopy added in v1.0.27

type GregorClient

type GregorClient struct {
	Cli rpc.GenericClient
}

type GregorInterface

type GregorInterface interface {
}

type Hash

type Hash []byte

func (Hash) DeepCopy added in v1.0.27

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 NewHeaderPlaintextWithV10 added in v1.0.19

func NewHeaderPlaintextWithV10(v HeaderPlaintextUnsupported) HeaderPlaintext

func NewHeaderPlaintextWithV2 added in v1.0.19

func NewHeaderPlaintextWithV2(v HeaderPlaintextUnsupported) HeaderPlaintext

func NewHeaderPlaintextWithV3 added in v1.0.19

func NewHeaderPlaintextWithV3(v HeaderPlaintextUnsupported) HeaderPlaintext

func NewHeaderPlaintextWithV4 added in v1.0.19

func NewHeaderPlaintextWithV4(v HeaderPlaintextUnsupported) HeaderPlaintext

func NewHeaderPlaintextWithV5 added in v1.0.19

func NewHeaderPlaintextWithV5(v HeaderPlaintextUnsupported) HeaderPlaintext

func NewHeaderPlaintextWithV6 added in v1.0.19

func NewHeaderPlaintextWithV6(v HeaderPlaintextUnsupported) HeaderPlaintext

func NewHeaderPlaintextWithV7 added in v1.0.19

func NewHeaderPlaintextWithV7(v HeaderPlaintextUnsupported) HeaderPlaintext

func NewHeaderPlaintextWithV8 added in v1.0.19

func NewHeaderPlaintextWithV8(v HeaderPlaintextUnsupported) HeaderPlaintext

func NewHeaderPlaintextWithV9 added in v1.0.19

func NewHeaderPlaintextWithV9(v HeaderPlaintextUnsupported) HeaderPlaintext

func (HeaderPlaintext) DeepCopy added in v1.0.27

func (o HeaderPlaintext) DeepCopy() HeaderPlaintext

func (HeaderPlaintext) V1

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

func (HeaderPlaintext) V10 added in v1.0.19

func (HeaderPlaintext) V2 added in v1.0.19

func (HeaderPlaintext) V3 added in v1.0.19

func (HeaderPlaintext) V4 added in v1.0.19

func (HeaderPlaintext) V5 added in v1.0.19

func (HeaderPlaintext) V6 added in v1.0.19

func (HeaderPlaintext) V7 added in v1.0.19

func (HeaderPlaintext) V8 added in v1.0.19

func (HeaderPlaintext) V9 added in v1.0.19

func (*HeaderPlaintext) Version

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

type HeaderPlaintextMetaInfo added in v1.0.19

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

func (HeaderPlaintextMetaInfo) DeepCopy added in v1.0.27

type HeaderPlaintextUnsupported added in v1.0.19

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

func (HeaderPlaintextUnsupported) DeepCopy added in v1.0.27

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"`
	KbfsCryptKeysUsed *bool                    `codec:"kbfsCryptKeysUsed,omitempty" json:"kbfsCryptKeysUsed,omitempty"`
	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"`
	EphemeralMetadata *MsgEphemeralMetadata    `codec:"em,omitempty" json:"em,omitempty"`
	BotUID            *gregor1.UID             `codec:"b,omitempty" json:"b,omitempty"`
}

func (HeaderPlaintextV1) DeepCopy added in v1.0.27

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 added in v1.0.27

func (HeaderPlaintextVersion) String added in v1.0.19

func (e HeaderPlaintextVersion) String() string

type IgnorePinnedMessageArg

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

type InboxLayoutReselectMode

type InboxLayoutReselectMode int
const (
	InboxLayoutReselectMode_DEFAULT InboxLayoutReselectMode = 0
	InboxLayoutReselectMode_FORCE   InboxLayoutReselectMode = 1
)

func (InboxLayoutReselectMode) DeepCopy

func (InboxLayoutReselectMode) String

func (e InboxLayoutReselectMode) String() string

type InboxParticipantsMode

type InboxParticipantsMode int
const (
	InboxParticipantsMode_ALL        InboxParticipantsMode = 0
	InboxParticipantsMode_SKIP_TEAMS InboxParticipantsMode = 1
)

func (InboxParticipantsMode) DeepCopy

func (InboxParticipantsMode) String

func (e InboxParticipantsMode) String() string

type InboxResType added in v1.0.19

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

func (InboxResType) DeepCopy added in v1.0.27

func (o InboxResType) DeepCopy() InboxResType

func (InboxResType) String added in v1.0.19

func (e InboxResType) String() string

type InboxUIItem added in v1.0.28

type InboxUIItem struct {
	ConvID            ConvIDStr                     `codec:"convID" json:"convID"`
	TlfID             TLFIDStr                      `codec:"tlfID" json:"tlfID"`
	TopicType         TopicType                     `codec:"topicType" json:"topicType"`
	IsPublic          bool                          `codec:"isPublic" json:"isPublic"`
	IsEmpty           bool                          `codec:"isEmpty" json:"isEmpty"`
	IsDefaultConv     bool                          `codec:"isDefaultConv" json:"isDefaultConv"`
	Name              string                        `codec:"name" json:"name"`
	Snippet           string                        `codec:"snippet" json:"snippet"`
	SnippetDecoration SnippetDecoration             `codec:"snippetDecoration" json:"snippetDecoration"`
	Channel           string                        `codec:"channel" json:"channel"`
	Headline          string                        `codec:"headline" json:"headline"`
	HeadlineDecorated string                        `codec:"headlineDecorated" json:"headlineDecorated"`
	Draft             *string                       `codec:"draft,omitempty" json:"draft,omitempty"`
	Visibility        keybase1.TLFVisibility        `codec:"visibility" json:"visibility"`
	Participants      []UIParticipant               `codec:"participants" json:"participants"`
	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"`
	LocalVersion      LocalConversationVers         `codec:"localVersion" json:"localVersion"`
	MaxMsgID          MessageID                     `codec:"maxMsgID" json:"maxMsgID"`
	MaxVisibleMsgID   MessageID                     `codec:"maxVisibleMsgID" json:"maxVisibleMsgID"`
	ReadMsgID         MessageID                     `codec:"readMsgID" json:"readMsgID"`
	ConvRetention     *RetentionPolicy              `codec:"convRetention,omitempty" json:"convRetention,omitempty"`
	TeamRetention     *RetentionPolicy              `codec:"teamRetention,omitempty" json:"teamRetention,omitempty"`
	ConvSettings      *ConversationSettingsLocal    `codec:"convSettings,omitempty" json:"convSettings,omitempty"`
	FinalizeInfo      *ConversationFinalizeInfo     `codec:"finalizeInfo,omitempty" json:"finalizeInfo,omitempty"`
	Supersedes        []ConversationMetadata        `codec:"supersedes" json:"supersedes"`
	SupersededBy      []ConversationMetadata        `codec:"supersededBy" json:"supersededBy"`
	Commands          ConversationCommandGroups     `codec:"commands" json:"commands"`
	BotCommands       ConversationCommandGroups     `codec:"botCommands" json:"botCommands"`
	BotAliases        map[string]string             `codec:"botAliases" json:"botAliases"`
	PinnedMsg         *UIPinnedMessage              `codec:"pinnedMsg,omitempty" json:"pinnedMsg,omitempty"`
}

func (InboxUIItem) DeepCopy added in v1.0.28

func (o InboxUIItem) DeepCopy() InboxUIItem

func (InboxUIItem) GetConvID added in v1.0.28

func (i InboxUIItem) GetConvID() ConversationID

type InboxUIItemError added in v1.0.46

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

func (InboxUIItemError) DeepCopy added in v1.0.46

func (o InboxUIItemError) DeepCopy() InboxUIItemError

type InboxUIItems added in v1.0.28

type InboxUIItems struct {
	Items   []InboxUIItem `codec:"items" json:"items"`
	Offline bool          `codec:"offline" json:"offline"`
}

func (InboxUIItems) DeepCopy added in v1.0.28

func (o InboxUIItems) DeepCopy() InboxUIItems

type InboxVers added in v1.0.19

type InboxVers uint64

func (InboxVers) DeepCopy added in v1.0.27

func (o InboxVers) DeepCopy() InboxVers

func (InboxVers) ToConvVers added in v1.0.31

func (v InboxVers) ToConvVers() ConversationVers

type InboxVersInfo added in v1.0.42

type InboxVersInfo struct {
	Uid  gregor1.UID `codec:"uid" json:"uid"`
	Vers InboxVers   `codec:"vers" json:"vers"`
}

func (InboxVersInfo) DeepCopy added in v1.0.42

func (o InboxVersInfo) DeepCopy() InboxVersInfo

type InboxView

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

func NewInboxViewWithFull added in v1.0.19

func NewInboxViewWithFull(v InboxViewFull) InboxView

func NewInboxViewWithVersionhit added in v1.0.19

func NewInboxViewWithVersionhit() InboxView

func (InboxView) DeepCopy added in v1.0.27

func (o InboxView) DeepCopy() InboxView

func (InboxView) Full added in v1.0.19

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

func (*InboxView) Rtype added in v1.0.19

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

type InboxViewFull added in v1.0.19

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 added in v1.0.27

func (o InboxViewFull) DeepCopy() InboxViewFull

type IncomingMessage added in v1.0.19

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

func (IncomingMessage) DeepCopy added in v1.0.27

func (o IncomingMessage) DeepCopy() IncomingMessage

type JoinConversationArg added in v1.0.27

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

type JoinConversationByIDLocalArg added in v1.0.27

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

type JoinConversationLocalArg added in v1.0.27

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 added in v1.0.27

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

func (JoinLeaveConversationLocalRes) DeepCopy added in v1.0.27

func (*JoinLeaveConversationLocalRes) GetRateLimit

func (r *JoinLeaveConversationLocalRes) GetRateLimit() []RateLimit

func (*JoinLeaveConversationLocalRes) SetOffline added in v1.0.27

func (r *JoinLeaveConversationLocalRes) SetOffline()

func (*JoinLeaveConversationLocalRes) SetRateLimits

func (r *JoinLeaveConversationLocalRes) SetRateLimits(rl []RateLimit)

type JoinLeaveConversationRemoteRes added in v1.0.27

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

func (JoinLeaveConversationRemoteRes) DeepCopy added in v1.0.27

func (*JoinLeaveConversationRemoteRes) GetRateLimit

func (r *JoinLeaveConversationRemoteRes) GetRateLimit() (res []RateLimit)

func (*JoinLeaveConversationRemoteRes) SetRateLimits

func (r *JoinLeaveConversationRemoteRes) SetRateLimits(rl []RateLimit)

type JourneycardType

type JourneycardType int
const (
	JourneycardType_WELCOME          JourneycardType = 0
	JourneycardType_POPULAR_CHANNELS JourneycardType = 1
	JourneycardType_ADD_PEOPLE       JourneycardType = 2
	JourneycardType_CREATE_CHANNELS  JourneycardType = 3
	JourneycardType_MSG_ATTENTION    JourneycardType = 4
	JourneycardType_UNUSED           JourneycardType = 5
	JourneycardType_CHANNEL_INACTIVE JourneycardType = 6
	JourneycardType_MSG_NO_ANSWER    JourneycardType = 7
)

func (JourneycardType) DeepCopy

func (o JourneycardType) DeepCopy() JourneycardType

func (JourneycardType) String

func (e JourneycardType) String() string

type KBFSImpteamUpgradeUpdate added in v1.0.41

type KBFSImpteamUpgradeUpdate struct {
	ConvID    ConversationID `codec:"convID" json:"convID"`
	InboxVers InboxVers      `codec:"inboxVers" json:"inboxVers"`
	TopicType TopicType      `codec:"topicType" json:"topicType"`
}

func (KBFSImpteamUpgradeUpdate) DeepCopy added in v1.0.41

type KBFSPath

type KBFSPath struct {
	StartIndex   int                   `codec:"startIndex" json:"startIndex"`
	RawPath      string                `codec:"rawPath" json:"rawPath"`
	StandardPath string                `codec:"standardPath" json:"standardPath"`
	PathInfo     keybase1.KBFSPathInfo `codec:"pathInfo" json:"pathInfo"`
}

func (KBFSPath) DeepCopy

func (o KBFSPath) DeepCopy() KBFSPath

type KnownTeamMention

type KnownTeamMention struct {
	Name    string `codec:"name" json:"name"`
	Channel string `codec:"channel" json:"channel"`
}

func (KnownTeamMention) DeepCopy

func (o KnownTeamMention) DeepCopy() KnownTeamMention

type KnownUserMention

type KnownUserMention struct {
	Text string      `codec:"text" json:"text"`
	Uid  gregor1.UID `codec:"uid" json:"uid"`
}

func (KnownUserMention) DeepCopy

func (o KnownUserMention) DeepCopy() KnownUserMention

type LastActiveStatus

type LastActiveStatus int
const (
	LastActiveStatus_NONE            LastActiveStatus = 0
	LastActiveStatus_ACTIVE          LastActiveStatus = 1
	LastActiveStatus_RECENTLY_ACTIVE LastActiveStatus = 2
)

func (LastActiveStatus) DeepCopy

func (o LastActiveStatus) DeepCopy() LastActiveStatus

func (LastActiveStatus) String

func (e LastActiveStatus) String() string

type LeaveConversationArg added in v1.0.27

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

type LeaveConversationLocalArg added in v1.0.27

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

type ListBotCommandsLocalArg

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

type ListBotCommandsLocalRes

type ListBotCommandsLocalRes struct {
	Commands   []UserBotCommandOutput `codec:"commands" json:"commands"`
	RateLimits []RateLimit            `codec:"rateLimits" json:"rateLimits"`
}

func (ListBotCommandsLocalRes) DeepCopy

func (*ListBotCommandsLocalRes) GetRateLimit

func (r *ListBotCommandsLocalRes) GetRateLimit() []RateLimit

func (*ListBotCommandsLocalRes) SetRateLimits

func (r *ListBotCommandsLocalRes) SetRateLimits(rl []RateLimit)

type ListCommandsRes

type ListCommandsRes struct {
	Commands   []UserBotCommandOutput `codec:"commands" json:"commands"`
	RateLimits []RateLimitRes         `codec:"rateLimits,omitempty" json:"ratelimits,omitempty"`
}

func (ListCommandsRes) DeepCopy

func (o ListCommandsRes) DeepCopy() ListCommandsRes

type ListPublicBotCommandsLocalArg

type ListPublicBotCommandsLocalArg struct {
	Username string `codec:"username" json:"username"`
}

type LiveLocation

type LiveLocation struct {
	EndTime gregor1.Time `codec:"endTime" json:"endTime"`
}

func (LiveLocation) DeepCopy

func (o LiveLocation) DeepCopy() LiveLocation

type LoadFlipArg

type LoadFlipArg struct {
	HostConvID ConversationID `codec:"hostConvID" json:"hostConvID"`
	HostMsgID  MessageID      `codec:"hostMsgID" json:"hostMsgID"`
	FlipConvID ConversationID `codec:"flipConvID" json:"flipConvID"`
	GameID     FlipGameID     `codec:"gameID" json:"gameID"`
}

type LoadFlipRes

type LoadFlipRes struct {
	Status           UICoinFlipStatus              `codec:"status" json:"status"`
	RateLimits       []RateLimit                   `codec:"rateLimits" json:"rateLimits"`
	IdentifyFailures []keybase1.TLFIdentifyFailure `codec:"identifyFailures" json:"identifyFailures"`
}

func (LoadFlipRes) DeepCopy

func (o LoadFlipRes) DeepCopy() LoadFlipRes

func (*LoadFlipRes) GetRateLimit

func (r *LoadFlipRes) GetRateLimit() []RateLimit

func (*LoadFlipRes) SetRateLimits

func (r *LoadFlipRes) SetRateLimits(rl []RateLimit)

type LoadGalleryArg

type LoadGalleryArg struct {
	SessionID int            `codec:"sessionID" json:"sessionID"`
	ConvID    ConversationID `codec:"convID" json:"convID"`
	Typ       GalleryItemTyp `codec:"typ" json:"typ"`
	Num       int            `codec:"num" json:"num"`
	FromMsgID *MessageID     `codec:"fromMsgID,omitempty" json:"fromMsgID,omitempty"`
}

type LoadGalleryRes

type LoadGalleryRes struct {
	Messages         []UIMessage                   `codec:"messages" json:"messages"`
	Last             bool                          `codec:"last" json:"last"`
	RateLimits       []RateLimit                   `codec:"rateLimits" json:"rateLimits"`
	IdentifyFailures []keybase1.TLFIdentifyFailure `codec:"identifyFailures" json:"identifyFailures"`
}

func (LoadGalleryRes) DeepCopy

func (o LoadGalleryRes) DeepCopy() LoadGalleryRes

func (*LoadGalleryRes) GetRateLimit

func (r *LoadGalleryRes) GetRateLimit() []RateLimit

func (*LoadGalleryRes) SetRateLimits

func (r *LoadGalleryRes) SetRateLimits(rl []RateLimit)

type LocalClient

type LocalClient struct {
	Cli rpc.GenericClient
}

func (LocalClient) AddBotConvSearch

func (c LocalClient) AddBotConvSearch(ctx context.Context, term string) (res []AddBotConvSearchHit, err error)

func (LocalClient) AddBotMember

func (c LocalClient) AddBotMember(ctx context.Context, __arg AddBotMemberArg) (err error)

func (LocalClient) AddTeamMemberAfterReset added in v1.0.39

func (c LocalClient) AddTeamMemberAfterReset(ctx context.Context, __arg AddTeamMemberAfterResetArg) (err error)

func (LocalClient) AdvertiseBotCommandsLocal

func (c LocalClient) AdvertiseBotCommandsLocal(ctx context.Context, __arg AdvertiseBotCommandsLocalArg) (res AdvertiseBotCommandsLocalRes, err error)

func (LocalClient) BulkAddToConv

func (c LocalClient) BulkAddToConv(ctx context.Context, __arg BulkAddToConvArg) (err error)

func (LocalClient) BulkAddToManyConvs

func (c LocalClient) BulkAddToManyConvs(ctx context.Context, __arg BulkAddToManyConvsArg) (err error)

func (LocalClient) CancelActiveInboxSearch

func (c LocalClient) CancelActiveInboxSearch(ctx context.Context) (err error)

func (LocalClient) CancelActiveSearch

func (c LocalClient) CancelActiveSearch(ctx context.Context) (err error)

func (LocalClient) CancelPost added in v1.0.19

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

func (LocalClient) CancelUploadTempFile

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

func (LocalClient) ClearBotCommandsLocal

func (c LocalClient) ClearBotCommandsLocal(ctx context.Context) (res ClearBotCommandsLocalRes, err error)

func (LocalClient) ConfigureFileAttachmentDownloadLocal

func (c LocalClient) ConfigureFileAttachmentDownloadLocal(ctx context.Context, __arg ConfigureFileAttachmentDownloadLocalArg) (err error)

func (LocalClient) DeleteConversationLocal added in v1.0.31

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

func (LocalClient) DismissJourneycard

func (c LocalClient) DismissJourneycard(ctx context.Context, __arg DismissJourneycardArg) (err error)

func (LocalClient) DownloadAttachmentLocal

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

func (LocalClient) DownloadFileAttachmentLocal added in v1.0.19

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

func (LocalClient) EditBotMember

func (c LocalClient) EditBotMember(ctx context.Context, __arg EditBotMemberArg) (err error)

func (LocalClient) FindConversationsLocal added in v1.0.19

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

func (LocalClient) FindGeneralConvFromTeamID

func (c LocalClient) FindGeneralConvFromTeamID(ctx context.Context, teamID keybase1.TeamID) (res InboxUIItem, err error)

func (LocalClient) GenerateOutboxID added in v1.0.27

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

func (LocalClient) GetAllResetConvMembers

func (c LocalClient) GetAllResetConvMembers(ctx context.Context) (res GetAllResetConvMembersRes, err error)

func (LocalClient) GetBotMemberSettings

func (c LocalClient) GetBotMemberSettings(ctx context.Context, __arg GetBotMemberSettingsArg) (res keybase1.TeamBotSettings, err error)

func (LocalClient) GetChannelMembershipsLocal

func (c LocalClient) GetChannelMembershipsLocal(ctx context.Context, __arg GetChannelMembershipsLocalArg) (res GetChannelMembershipsLocalRes, err error)

func (LocalClient) GetConversationForCLILocal

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

func (LocalClient) GetDefaultTeamChannelsLocal

func (c LocalClient) GetDefaultTeamChannelsLocal(ctx context.Context, teamName string) (res GetDefaultTeamChannelsLocalRes, err error)

func (LocalClient) GetGlobalAppNotificationSettingsLocal added in v1.0.27

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) GetInboxAndUnboxUILocal

func (c LocalClient) GetInboxAndUnboxUILocal(ctx context.Context, __arg GetInboxAndUnboxUILocalArg) (res GetInboxAndUnboxUILocalRes, err error)

func (LocalClient) GetInboxNonblockLocal added in v1.0.19

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) GetLastActiveAtLocal

func (c LocalClient) GetLastActiveAtLocal(ctx context.Context, __arg GetLastActiveAtLocalArg) (res gregor1.Time, err error)

func (LocalClient) GetLastActiveForTLF

func (c LocalClient) GetLastActiveForTLF(ctx context.Context, tlfID TLFIDStr) (res LastActiveStatus, err error)

func (LocalClient) GetLastActiveForTeams

func (c LocalClient) GetLastActiveForTeams(ctx context.Context) (res map[TLFIDStr]LastActiveStatus, err error)

func (LocalClient) GetMessagesLocal

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

func (LocalClient) GetNextAttachmentMessageLocal

func (c LocalClient) GetNextAttachmentMessageLocal(ctx context.Context, __arg GetNextAttachmentMessageLocalArg) (res GetNextAttachmentMessageLocalRes, err error)

func (LocalClient) GetRecentJoinsLocal

func (c LocalClient) GetRecentJoinsLocal(ctx context.Context, convID ConversationID) (res int, err error)

func (LocalClient) GetStaticConfig

func (c LocalClient) GetStaticConfig(ctx context.Context) (res StaticConfig, err error)

func (LocalClient) GetTLFConversationsLocal added in v1.0.27

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

func (LocalClient) GetTeamRetentionLocal added in v1.0.46

func (c LocalClient) GetTeamRetentionLocal(ctx context.Context, teamID keybase1.TeamID) (res *RetentionPolicy, err error)

func (LocalClient) GetTeamRoleInConversation

func (c LocalClient) GetTeamRoleInConversation(ctx context.Context, __arg GetTeamRoleInConversationArg) (res keybase1.TeamRole, err error)

func (LocalClient) GetThreadLocal

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

func (LocalClient) GetThreadNonblock added in v1.0.21

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

func (LocalClient) GetUnfurlSettings

func (c LocalClient) GetUnfurlSettings(ctx context.Context) (res UnfurlSettingsDisplay, err error)

func (LocalClient) GetUnreadline

func (c LocalClient) GetUnreadline(ctx context.Context, __arg GetUnreadlineArg) (res UnreadlineRes, err error)

func (LocalClient) GetUploadTempFile

func (c LocalClient) GetUploadTempFile(ctx context.Context, __arg GetUploadTempFileArg) (res string, err error)

func (LocalClient) GetWelcomeMessage

func (c LocalClient) GetWelcomeMessage(ctx context.Context, teamID keybase1.TeamID) (res WelcomeMessageDisplay, err error)

func (LocalClient) IgnorePinnedMessage

func (c LocalClient) IgnorePinnedMessage(ctx context.Context, convID ConversationID) (err error)

func (LocalClient) JoinConversationByIDLocal added in v1.0.27

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

func (LocalClient) JoinConversationLocal added in v1.0.27

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

func (LocalClient) LeaveConversationLocal added in v1.0.27

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

func (LocalClient) ListBotCommandsLocal

func (c LocalClient) ListBotCommandsLocal(ctx context.Context, convID ConversationID) (res ListBotCommandsLocalRes, err error)

func (LocalClient) ListPublicBotCommandsLocal

func (c LocalClient) ListPublicBotCommandsLocal(ctx context.Context, username string) (res ListBotCommandsLocalRes, err error)

func (LocalClient) LoadFlip

func (c LocalClient) LoadFlip(ctx context.Context, __arg LoadFlipArg) (res LoadFlipRes, err error)

func (LocalClient) LoadGallery

func (c LocalClient) LoadGallery(ctx context.Context, __arg LoadGalleryArg) (res LoadGalleryRes, err error)

func (LocalClient) LocationUpdate

func (c LocalClient) LocationUpdate(ctx context.Context, coord Coordinate) (err error)

func (LocalClient) MakeAudioPreview

func (c LocalClient) MakeAudioPreview(ctx context.Context, __arg MakeAudioPreviewArg) (res MakePreviewRes, err error)

func (LocalClient) MakePreview added in v1.0.21

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

func (LocalClient) MakeUploadTempFile

func (c LocalClient) MakeUploadTempFile(ctx context.Context, __arg MakeUploadTempFileArg) (res string, err error)

func (LocalClient) MarkAsReadLocal added in v1.0.19

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) NewConversationsLocal

func (c LocalClient) NewConversationsLocal(ctx context.Context, __arg NewConversationsLocalArg) (res NewConversationsLocalRes, err error)

func (LocalClient) PinMessage

func (c LocalClient) PinMessage(ctx context.Context, __arg PinMessageArg) (res PinMessageRes, err error)

func (LocalClient) PostDeleteHistoryByAge added in v1.0.40

func (c LocalClient) PostDeleteHistoryByAge(ctx context.Context, __arg PostDeleteHistoryByAgeArg) (res PostLocalRes, err error)

func (LocalClient) PostDeleteHistoryThrough added in v1.0.43

func (c LocalClient) PostDeleteHistoryThrough(ctx context.Context, __arg PostDeleteHistoryThroughArg) (res PostLocalRes, err error)

func (LocalClient) PostDeleteHistoryUpto added in v1.0.40

func (c LocalClient) PostDeleteHistoryUpto(ctx context.Context, __arg PostDeleteHistoryUptoArg) (res PostLocalRes, err error)

func (LocalClient) PostDeleteNonblock added in v1.0.19

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

func (LocalClient) PostEditNonblock added in v1.0.19

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

func (LocalClient) PostFileAttachmentLocal added in v1.0.19

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

func (LocalClient) PostFileAttachmentLocalNonblock

func (c LocalClient) PostFileAttachmentLocalNonblock(ctx context.Context, __arg PostFileAttachmentLocalNonblockArg) (res PostLocalNonblockRes, err error)

func (LocalClient) PostHeadline added in v1.0.29

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

func (LocalClient) PostHeadlineNonblock added in v1.0.29

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 added in v1.0.19

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

func (LocalClient) PostMetadata added in v1.0.34

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

func (LocalClient) PostMetadataNonblock added in v1.0.34

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

func (LocalClient) PostReactionNonblock

func (c LocalClient) PostReactionNonblock(ctx context.Context, __arg PostReactionNonblockArg) (res PostLocalNonblockRes, err error)

func (LocalClient) PostTextNonblock added in v1.0.19

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

func (LocalClient) PreviewConversationByIDLocal added in v1.0.34

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

func (LocalClient) ProfileChatSearch

func (c LocalClient) ProfileChatSearch(ctx context.Context, identifyBehavior keybase1.TLFIdentifyBehavior) (res map[ConvIDStr]ProfileSearchConvStats, err error)

func (LocalClient) PutReacjiSkinTone

func (c LocalClient) PutReacjiSkinTone(ctx context.Context, skinTone keybase1.ReacjiSkinTone) (res keybase1.UserReacjis, err error)

func (LocalClient) RefreshParticipants

func (c LocalClient) RefreshParticipants(ctx context.Context, convID ConversationID) (err error)

func (LocalClient) RemoveBotMember

func (c LocalClient) RemoveBotMember(ctx context.Context, __arg RemoveBotMemberArg) (err error)

func (LocalClient) RequestInboxLayout

func (c LocalClient) RequestInboxLayout(ctx context.Context, reselectMode InboxLayoutReselectMode) (err error)

func (LocalClient) RequestInboxSmallIncrease

func (c LocalClient) RequestInboxSmallIncrease(ctx context.Context) (err error)

func (LocalClient) RequestInboxSmallReset

func (c LocalClient) RequestInboxSmallReset(ctx context.Context) (err error)

func (LocalClient) RequestInboxUnbox

func (c LocalClient) RequestInboxUnbox(ctx context.Context, convIDs []ConversationID) (err error)

func (LocalClient) ResolveMaybeMention

func (c LocalClient) ResolveMaybeMention(ctx context.Context, mention MaybeMention) (err error)

func (LocalClient) ResolveUnfurlPrompt

func (c LocalClient) ResolveUnfurlPrompt(ctx context.Context, __arg ResolveUnfurlPromptArg) (err error)

func (LocalClient) RetryPost added in v1.0.19

func (c LocalClient) RetryPost(ctx context.Context, __arg RetryPostArg) (err error)

func (LocalClient) SaveUnfurlSettings

func (c LocalClient) SaveUnfurlSettings(ctx context.Context, __arg SaveUnfurlSettingsArg) (err error)

func (LocalClient) SearchInbox

func (c LocalClient) SearchInbox(ctx context.Context, __arg SearchInboxArg) (res SearchInboxRes, err error)

func (LocalClient) SearchRegexp

func (c LocalClient) SearchRegexp(ctx context.Context, __arg SearchRegexpArg) (res SearchRegexpRes, err error)

func (LocalClient) SetAppNotificationSettingsLocal added in v1.0.27

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

func (LocalClient) SetBotMemberSettings

func (c LocalClient) SetBotMemberSettings(ctx context.Context, __arg SetBotMemberSettingsArg) (err error)

func (LocalClient) SetConvMinWriterRoleLocal

func (c LocalClient) SetConvMinWriterRoleLocal(ctx context.Context, __arg SetConvMinWriterRoleLocalArg) (err error)

func (LocalClient) SetConvRetentionLocal added in v1.0.40

func (c LocalClient) SetConvRetentionLocal(ctx context.Context, __arg SetConvRetentionLocalArg) (err error)

func (LocalClient) SetConversationStatusLocal

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

func (LocalClient) SetDefaultTeamChannelsLocal

func (c LocalClient) SetDefaultTeamChannelsLocal(ctx context.Context, __arg SetDefaultTeamChannelsLocalArg) (res SetDefaultTeamChannelsLocalRes, err error)

func (LocalClient) SetGlobalAppNotificationSettingsLocal added in v1.0.27

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

func (LocalClient) SetTeamRetentionLocal added in v1.0.40

func (c LocalClient) SetTeamRetentionLocal(ctx context.Context, __arg SetTeamRetentionLocalArg) (err error)

func (LocalClient) SetWelcomeMessage

func (c LocalClient) SetWelcomeMessage(ctx context.Context, __arg SetWelcomeMessageArg) (err error)

func (LocalClient) SimpleSearchInboxConvNames

func (c LocalClient) SimpleSearchInboxConvNames(ctx context.Context, query string) (res []SimpleSearchInboxConvNamesHit, err error)

func (LocalClient) TeamIDFromTLFName

func (c LocalClient) TeamIDFromTLFName(ctx context.Context, __arg TeamIDFromTLFNameArg) (res keybase1.TeamID, err error)

func (LocalClient) ToggleMessageCollapse

func (c LocalClient) ToggleMessageCollapse(ctx context.Context, __arg ToggleMessageCollapseArg) (err error)

func (LocalClient) UnboxMobilePushNotification added in v1.0.27

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

func (LocalClient) UnpinMessage

func (c LocalClient) UnpinMessage(ctx context.Context, convID ConversationID) (res PinMessageRes, err error)

func (LocalClient) UpdateTyping added in v1.0.27

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

func (LocalClient) UpdateUnsentText

func (c LocalClient) UpdateUnsentText(ctx context.Context, __arg UpdateUnsentTextArg) (err error)

func (LocalClient) UpgradeKBFSConversationToImpteam added in v1.0.41

func (c LocalClient) UpgradeKBFSConversationToImpteam(ctx context.Context, convID ConversationID) (err error)

type LocalConversationVers

type LocalConversationVers uint64

func (LocalConversationVers) DeepCopy

type LocalInterface

type LocalInterface interface {
	GetThreadLocal(context.Context, GetThreadLocalArg) (GetThreadLocalRes, error)
	GetThreadNonblock(context.Context, GetThreadNonblockArg) (NonblockFetchRes, error)
	GetUnreadline(context.Context, GetUnreadlineArg) (UnreadlineRes, error)
	GetInboxAndUnboxLocal(context.Context, GetInboxAndUnboxLocalArg) (GetInboxAndUnboxLocalRes, error)
	GetInboxAndUnboxUILocal(context.Context, GetInboxAndUnboxUILocalArg) (GetInboxAndUnboxUILocalRes, error)
	RequestInboxLayout(context.Context, InboxLayoutReselectMode) error
	RequestInboxUnbox(context.Context, []ConversationID) error
	RequestInboxSmallIncrease(context.Context) error
	RequestInboxSmallReset(context.Context) 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)
	PostReactionNonblock(context.Context, PostReactionNonblockArg) (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)
	PostDeleteHistoryUpto(context.Context, PostDeleteHistoryUptoArg) (PostLocalRes, error)
	PostDeleteHistoryThrough(context.Context, PostDeleteHistoryThroughArg) (PostLocalRes, error)
	PostDeleteHistoryByAge(context.Context, PostDeleteHistoryByAgeArg) (PostLocalRes, error)
	SetConversationStatusLocal(context.Context, SetConversationStatusLocalArg) (SetConversationStatusLocalRes, error)
	NewConversationsLocal(context.Context, NewConversationsLocalArg) (NewConversationsLocalRes, 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)
	PostFileAttachmentLocal(context.Context, PostFileAttachmentLocalArg) (PostLocalRes, error)
	PostFileAttachmentLocalNonblock(context.Context, PostFileAttachmentLocalNonblockArg) (PostLocalNonblockRes, error)
	GetNextAttachmentMessageLocal(context.Context, GetNextAttachmentMessageLocalArg) (GetNextAttachmentMessageLocalRes, error)
	DownloadAttachmentLocal(context.Context, DownloadAttachmentLocalArg) (DownloadAttachmentLocalRes, error)
	DownloadFileAttachmentLocal(context.Context, DownloadFileAttachmentLocalArg) (DownloadFileAttachmentLocalRes, error)
	ConfigureFileAttachmentDownloadLocal(context.Context, ConfigureFileAttachmentDownloadLocalArg) error
	MakePreview(context.Context, MakePreviewArg) (MakePreviewRes, error)
	MakeAudioPreview(context.Context, MakeAudioPreviewArg) (MakePreviewRes, error)
	GetUploadTempFile(context.Context, GetUploadTempFileArg) (string, error)
	MakeUploadTempFile(context.Context, MakeUploadTempFileArg) (string, error)
	CancelUploadTempFile(context.Context, OutboxID) error
	CancelPost(context.Context, OutboxID) error
	RetryPost(context.Context, RetryPostArg) error
	MarkAsReadLocal(context.Context, MarkAsReadLocalArg) (MarkAsReadLocalRes, error)
	FindConversationsLocal(context.Context, FindConversationsLocalArg) (FindConversationsLocalRes, error)
	FindGeneralConvFromTeamID(context.Context, keybase1.TeamID) (InboxUIItem, error)
	UpdateTyping(context.Context, UpdateTypingArg) error
	UpdateUnsentText(context.Context, UpdateUnsentTextArg) error
	JoinConversationLocal(context.Context, JoinConversationLocalArg) (JoinLeaveConversationLocalRes, error)
	JoinConversationByIDLocal(context.Context, ConversationID) (JoinLeaveConversationLocalRes, error)
	LeaveConversationLocal(context.Context, ConversationID) (JoinLeaveConversationLocalRes, error)
	PreviewConversationByIDLocal(context.Context, ConversationID) (PreviewConversationLocalRes, error)
	DeleteConversationLocal(context.Context, DeleteConversationLocalArg) (DeleteConversationLocalRes, error)
	GetTLFConversationsLocal(context.Context, GetTLFConversationsLocalArg) (GetTLFConversationsLocalRes, error)
	GetChannelMembershipsLocal(context.Context, GetChannelMembershipsLocalArg) (GetChannelMembershipsLocalRes, 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)
	AddTeamMemberAfterReset(context.Context, AddTeamMemberAfterResetArg) error
	GetAllResetConvMembers(context.Context) (GetAllResetConvMembersRes, error)
	SetConvRetentionLocal(context.Context, SetConvRetentionLocalArg) error
	SetTeamRetentionLocal(context.Context, SetTeamRetentionLocalArg) error
	GetTeamRetentionLocal(context.Context, keybase1.TeamID) (*RetentionPolicy, error)
	SetConvMinWriterRoleLocal(context.Context, SetConvMinWriterRoleLocalArg) error
	UpgradeKBFSConversationToImpteam(context.Context, ConversationID) error
	SearchRegexp(context.Context, SearchRegexpArg) (SearchRegexpRes, error)
	CancelActiveInboxSearch(context.Context) error
	SearchInbox(context.Context, SearchInboxArg) (SearchInboxRes, error)
	SimpleSearchInboxConvNames(context.Context, string) ([]SimpleSearchInboxConvNamesHit, error)
	CancelActiveSearch(context.Context) error
	ProfileChatSearch(context.Context, keybase1.TLFIdentifyBehavior) (map[ConvIDStr]ProfileSearchConvStats, error)
	GetStaticConfig(context.Context) (StaticConfig, error)
	ResolveUnfurlPrompt(context.Context, ResolveUnfurlPromptArg) error
	GetUnfurlSettings(context.Context) (UnfurlSettingsDisplay, error)
	SaveUnfurlSettings(context.Context, SaveUnfurlSettingsArg) error
	ToggleMessageCollapse(context.Context, ToggleMessageCollapseArg) error
	BulkAddToConv(context.Context, BulkAddToConvArg) error
	BulkAddToManyConvs(context.Context, BulkAddToManyConvsArg) error
	PutReacjiSkinTone(context.Context, keybase1.ReacjiSkinTone) (keybase1.UserReacjis, error)
	ResolveMaybeMention(context.Context, MaybeMention) error
	LoadGallery(context.Context, LoadGalleryArg) (LoadGalleryRes, error)
	LoadFlip(context.Context, LoadFlipArg) (LoadFlipRes, error)
	LocationUpdate(context.Context, Coordinate) error
	AdvertiseBotCommandsLocal(context.Context, AdvertiseBotCommandsLocalArg) (AdvertiseBotCommandsLocalRes, error)
	ListBotCommandsLocal(context.Context, ConversationID) (ListBotCommandsLocalRes, error)
	ListPublicBotCommandsLocal(context.Context, string) (ListBotCommandsLocalRes, error)
	ClearBotCommandsLocal(context.Context) (ClearBotCommandsLocalRes, error)
	PinMessage(context.Context, PinMessageArg) (PinMessageRes, error)
	UnpinMessage(context.Context, ConversationID) (PinMessageRes, error)
	IgnorePinnedMessage(context.Context, ConversationID) error
	AddBotMember(context.Context, AddBotMemberArg) error
	EditBotMember(context.Context, EditBotMemberArg) error
	RemoveBotMember(context.Context, RemoveBotMemberArg) error
	SetBotMemberSettings(context.Context, SetBotMemberSettingsArg) error
	GetBotMemberSettings(context.Context, GetBotMemberSettingsArg) (keybase1.TeamBotSettings, error)
	GetTeamRoleInConversation(context.Context, GetTeamRoleInConversationArg) (keybase1.TeamRole, error)
	AddBotConvSearch(context.Context, string) ([]AddBotConvSearchHit, error)
	TeamIDFromTLFName(context.Context, TeamIDFromTLFNameArg) (keybase1.TeamID, error)
	DismissJourneycard(context.Context, DismissJourneycardArg) error
	SetWelcomeMessage(context.Context, SetWelcomeMessageArg) error
	GetWelcomeMessage(context.Context, keybase1.TeamID) (WelcomeMessageDisplay, error)
	GetDefaultTeamChannelsLocal(context.Context, string) (GetDefaultTeamChannelsLocalRes, error)
	SetDefaultTeamChannelsLocal(context.Context, SetDefaultTeamChannelsLocalArg) (SetDefaultTeamChannelsLocalRes, error)
	GetLastActiveForTLF(context.Context, TLFIDStr) (LastActiveStatus, error)
	GetLastActiveForTeams(context.Context) (map[TLFIDStr]LastActiveStatus, error)
	GetRecentJoinsLocal(context.Context, ConversationID) (int, error)
	RefreshParticipants(context.Context, ConversationID) error
	GetLastActiveAtLocal(context.Context, GetLastActiveAtLocalArg) (gregor1.Time, error)
}

type LocalMtimeUpdate

type LocalMtimeUpdate struct {
	ConvID ConversationID `codec:"convID" json:"convID"`
	Mtime  gregor1.Time   `codec:"mtime" json:"mtime"`
}

func (LocalMtimeUpdate) DeepCopy

func (o LocalMtimeUpdate) DeepCopy() LocalMtimeUpdate

type LocationUpdateArg

type LocationUpdateArg struct {
	Coord Coordinate `codec:"coord" json:"coord"`
}

type LocationWatchID

type LocationWatchID uint64

func (LocationWatchID) DeepCopy

func (o LocationWatchID) DeepCopy() LocationWatchID

type MakeAudioPreviewArg

type MakeAudioPreviewArg struct {
	Amps     []float64 `codec:"amps" json:"amps"`
	Duration int       `codec:"duration" json:"duration"`
}

type MakePreviewArg added in v1.0.21

type MakePreviewArg struct {
	SessionID int      `codec:"sessionID" json:"sessionID"`
	Filename  string   `codec:"filename" json:"filename"`
	OutboxID  OutboxID `codec:"outboxID" json:"outboxID"`
}

type MakePreviewRes added in v1.0.21

type MakePreviewRes struct {
	MimeType        string           `codec:"mimeType" json:"mimeType"`
	PreviewMimeType *string          `codec:"previewMimeType,omitempty" json:"previewMimeType,omitempty"`
	Location        *PreviewLocation `codec:"location,omitempty" json:"location,omitempty"`
	Metadata        *AssetMetadata   `codec:"metadata,omitempty" json:"metadata,omitempty"`
	BaseMetadata    *AssetMetadata   `codec:"baseMetadata,omitempty" json:"baseMetadata,omitempty"`
}

func (MakePreviewRes) DeepCopy added in v1.0.27

func (o MakePreviewRes) DeepCopy() MakePreviewRes

type MakeUploadTempFileArg

type MakeUploadTempFileArg struct {
	OutboxID OutboxID `codec:"outboxID" json:"outboxID"`
	Filename string   `codec:"filename" json:"filename"`
	Data     []byte   `codec:"data" json:"data"`
}

type MarkAsReadArg

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

type MarkAsReadLocalArg added in v1.0.19

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

type MarkAsReadLocalRes added in v1.0.21

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

func (MarkAsReadLocalRes) DeepCopy added in v1.0.27

func (*MarkAsReadLocalRes) GetRateLimit

func (r *MarkAsReadLocalRes) GetRateLimit() []RateLimit

func (*MarkAsReadLocalRes) SetOffline added in v1.0.21

func (r *MarkAsReadLocalRes) SetOffline()

func (*MarkAsReadLocalRes) SetRateLimits

func (r *MarkAsReadLocalRes) SetRateLimits(rl []RateLimit)

type MarkAsReadRes

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

func (MarkAsReadRes) DeepCopy added in v1.0.27

func (o MarkAsReadRes) DeepCopy() MarkAsReadRes

func (*MarkAsReadRes) GetRateLimit

func (r *MarkAsReadRes) GetRateLimit() (res []RateLimit)

func (*MarkAsReadRes) SetRateLimits

func (r *MarkAsReadRes) SetRateLimits(rl []RateLimit)

type MaybeMention

type MaybeMention struct {
	Name    string `codec:"name" json:"name"`
	Channel string `codec:"channel" json:"channel"`
}

func (MaybeMention) DeepCopy

func (o MaybeMention) DeepCopy() MaybeMention

type MemberInfo

type MemberInfo struct {
	Member string                   `codec:"member" json:"member"`
	Status ConversationMemberStatus `codec:"status" json:"status"`
}

func (MemberInfo) DeepCopy

func (o MemberInfo) DeepCopy() MemberInfo

type MembersUpdateInfo added in v1.0.27

type MembersUpdateInfo struct {
	ConvID  ConversationID `codec:"convID" json:"convID"`
	Members []MemberInfo   `codec:"members" json:"members"`
}

func (MembersUpdateInfo) DeepCopy added in v1.0.27

func (o MembersUpdateInfo) DeepCopy() MembersUpdateInfo

type MerkleRoot added in v1.0.19

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

func (MerkleRoot) DeepCopy added in v1.0.27

func (o MerkleRoot) DeepCopy() MerkleRoot

func (*MerkleRoot) Eq added in v1.0.19

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

type Message

type Message struct {
	Msg   *MsgSummary `codec:"msg,omitempty" json:"msg,omitempty"`
	Error *string     `codec:"error,omitempty" json:"error,omitempty"`
}

func (Message) DeepCopy

func (o Message) DeepCopy() Message

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"`
	UserMentions []KnownUserMention `codec:"userMentions" json:"userMentions"`
	TeamMentions []KnownTeamMention `codec:"teamMentions" json:"teamMentions"`
}

func (MessageAttachment) DeepCopy added in v1.0.27

func (o MessageAttachment) DeepCopy() MessageAttachment

func (MessageAttachment) GetTitle

func (a MessageAttachment) GetTitle() string

type MessageAttachmentUploaded added in v1.0.19

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 added in v1.0.27

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"`
	Deletehistory__      *MessageDeleteHistory        `codec:"deletehistory,omitempty" json:"deletehistory,omitempty"`
	Reaction__           *MessageReaction             `codec:"reaction,omitempty" json:"reaction,omitempty"`
	Sendpayment__        *MessageSendPayment          `codec:"sendpayment,omitempty" json:"sendpayment,omitempty"`
	Requestpayment__     *MessageRequestPayment       `codec:"requestpayment,omitempty" json:"requestpayment,omitempty"`
	Unfurl__             *MessageUnfurl               `codec:"unfurl,omitempty" json:"unfurl,omitempty"`
	Flip__               *MessageFlip                 `codec:"flip,omitempty" json:"flip,omitempty"`
	Pin__                *MessagePin                  `codec:"pin,omitempty" json:"pin,omitempty"`
}

func NewMessageBodyWithAttachment

func NewMessageBodyWithAttachment(v MessageAttachment) MessageBody

func NewMessageBodyWithAttachmentuploaded added in v1.0.19

func NewMessageBodyWithAttachmentuploaded(v MessageAttachmentUploaded) MessageBody

func NewMessageBodyWithDelete

func NewMessageBodyWithDelete(v MessageDelete) MessageBody

func NewMessageBodyWithDeletehistory added in v1.0.39

func NewMessageBodyWithDeletehistory(v MessageDeleteHistory) MessageBody

func NewMessageBodyWithEdit

func NewMessageBodyWithEdit(v MessageEdit) MessageBody

func NewMessageBodyWithFlip

func NewMessageBodyWithFlip(v MessageFlip) MessageBody

func NewMessageBodyWithHeadline

func NewMessageBodyWithHeadline(v MessageHeadline) MessageBody

func NewMessageBodyWithJoin added in v1.0.27

func NewMessageBodyWithJoin(v MessageJoin) MessageBody

func NewMessageBodyWithLeave added in v1.0.27

func NewMessageBodyWithLeave(v MessageLeave) MessageBody

func NewMessageBodyWithMetadata

func NewMessageBodyWithMetadata(v MessageConversationMetadata) MessageBody

func NewMessageBodyWithPin

func NewMessageBodyWithPin(v MessagePin) MessageBody

func NewMessageBodyWithReaction

func NewMessageBodyWithReaction(v MessageReaction) MessageBody

func NewMessageBodyWithRequestpayment

func NewMessageBodyWithRequestpayment(v MessageRequestPayment) MessageBody

func NewMessageBodyWithSendpayment

func NewMessageBodyWithSendpayment(v MessageSendPayment) MessageBody

func NewMessageBodyWithSystem added in v1.0.34

func NewMessageBodyWithSystem(v MessageSystem) MessageBody

func NewMessageBodyWithText

func NewMessageBodyWithText(v MessageText) MessageBody

func NewMessageBodyWithUnfurl

func NewMessageBodyWithUnfurl(v MessageUnfurl) MessageBody

func (MessageBody) Attachment

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

func (MessageBody) Attachmentuploaded added in v1.0.19

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

func (MessageBody) DeepCopy added in v1.0.27

func (o MessageBody) DeepCopy() MessageBody

func (MessageBody) Delete

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

func (MessageBody) Deletehistory added in v1.0.39

func (o MessageBody) Deletehistory() (res MessageDeleteHistory)

func (MessageBody) Edit

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

func (MessageBody) Flip

func (o MessageBody) Flip() (res MessageFlip)

func (MessageBody) Headline

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

func (MessageBody) IsNil added in v1.0.39

func (b MessageBody) IsNil() bool

func (MessageBody) IsType

func (b MessageBody) IsType(typ MessageType) bool

func (MessageBody) Join added in v1.0.27

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

func (MessageBody) Leave added in v1.0.27

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) Pin

func (o MessageBody) Pin() (res MessagePin)

func (MessageBody) Reaction

func (o MessageBody) Reaction() (res MessageReaction)

func (MessageBody) Requestpayment

func (o MessageBody) Requestpayment() (res MessageRequestPayment)

func (MessageBody) SearchableText

func (b MessageBody) SearchableText() string

func (MessageBody) Sendpayment

func (o MessageBody) Sendpayment() (res MessageSendPayment)

func (MessageBody) System added in v1.0.34

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

func (MessageBody) Text

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

func (MessageBody) Unfurl

func (o MessageBody) Unfurl() (res MessageUnfurl)

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 added in v1.0.27

func (o MessageBoxed) DeepCopy() MessageBoxed

func (MessageBoxed) EphemeralMetadata added in v1.0.48

func (m MessageBoxed) EphemeralMetadata() *MsgEphemeralMetadata

func (MessageBoxed) Etime

func (m MessageBoxed) Etime() gregor1.Time

func (MessageBoxed) ExplodedBy

func (m MessageBoxed) ExplodedBy() *string

func (MessageBoxed) GetMessageID

func (m MessageBoxed) GetMessageID() MessageID

func (MessageBoxed) GetMessageType

func (m MessageBoxed) GetMessageType() MessageType

func (MessageBoxed) IsEphemeral

func (m MessageBoxed) IsEphemeral() bool

func (MessageBoxed) IsEphemeralExpired

func (m MessageBoxed) IsEphemeralExpired(now time.Time) bool

func (MessageBoxed) KBFSEncrypted added in v1.0.41

func (m MessageBoxed) KBFSEncrypted() bool

func (MessageBoxed) OutboxInfo

func (m MessageBoxed) OutboxInfo() *OutboxInfo

func (MessageBoxed) Summary added in v1.0.21

func (m MessageBoxed) Summary() MessageSummary

type MessageBoxedVersion added in v1.0.19

type MessageBoxedVersion int
const (
	MessageBoxedVersion_VNONE MessageBoxedVersion = 0
	MessageBoxedVersion_V1    MessageBoxedVersion = 1
	MessageBoxedVersion_V2    MessageBoxedVersion = 2
	MessageBoxedVersion_V3    MessageBoxedVersion = 3
	MessageBoxedVersion_V4    MessageBoxedVersion = 4
)
var MaxMessageBoxedVersion MessageBoxedVersion = MessageBoxedVersion_V4

NOTE: these values correspond to the maximum accepted values in chat/boxer.go. If these values are changed, they must also be accepted there.

func (MessageBoxedVersion) DeepCopy added in v1.0.27

func (MessageBoxedVersion) String added in v1.0.19

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"`
	KbfsCryptKeysUsed *bool                    `codec:"kbfsCryptKeysUsed,omitempty" json:"kbfsCryptKeysUsed,omitempty"`
	Deletes           []MessageID              `codec:"deletes" json:"deletes"`
	Prev              []MessagePreviousPointer `codec:"prev" json:"prev"`
	DeleteHistory     *MessageDeleteHistory    `codec:"deleteHistory,omitempty" json:"deleteHistory,omitempty"`
	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"`
	EphemeralMetadata *MsgEphemeralMetadata    `codec:"em,omitempty" json:"em,omitempty"`
	PairwiseMacs      map[keybase1.KID][]byte  `codec:"pm" json:"pm"`
	BotUID            *gregor1.UID             `codec:"b,omitempty" json:"b,omitempty"`
}

func (MessageClientHeader) DeepCopy added in v1.0.27

func (MessageClientHeader) TLFNameExpanded added in v1.0.19

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 added in v1.0.19

func (h MessageClientHeader) ToVerifiedForTesting() MessageClientHeaderVerified

type MessageClientHeaderVerified added in v1.0.19

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"`
	KbfsCryptKeysUsed *bool                    `codec:"kbfsCryptKeysUsed,omitempty" json:"kbfsCryptKeysUsed,omitempty"`
	MerkleRoot        *MerkleRoot              `codec:"merkleRoot,omitempty" json:"merkleRoot,omitempty"`
	OutboxID          *OutboxID                `codec:"outboxID,omitempty" json:"outboxID,omitempty"`
	OutboxInfo        *OutboxInfo              `codec:"outboxInfo,omitempty" json:"outboxInfo,omitempty"`
	EphemeralMetadata *MsgEphemeralMetadata    `codec:"em,omitempty" json:"em,omitempty"`
	Rtime             gregor1.Time             `codec:"rt" json:"rt"`
	HasPairwiseMacs   bool                     `codec:"pm" json:"pm"`
	BotUID            *gregor1.UID             `codec:"b,omitempty" json:"b,omitempty"`
}

func (MessageClientHeaderVerified) DeepCopy added in v1.0.27

func (MessageClientHeaderVerified) TLFNameExpanded added in v1.0.19

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

type MessageConversationMetadata

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

func (MessageConversationMetadata) DeepCopy added in v1.0.27

type MessageDelete

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

func (MessageDelete) DeepCopy added in v1.0.27

func (o MessageDelete) DeepCopy() MessageDelete

type MessageDeleteHistory added in v1.0.39

type MessageDeleteHistory struct {
	Upto MessageID `codec:"upto" json:"upto"`
}

func (MessageDeleteHistory) DeepCopy added in v1.0.39

type MessageEdit

type MessageEdit struct {
	MessageID    MessageID          `codec:"messageID" json:"messageID"`
	Body         string             `codec:"body" json:"body"`
	UserMentions []KnownUserMention `codec:"userMentions" json:"userMentions"`
	TeamMentions []KnownTeamMention `codec:"teamMentions" json:"teamMentions"`
}

func (MessageEdit) DeepCopy added in v1.0.27

func (o MessageEdit) DeepCopy() MessageEdit

type MessageFlip

type MessageFlip struct {
	Text         string             `codec:"text" json:"text"`
	GameID       FlipGameID         `codec:"gameID" json:"gameID"`
	FlipConvID   ConversationID     `codec:"flipConvID" json:"flipConvID"`
	UserMentions []KnownUserMention `codec:"userMentions" json:"userMentions"`
	TeamMentions []KnownTeamMention `codec:"teamMentions" json:"teamMentions"`
}

func (MessageFlip) DeepCopy

func (o MessageFlip) DeepCopy() MessageFlip

type MessageHeadline

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

func (MessageHeadline) DeepCopy added in v1.0.27

func (o MessageHeadline) DeepCopy() MessageHeadline

func (MessageHeadline) String

func (m MessageHeadline) String() string

type MessageID

type MessageID uint

func (MessageID) Advance

func (mid MessageID) Advance(num uint) MessageID

func (MessageID) DeepCopy added in v1.0.27

func (o MessageID) DeepCopy() MessageID

func (MessageID) IsNil

func (mid MessageID) IsNil() bool

func (MessageID) Min added in v1.0.46

func (mid MessageID) Min(mid2 MessageID) MessageID

func (MessageID) String

func (mid MessageID) String() string

type MessageIDControl added in v1.0.34

type MessageIDControl struct {
	Pivot *MessageID           `codec:"pivot,omitempty" json:"pivot,omitempty"`
	Mode  MessageIDControlMode `codec:"mode" json:"mode"`
	Num   int                  `codec:"num" json:"num"`
}

func (MessageIDControl) DeepCopy added in v1.0.34

func (o MessageIDControl) DeepCopy() MessageIDControl

type MessageIDControlMode

type MessageIDControlMode int
const (
	MessageIDControlMode_OLDERMESSAGES MessageIDControlMode = 0
	MessageIDControlMode_NEWERMESSAGES MessageIDControlMode = 1
	MessageIDControlMode_CENTERED      MessageIDControlMode = 2
	MessageIDControlMode_UNREADLINE    MessageIDControlMode = 3
)

func (MessageIDControlMode) DeepCopy

func (MessageIDControlMode) String

func (e MessageIDControlMode) String() string

type MessageJoin added in v1.0.27

type MessageJoin struct {
	Joiners []string `codec:"joiners" json:"joiners"`
	Leavers []string `codec:"leavers" json:"leavers"`
}

func (MessageJoin) DeepCopy added in v1.0.27

func (o MessageJoin) DeepCopy() MessageJoin

type MessageLeave added in v1.0.27

type MessageLeave struct {
}

func (MessageLeave) DeepCopy added in v1.0.27

func (o MessageLeave) DeepCopy() MessageLeave

type MessagePin

type MessagePin struct {
	MsgID MessageID `codec:"msgID" json:"msgID"`
}

func (MessagePin) DeepCopy

func (o MessagePin) DeepCopy() MessagePin

type MessagePlaintext

type MessagePlaintext struct {
	ClientHeader       MessageClientHeader `codec:"clientHeader" json:"clientHeader"`
	MessageBody        MessageBody         `codec:"messageBody" json:"messageBody"`
	SupersedesOutboxID *OutboxID           `codec:"supersedesOutboxID,omitempty" json:"supersedesOutboxID,omitempty"`
}

func (MessagePlaintext) DeepCopy added in v1.0.27

func (o MessagePlaintext) DeepCopy() MessagePlaintext

func (MessagePlaintext) EphemeralMetadata added in v1.0.48

func (m MessagePlaintext) EphemeralMetadata() *MsgEphemeralMetadata

func (MessagePlaintext) IsBadgableType

func (m MessagePlaintext) IsBadgableType() bool

func (MessagePlaintext) IsEphemeral

func (m MessagePlaintext) IsEphemeral() bool

func (MessagePlaintext) IsVisible

func (m MessagePlaintext) IsVisible() bool

func (MessagePlaintext) MessageType

func (m MessagePlaintext) MessageType() MessageType

func (MessagePlaintext) SearchableText

func (m MessagePlaintext) SearchableText() string

type MessagePreviousPointer

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

func (MessagePreviousPointer) DeepCopy added in v1.0.27

func (MessagePreviousPointer) Eq added in v1.0.19

type MessageReaction

type MessageReaction struct {
	MessageID MessageID    `codec:"m" json:"m"`
	Body      string       `codec:"b" json:"b"`
	TargetUID *gregor1.UID `codec:"t,omitempty" json:"t,omitempty"`
}

func (MessageReaction) DeepCopy

func (o MessageReaction) DeepCopy() MessageReaction

func (MessageReaction) Eq

type MessageRequestPayment

type MessageRequestPayment struct {
	RequestID stellar1.KeybaseRequestID `codec:"requestID" json:"requestID"`
	Note      string                    `codec:"note" json:"note"`
}

func (MessageRequestPayment) DeepCopy

type MessageSendPayment

type MessageSendPayment struct {
	PaymentID stellar1.PaymentID `codec:"paymentID" json:"paymentID"`
}

func (MessageSendPayment) DeepCopy

type MessageServerHeader

type MessageServerHeader struct {
	MessageID    MessageID     `codec:"messageID" json:"messageID"`
	SupersededBy MessageID     `codec:"supersededBy" json:"supersededBy"`
	ReactionIDs  []MessageID   `codec:"r" json:"r"`
	UnfurlIDs    []MessageID   `codec:"u" json:"u"`
	Replies      []MessageID   `codec:"replies" json:"replies"`
	Ctime        gregor1.Time  `codec:"ctime" json:"ctime"`
	Now          gregor1.Time  `codec:"n" json:"n"`
	Rtime        *gregor1.Time `codec:"rt,omitempty" json:"rt,omitempty"`
}

func (MessageServerHeader) DeepCopy added in v1.0.27

type MessageSummary added in v1.0.21

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 added in v1.0.27

func (o MessageSummary) DeepCopy() MessageSummary

func (MessageSummary) GetMessageID added in v1.0.21

func (m MessageSummary) GetMessageID() MessageID

func (MessageSummary) GetMessageType added in v1.0.21

func (m MessageSummary) GetMessageType() MessageType

func (MessageSummary) TLFNameExpanded added in v1.0.21

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 added in v1.0.34

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"`
	Createteam__        *MessageSystemCreateTeam        `codec:"createteam,omitempty" json:"createteam,omitempty"`
	Gitpush__           *MessageSystemGitPush           `codec:"gitpush,omitempty" json:"gitpush,omitempty"`
	Changeavatar__      *MessageSystemChangeAvatar      `codec:"changeavatar,omitempty" json:"changeavatar,omitempty"`
	Changeretention__   *MessageSystemChangeRetention   `codec:"changeretention,omitempty" json:"changeretention,omitempty"`
	Bulkaddtoconv__     *MessageSystemBulkAddToConv     `codec:"bulkaddtoconv,omitempty" json:"bulkaddtoconv,omitempty"`
	Sbsresolve__        *MessageSystemSbsResolve        `codec:"sbsresolve,omitempty" json:"sbsresolve,omitempty"`
	Newchannel__        *MessageSystemNewChannel        `codec:"newchannel,omitempty" json:"newchannel,omitempty"`
}

func NewMessageSystemWithAddedtoteam added in v1.0.34

func NewMessageSystemWithAddedtoteam(v MessageSystemAddedToTeam) MessageSystem

func NewMessageSystemWithBulkaddtoconv

func NewMessageSystemWithBulkaddtoconv(v MessageSystemBulkAddToConv) MessageSystem

func NewMessageSystemWithChangeavatar

func NewMessageSystemWithChangeavatar(v MessageSystemChangeAvatar) MessageSystem

func NewMessageSystemWithChangeretention

func NewMessageSystemWithChangeretention(v MessageSystemChangeRetention) MessageSystem

func NewMessageSystemWithComplexteam added in v1.0.34

func NewMessageSystemWithComplexteam(v MessageSystemComplexTeam) MessageSystem

func NewMessageSystemWithCreateteam added in v1.0.39

func NewMessageSystemWithCreateteam(v MessageSystemCreateTeam) MessageSystem

func NewMessageSystemWithGitpush added in v1.0.40

func NewMessageSystemWithGitpush(v MessageSystemGitPush) MessageSystem

func NewMessageSystemWithInviteaddedtoteam added in v1.0.34

func NewMessageSystemWithInviteaddedtoteam(v MessageSystemInviteAddedToTeam) MessageSystem

func NewMessageSystemWithNewchannel

func NewMessageSystemWithNewchannel(v MessageSystemNewChannel) MessageSystem

func NewMessageSystemWithSbsresolve

func NewMessageSystemWithSbsresolve(v MessageSystemSbsResolve) MessageSystem

func (MessageSystem) Addedtoteam added in v1.0.34

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

func (MessageSystem) Bulkaddtoconv

func (o MessageSystem) Bulkaddtoconv() (res MessageSystemBulkAddToConv)

func (MessageSystem) Changeavatar

func (o MessageSystem) Changeavatar() (res MessageSystemChangeAvatar)

func (MessageSystem) Changeretention

func (o MessageSystem) Changeretention() (res MessageSystemChangeRetention)

func (MessageSystem) Complexteam added in v1.0.34

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

func (MessageSystem) Createteam added in v1.0.39

func (o MessageSystem) Createteam() (res MessageSystemCreateTeam)

func (MessageSystem) DeepCopy added in v1.0.34

func (o MessageSystem) DeepCopy() MessageSystem

func (MessageSystem) Gitpush added in v1.0.40

func (o MessageSystem) Gitpush() (res MessageSystemGitPush)

func (MessageSystem) Inviteaddedtoteam added in v1.0.34

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

func (MessageSystem) Newchannel

func (o MessageSystem) Newchannel() (res MessageSystemNewChannel)

func (MessageSystem) Sbsresolve

func (o MessageSystem) Sbsresolve() (res MessageSystemSbsResolve)

func (MessageSystem) String

func (m MessageSystem) String() string

func (*MessageSystem) SystemType added in v1.0.34

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

type MessageSystemAddedToTeam added in v1.0.34

type MessageSystemAddedToTeam struct {
	Team     string            `codec:"team" json:"team"`
	Adder    string            `codec:"adder" json:"adder"`
	Addee    string            `codec:"addee" json:"addee"`
	Role     keybase1.TeamRole `codec:"role" json:"role"`
	BulkAdds []string          `codec:"bulkAdds" json:"bulkAdds"`
}

func (MessageSystemAddedToTeam) DeepCopy added in v1.0.34

type MessageSystemBulkAddToConv

type MessageSystemBulkAddToConv struct {
	Usernames []string `codec:"usernames" json:"usernames"`
}

func (MessageSystemBulkAddToConv) DeepCopy

func (MessageSystemBulkAddToConv) String

type MessageSystemChangeAvatar

type MessageSystemChangeAvatar struct {
	Team string `codec:"team" json:"team"`
	User string `codec:"user" json:"user"`
}

func (MessageSystemChangeAvatar) DeepCopy

type MessageSystemChangeRetention

type MessageSystemChangeRetention struct {
	IsTeam      bool                    `codec:"isTeam" json:"isTeam"`
	IsInherit   bool                    `codec:"isInherit" json:"isInherit"`
	MembersType ConversationMembersType `codec:"membersType" json:"membersType"`
	Policy      RetentionPolicy         `codec:"policy" json:"policy"`
	User        string                  `codec:"user" json:"user"`
}

func (MessageSystemChangeRetention) DeepCopy

func (MessageSystemChangeRetention) String

type MessageSystemComplexTeam added in v1.0.34

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

func (MessageSystemComplexTeam) DeepCopy added in v1.0.34

type MessageSystemCreateTeam added in v1.0.39

type MessageSystemCreateTeam struct {
	Team    string `codec:"team" json:"team"`
	Creator string `codec:"creator" json:"creator"`
}

func (MessageSystemCreateTeam) DeepCopy added in v1.0.39

type MessageSystemGitPush added in v1.0.40

type MessageSystemGitPush struct {
	Team             string                    `codec:"team" json:"team"`
	Pusher           string                    `codec:"pusher" json:"pusher"`
	RepoName         string                    `codec:"repoName" json:"repoName"`
	RepoID           keybase1.RepoID           `codec:"repoID" json:"repoID"`
	Refs             []keybase1.GitRefMetadata `codec:"refs" json:"refs"`
	PushType         keybase1.GitPushType      `codec:"pushType" json:"pushType"`
	PreviousRepoName string                    `codec:"previousRepoName" json:"previousRepoName"`
}

func (MessageSystemGitPush) DeepCopy added in v1.0.40

type MessageSystemInviteAddedToTeam added in v1.0.34

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"`
	Role       keybase1.TeamRole           `codec:"role" json:"role"`
}

func (MessageSystemInviteAddedToTeam) DeepCopy added in v1.0.34

type MessageSystemNewChannel

type MessageSystemNewChannel struct {
	Creator        string         `codec:"creator" json:"creator"`
	NameAtCreation string         `codec:"nameAtCreation" json:"nameAtCreation"`
	ConvID         ConversationID `codec:"convID" json:"convID"`
}

func (MessageSystemNewChannel) DeepCopy

type MessageSystemSbsResolve

type MessageSystemSbsResolve struct {
	AssertionService  string `codec:"assertionService" json:"assertionService"`
	AssertionUsername string `codec:"assertionUsername" json:"assertionUsername"`
	Prover            string `codec:"prover" json:"prover"`
}

func (MessageSystemSbsResolve) DeepCopy

type MessageSystemType added in v1.0.34

type MessageSystemType int
const (
	MessageSystemType_ADDEDTOTEAM       MessageSystemType = 0
	MessageSystemType_INVITEADDEDTOTEAM MessageSystemType = 1
	MessageSystemType_COMPLEXTEAM       MessageSystemType = 2
	MessageSystemType_CREATETEAM        MessageSystemType = 3
	MessageSystemType_GITPUSH           MessageSystemType = 4
	MessageSystemType_CHANGEAVATAR      MessageSystemType = 5
	MessageSystemType_CHANGERETENTION   MessageSystemType = 6
	MessageSystemType_BULKADDTOCONV     MessageSystemType = 7
	MessageSystemType_SBSRESOLVE        MessageSystemType = 8
	MessageSystemType_NEWCHANNEL        MessageSystemType = 9
)

func (MessageSystemType) DeepCopy added in v1.0.34

func (o MessageSystemType) DeepCopy() MessageSystemType

func (MessageSystemType) String added in v1.0.34

func (e MessageSystemType) String() string

type MessageText

type MessageText struct {
	Body         string             `codec:"body" json:"body"`
	Payments     []TextPayment      `codec:"payments" json:"payments"`
	ReplyTo      *MessageID         `codec:"replyTo,omitempty" json:"replyTo,omitempty"`
	ReplyToUID   *gregor1.UID       `codec:"replyToUID,omitempty" json:"replyToUID,omitempty"`
	UserMentions []KnownUserMention `codec:"userMentions" json:"userMentions"`
	TeamMentions []KnownTeamMention `codec:"teamMentions" json:"teamMentions"`
	LiveLocation *LiveLocation      `codec:"liveLocation,omitempty" json:"liveLocation,omitempty"`
}

func (MessageText) DeepCopy added in v1.0.27

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
	MessageType_DELETEHISTORY      MessageType = 12
	MessageType_REACTION           MessageType = 13
	MessageType_SENDPAYMENT        MessageType = 14
	MessageType_REQUESTPAYMENT     MessageType = 15
	MessageType_UNFURL             MessageType = 16
	MessageType_FLIP               MessageType = 17
	MessageType_PIN                MessageType = 18
)

func BadgeableMessageTypes

func BadgeableMessageTypes() []MessageType

Message types that cause badges. JOIN and LEAVE are Visible but are too minute to badge.

func DeletableMessageTypesByDelete added in v1.0.39

func DeletableMessageTypesByDelete() []MessageType

func DeletableMessageTypesByDeleteHistory added in v1.0.39

func DeletableMessageTypesByDeleteHistory() (res []MessageType)

func EditableMessageTypesByEdit

func EditableMessageTypesByEdit() []MessageType

func NonEmptyConvMessageTypes

func NonEmptyConvMessageTypes() []MessageType

A conversation is considered 'empty' unless it has one of these message types. Used for filtering empty convs out of the the inbox.

func VisibleChatMessageTypes

func VisibleChatMessageTypes() []MessageType

Visible chat messages appear visually as a message in the conv. For counterexample REACTION and DELETE_HISTORY have visual effects but do not appear as a message.

func (MessageType) DeepCopy added in v1.0.27

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"`
	Journeycard__ *MessageUnboxedJourneycard `codec:"journeycard,omitempty" json:"journeycard,omitempty"`
}

func NewMessageUnboxedWithError

func NewMessageUnboxedWithError(v MessageUnboxedError) MessageUnboxed

func NewMessageUnboxedWithJourneycard

func NewMessageUnboxedWithJourneycard(v MessageUnboxedJourneycard) MessageUnboxed

func NewMessageUnboxedWithOutbox added in v1.0.19

func NewMessageUnboxedWithOutbox(v OutboxRecord) MessageUnboxed

func NewMessageUnboxedWithPlaceholder added in v1.0.27

func NewMessageUnboxedWithPlaceholder(v MessageUnboxedPlaceholder) MessageUnboxed

func NewMessageUnboxedWithValid

func NewMessageUnboxedWithValid(v MessageUnboxedValid) MessageUnboxed

func (MessageUnboxed) AtMentionUsernames

func (m MessageUnboxed) AtMentionUsernames() []string

func (MessageUnboxed) ChannelMention

func (m MessageUnboxed) ChannelMention() ChannelMention

func (MessageUnboxed) Ctime

func (m MessageUnboxed) Ctime() gregor1.Time

func (*MessageUnboxed) DebugString added in v1.0.42

func (m *MessageUnboxed) DebugString() string

func (MessageUnboxed) DeepCopy added in v1.0.27

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) GetOutboxID

func (m MessageUnboxed) GetOutboxID() *OutboxID

func (MessageUnboxed) GetTopicType

func (m MessageUnboxed) GetTopicType() TopicType

func (MessageUnboxed) HasReactions

func (m MessageUnboxed) HasReactions() bool

func (MessageUnboxed) HasUnfurls

func (m MessageUnboxed) HasUnfurls() bool

func (MessageUnboxed) HideExplosion

func (m MessageUnboxed) HideExplosion(maxDeletedUpto MessageID, now time.Time) bool

func (MessageUnboxed) IsEphemeral

func (m MessageUnboxed) IsEphemeral() bool

func (MessageUnboxed) IsError

func (m MessageUnboxed) IsError() bool

func (MessageUnboxed) IsJourneycard

func (m MessageUnboxed) IsJourneycard() bool

func (MessageUnboxed) IsOutbox

func (m MessageUnboxed) IsOutbox() bool

func (MessageUnboxed) IsPlaceholder

func (m MessageUnboxed) IsPlaceholder() bool

func (MessageUnboxed) IsValid

func (m MessageUnboxed) IsValid() bool

func (MessageUnboxed) IsValidDeleted

func (m MessageUnboxed) IsValidDeleted() bool

IsValidDeleted returns whether a message is valid and has been deleted. This statement does not hold: IsValidFull != IsValidDeleted

func (MessageUnboxed) IsValidFull added in v1.0.42

func (m MessageUnboxed) IsValidFull() bool

IsValidFull returns whether the message is both:

  1. Valid
  2. Has a non-deleted body with a type matching the header (TLFNAME is an exception as it has no body)

func (MessageUnboxed) IsVisible

func (m MessageUnboxed) IsVisible() bool

func (MessageUnboxed) Journeycard

func (o MessageUnboxed) Journeycard() (res MessageUnboxedJourneycard)

func (MessageUnboxed) Outbox added in v1.0.19

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

func (MessageUnboxed) OutboxID

func (m MessageUnboxed) OutboxID() *OutboxID

func (MessageUnboxed) Placeholder added in v1.0.27

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

func (MessageUnboxed) SearchableText

func (m MessageUnboxed) SearchableText() string

func (MessageUnboxed) SenderIsBot

func (m MessageUnboxed) SenderIsBot() bool

func (MessageUnboxed) SenderUsername

func (m MessageUnboxed) SenderUsername() string

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"`
	InternalErrMsg   string                  `codec:"internalErrMsg" json:"internalErrMsg"`
	VersionKind      VersionKind             `codec:"versionKind" json:"versionKind"`
	VersionNumber    int                     `codec:"versionNumber" json:"versionNumber"`
	IsCritical       bool                    `codec:"isCritical" json:"isCritical"`
	SenderUsername   string                  `codec:"senderUsername" json:"senderUsername"`
	SenderDeviceName string                  `codec:"senderDeviceName" json:"senderDeviceName"`
	SenderDeviceType keybase1.DeviceTypeV2   `codec:"senderDeviceType" json:"senderDeviceType"`
	MessageID        MessageID               `codec:"messageID" json:"messageID"`
	MessageType      MessageType             `codec:"messageType" json:"messageType"`
	Ctime            gregor1.Time            `codec:"ctime" json:"ctime"`
	IsEphemeral      bool                    `codec:"isEphemeral" json:"isEphemeral"`
	ExplodedBy       *string                 `codec:"explodedBy,omitempty" json:"explodedBy,omitempty"`
	Etime            gregor1.Time            `codec:"etime" json:"etime"`
	BotUsername      string                  `codec:"botUsername" json:"botUsername"`
}

func (MessageUnboxedError) DeepCopy added in v1.0.27

func (MessageUnboxedError) HideExplosion

func (m MessageUnboxedError) HideExplosion(maxDeletedUpto MessageID, now time.Time) bool

func (MessageUnboxedError) IsEphemeralError

func (m MessageUnboxedError) IsEphemeralError() bool

func (MessageUnboxedError) IsEphemeralExpired

func (m MessageUnboxedError) IsEphemeralExpired(now time.Time) bool

func (MessageUnboxedError) ParseableVersion

func (m MessageUnboxedError) ParseableVersion() bool

ParseableVersion checks if this error has a version that is now able to be understood by our client.

type MessageUnboxedErrorType added in v1.0.19

type MessageUnboxedErrorType int
const (
	MessageUnboxedErrorType_MISC                MessageUnboxedErrorType = 0
	MessageUnboxedErrorType_BADVERSION_CRITICAL MessageUnboxedErrorType = 1
	MessageUnboxedErrorType_BADVERSION          MessageUnboxedErrorType = 2
	MessageUnboxedErrorType_IDENTIFY            MessageUnboxedErrorType = 3
	MessageUnboxedErrorType_EPHEMERAL           MessageUnboxedErrorType = 4
	MessageUnboxedErrorType_PAIRWISE_MISSING    MessageUnboxedErrorType = 5
)

func (MessageUnboxedErrorType) DeepCopy added in v1.0.27

func (MessageUnboxedErrorType) String added in v1.0.19

func (e MessageUnboxedErrorType) String() string

type MessageUnboxedJourneycard

type MessageUnboxedJourneycard struct {
	PrevID         MessageID       `codec:"prevID" json:"prevID"`
	Ordinal        int             `codec:"ordinal" json:"ordinal"`
	CardType       JourneycardType `codec:"cardType" json:"cardType"`
	HighlightMsgID MessageID       `codec:"highlightMsgID" json:"highlightMsgID"`
	OpenTeam       bool            `codec:"openTeam" json:"openTeam"`
}

func (MessageUnboxedJourneycard) DeepCopy

type MessageUnboxedPlaceholder added in v1.0.27

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

func (MessageUnboxedPlaceholder) DeepCopy added in v1.0.27

type MessageUnboxedState

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

func (MessageUnboxedState) DeepCopy added in v1.0.27

func (MessageUnboxedState) String added in v1.0.19

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      keybase1.DeviceTypeV2       `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"`
	MaybeMentions         []MaybeMention              `codec:"maybeMentions" json:"maybeMentions"`
	ChannelNameMentions   []ChannelNameMention        `codec:"channelNameMentions" json:"channelNameMentions"`
	Reactions             ReactionMap                 `codec:"reactions" json:"reactions"`
	Unfurls               map[MessageID]UnfurlResult  `codec:"unfurls" json:"unfurls"`
	ReplyTo               *MessageUnboxed             `codec:"replyTo,omitempty" json:"replyTo,omitempty"`
	BotUsername           string                      `codec:"botUsername" json:"botUsername"`
}

func (MessageUnboxedValid) AsDeleteHistory added in v1.0.40

func (m MessageUnboxedValid) AsDeleteHistory() (res MessageDeleteHistory, err error)

func (MessageUnboxedValid) DeepCopy added in v1.0.27

func (MessageUnboxedValid) EphemeralMetadata added in v1.0.48

func (m MessageUnboxedValid) EphemeralMetadata() *MsgEphemeralMetadata

func (MessageUnboxedValid) Etime added in v1.0.48

func (m MessageUnboxedValid) Etime() gregor1.Time

func (MessageUnboxedValid) ExplodedBy

func (m MessageUnboxedValid) ExplodedBy() *string

func (MessageUnboxedValid) HasPairwiseMacs

func (m MessageUnboxedValid) HasPairwiseMacs() bool

func (MessageUnboxedValid) HideExplosion added in v1.0.48

func (m MessageUnboxedValid) HideExplosion(maxDeletedUpto MessageID, now time.Time) bool

func (MessageUnboxedValid) IsEphemeral

func (m MessageUnboxedValid) IsEphemeral() bool

func (MessageUnboxedValid) IsEphemeralExpired added in v1.0.48

func (m MessageUnboxedValid) IsEphemeralExpired(now time.Time) bool

func (MessageUnboxedValid) RemainingEphemeralLifetime

func (m MessageUnboxedValid) RemainingEphemeralLifetime(now time.Time) time.Duration

type MessageUnfurl

type MessageUnfurl struct {
	Unfurl    UnfurlResult `codec:"unfurl" json:"unfurl"`
	MessageID MessageID    `codec:"messageID" json:"messageID"`
}

func (MessageUnfurl) DeepCopy

func (o MessageUnfurl) DeepCopy() MessageUnfurl

func (MessageUnfurl) SearchableText

func (u MessageUnfurl) SearchableText() string

type MessagesUpdated

type MessagesUpdated struct {
	ConvID  ConversationID `codec:"convID" json:"convID"`
	Updates []UIMessage    `codec:"updates" json:"updates"`
}

func (MessagesUpdated) DeepCopy

func (o MessagesUpdated) DeepCopy() MessagesUpdated

type MsgBotInfo

type MsgBotInfo struct {
	BotUID      keybase1.UID `codec:"botUID" json:"bot_uid"`
	BotUsername string       `codec:"botUsername,omitempty" json:"bot_username,omitempty"`
}

func (MsgBotInfo) DeepCopy

func (o MsgBotInfo) DeepCopy() MsgBotInfo

type MsgContent

type MsgContent struct {
	TypeName           string                       `codec:"typeName" json:"type"`
	Text               *MessageText                 `codec:"text,omitempty" json:"text,omitempty"`
	Attachment         *MessageAttachment           `codec:"attachment,omitempty" json:"attachment,omitempty"`
	Edit               *MessageEdit                 `codec:"edit,omitempty" json:"edit,omitempty"`
	Reaction           *MessageReaction             `codec:"reaction,omitempty" json:"reaction,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:"attachment_uploaded,omitempty"`
	System             *MessageSystem               `codec:"system,omitempty" json:"system,omitempty"`
	SendPayment        *MessageSendPayment          `codec:"sendPayment,omitempty" json:"send_payment,omitempty"`
	RequestPayment     *MessageRequestPayment       `codec:"requestPayment,omitempty" json:"request_payment,omitempty"`
	Unfurl             *MessageUnfurl               `codec:"unfurl,omitempty" json:"unfurl,omitempty"`
	Flip               *MsgFlipContent              `codec:"flip,omitempty" json:"flip,omitempty"`
}

func (MsgContent) DeepCopy

func (o MsgContent) DeepCopy() MsgContent

type MsgEphemeralMetadata added in v1.0.48

type MsgEphemeralMetadata struct {
	Lifetime   gregor1.DurationSec   `codec:"l" json:"l"`
	Generation keybase1.EkGeneration `codec:"g" json:"g"`
	ExplodedBy *string               `codec:"u,omitempty" json:"u,omitempty"`
}

func (MsgEphemeralMetadata) DeepCopy added in v1.0.48

func (*MsgEphemeralMetadata) Eq added in v1.0.48

func (*MsgEphemeralMetadata) String

func (m *MsgEphemeralMetadata) String() string

type MsgFlipContent

type MsgFlipContent struct {
	Text         string             `codec:"text" json:"text"`
	GameID       FlipGameIDStr      `codec:"gameID" json:"game_id"`
	FlipConvID   ConvIDStr          `codec:"flipConvID" json:"flip_conv_id"`
	UserMentions []KnownUserMention `codec:"userMentions" json:"user_mentions"`
	TeamMentions []KnownTeamMention `codec:"teamMentions" json:"team_mentions"`
}

func (MsgFlipContent) DeepCopy

func (o MsgFlipContent) DeepCopy() MsgFlipContent

type MsgNotification

type MsgNotification struct {
	Type       string        `codec:"type" json:"type"`
	Source     string        `codec:"source" json:"source"`
	Msg        *MsgSummary   `codec:"msg,omitempty" json:"msg,omitempty"`
	Error      *string       `codec:"error,omitempty" json:"error,omitempty"`
	Pagination *UIPagination `codec:"pagination,omitempty" json:"pagination,omitempty"`
}

func (MsgNotification) DeepCopy

func (o MsgNotification) DeepCopy() MsgNotification

type MsgSender

type MsgSender struct {
	Uid        keybase1.UID      `codec:"uid" json:"uid"`
	Username   string            `codec:"username,omitempty" json:"username,omitempty"`
	DeviceID   keybase1.DeviceID `codec:"deviceID" json:"device_id"`
	DeviceName string            `codec:"deviceName,omitempty" json:"device_name,omitempty"`
}

func (MsgSender) DeepCopy

func (o MsgSender) DeepCopy() MsgSender

type MsgSummary

type MsgSummary struct {
	Id                  MessageID                `codec:"id" json:"id"`
	ConvID              ConvIDStr                `codec:"convID" json:"conversation_id"`
	Channel             ChatChannel              `codec:"channel" json:"channel"`
	Sender              MsgSender                `codec:"sender" json:"sender"`
	SentAt              int64                    `codec:"sentAt" json:"sent_at"`
	SentAtMs            int64                    `codec:"sentAtMs" json:"sent_at_ms"`
	Content             MsgContent               `codec:"content" json:"content"`
	Prev                []MessagePreviousPointer `codec:"prev" json:"prev"`
	Unread              bool                     `codec:"unread" json:"unread"`
	RevokedDevice       bool                     `codec:"revokedDevice,omitempty" json:"revoked_device,omitempty"`
	Offline             bool                     `codec:"offline,omitempty" json:"offline,omitempty"`
	KbfsEncrypted       bool                     `codec:"kbfsEncrypted,omitempty" json:"kbfs_encrypted,omitempty"`
	IsEphemeral         bool                     `codec:"isEphemeral,omitempty" json:"is_ephemeral,omitempty"`
	IsEphemeralExpired  bool                     `codec:"isEphemeralExpired,omitempty" json:"is_ephemeral_expired,omitempty"`
	ETime               gregor1.Time             `codec:"eTime,omitempty" json:"e_time,omitempty"`
	Reactions           *ReactionMap             `codec:"reactions,omitempty" json:"reactions,omitempty"`
	HasPairwiseMacs     bool                     `codec:"hasPairwiseMacs,omitempty" json:"has_pairwise_macs,omitempty"`
	AtMentionUsernames  []string                 `codec:"atMentionUsernames,omitempty" json:"at_mention_usernames,omitempty"`
	ChannelMention      string                   `codec:"channelMention,omitempty" json:"channel_mention,omitempty"`
	ChannelNameMentions []UIChannelNameMention   `codec:"channelNameMentions,omitempty" json:"channel_name_mentions,omitempty"`
	BotInfo             *MsgBotInfo              `codec:"botInfo,omitempty" json:"bot_info,omitempty"`
}

func (MsgSummary) DeepCopy

func (o MsgSummary) DeepCopy() MsgSummary

type NameQuery added in v1.0.27

type NameQuery struct {
	Name        string                  `codec:"name" json:"name"`
	TlfID       *TLFID                  `codec:"tlfID,omitempty" json:"tlfID,omitempty"`
	MembersType ConversationMembersType `codec:"membersType" json:"membersType"`
}

func (NameQuery) DeepCopy added in v1.0.27

func (o NameQuery) DeepCopy() NameQuery

type NewChatActivityArg

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

type NewConvRes

type NewConvRes struct {
	Id               ConvIDStr                     `codec:"id" json:"id"`
	IdentifyFailures []keybase1.TLFIdentifyFailure `codec:"identifyFailures,omitempty" json:"identify_failures,omitempty"`
	RateLimits       []RateLimitRes                `codec:"rateLimits,omitempty" json:"ratelimits,omitempty"`
}

func (NewConvRes) DeepCopy

func (o NewConvRes) DeepCopy() NewConvRes

type NewConversationInfo added in v1.0.19

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

func (NewConversationInfo) DeepCopy added in v1.0.27

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 NewConversationLocalArgument

type NewConversationLocalArgument 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"`
}

func (NewConversationLocalArgument) DeepCopy

type NewConversationLocalRes

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

func (NewConversationLocalRes) DeepCopy added in v1.0.27

func (*NewConversationLocalRes) GetRateLimit

func (r *NewConversationLocalRes) GetRateLimit() []RateLimit

func (*NewConversationLocalRes) SetRateLimits

func (r *NewConversationLocalRes) SetRateLimits(rl []RateLimit)

type NewConversationPayload added in v1.0.19

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

func (NewConversationPayload) DeepCopy added in v1.0.27

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"`
	MemberSourceConv *ConversationID         `codec:"memberSourceConv,omitempty" json:"memberSourceConv,omitempty"`
	RetentionPolicy  *RetentionPolicy        `codec:"retentionPolicy,omitempty" json:"retentionPolicy,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 added in v1.0.27

func (*NewConversationRemoteRes) GetRateLimit

func (r *NewConversationRemoteRes) GetRateLimit() (res []RateLimit)

func (*NewConversationRemoteRes) SetRateLimits

func (r *NewConversationRemoteRes) SetRateLimits(rl []RateLimit)

type NewConversationsLocalArg

type NewConversationsLocalArg struct {
	NewConversationLocalArguments []NewConversationLocalArgument `codec:"newConversationLocalArguments" json:"newConversationLocalArguments"`
	IdentifyBehavior              keybase1.TLFIdentifyBehavior   `codec:"identifyBehavior" json:"identifyBehavior"`
}

type NewConversationsLocalRes

type NewConversationsLocalRes struct {
	Results          []NewConversationsLocalResult `codec:"results" json:"results"`
	RateLimits       []RateLimit                   `codec:"rateLimits" json:"rateLimits"`
	IdentifyFailures []keybase1.TLFIdentifyFailure `codec:"identifyFailures" json:"identifyFailures"`
}

func (NewConversationsLocalRes) DeepCopy

func (*NewConversationsLocalRes) GetRateLimit

func (r *NewConversationsLocalRes) GetRateLimit() (res []RateLimit)

func (*NewConversationsLocalRes) SetRateLimits

func (r *NewConversationsLocalRes) SetRateLimits(rl []RateLimit)

type NewConversationsLocalResult

type NewConversationsLocalResult struct {
	Result *NewConversationLocalRes `codec:"result,omitempty" json:"result,omitempty"`
	Err    *string                  `codec:"err,omitempty" json:"err,omitempty"`
}

func (NewConversationsLocalResult) 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"`
	TopicType         TopicType         `codec:"topicType" json:"topicType"`
	UnreadUpdate      *UnreadUpdate     `codec:"unreadUpdate,omitempty" json:"unreadUpdate,omitempty"`
	UntrustedTeamRole keybase1.TeamRole `codec:"untrustedTeamRole" json:"untrustedTeamRole"`
	MaxMsgs           []MessageSummary  `codec:"maxMsgs" json:"maxMsgs"`
}

func (NewMessagePayload) DeepCopy added in v1.0.27

func (o NewMessagePayload) DeepCopy() NewMessagePayload

type NonblockFetchRes added in v1.0.21

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 added in v1.0.27

func (o NonblockFetchRes) DeepCopy() NonblockFetchRes

func (*NonblockFetchRes) GetRateLimit

func (r *NonblockFetchRes) GetRateLimit() []RateLimit

func (*NonblockFetchRes) SetOffline added in v1.0.21

func (r *NonblockFetchRes) SetOffline()

func (*NonblockFetchRes) SetRateLimits

func (r *NonblockFetchRes) SetRateLimits(rl []RateLimit)

type NotificationKind added in v1.0.27

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

func (NotificationKind) DeepCopy added in v1.0.27

func (o NotificationKind) DeepCopy() NotificationKind

type NotifyChatClient

type NotifyChatClient struct {
	Cli rpc.GenericClient
}

func (NotifyChatClient) ChatAttachmentUploadProgress

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

func (NotifyChatClient) ChatAttachmentUploadStart

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

func (NotifyChatClient) ChatConvUpdate

func (c NotifyChatClient) ChatConvUpdate(ctx context.Context, __arg ChatConvUpdateArg) (err error)

func (NotifyChatClient) ChatIdentifyUpdate added in v1.0.19

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

func (NotifyChatClient) ChatInboxStale added in v1.0.19

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

func (NotifyChatClient) ChatInboxSyncStarted added in v1.0.34

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

func (NotifyChatClient) ChatInboxSynced added in v1.0.34

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

func (NotifyChatClient) ChatJoinedConversation added in v1.0.27

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

func (NotifyChatClient) ChatKBFSToImpteamUpgrade added in v1.0.41

func (c NotifyChatClient) ChatKBFSToImpteamUpgrade(ctx context.Context, __arg ChatKBFSToImpteamUpgradeArg) (err error)

func (NotifyChatClient) ChatLeftConversation added in v1.0.27

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

func (NotifyChatClient) ChatParticipantsInfo

func (c NotifyChatClient) ChatParticipantsInfo(ctx context.Context, participants map[ConvIDStr][]UIParticipant) (err error)

func (NotifyChatClient) ChatPaymentInfo

func (c NotifyChatClient) ChatPaymentInfo(ctx context.Context, __arg ChatPaymentInfoArg) (err error)

func (NotifyChatClient) ChatPromptUnfurl

func (c NotifyChatClient) ChatPromptUnfurl(ctx context.Context, __arg ChatPromptUnfurlArg) (err error)

func (NotifyChatClient) ChatRequestInfo

func (c NotifyChatClient) ChatRequestInfo(ctx context.Context, __arg ChatRequestInfoArg) (err error)

func (NotifyChatClient) ChatResetConversation added in v1.0.34

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

func (NotifyChatClient) ChatSetConvRetention added in v1.0.41

func (c NotifyChatClient) ChatSetConvRetention(ctx context.Context, __arg ChatSetConvRetentionArg) (err error)

func (NotifyChatClient) ChatSetConvSettings

func (c NotifyChatClient) ChatSetConvSettings(ctx context.Context, __arg ChatSetConvSettingsArg) (err error)

func (NotifyChatClient) ChatSetTeamRetention added in v1.0.41

func (c NotifyChatClient) ChatSetTeamRetention(ctx context.Context, __arg ChatSetTeamRetentionArg) (err error)

func (NotifyChatClient) ChatSubteamRename

func (c NotifyChatClient) ChatSubteamRename(ctx context.Context, __arg ChatSubteamRenameArg) (err error)

func (NotifyChatClient) ChatTLFFinalize added in v1.0.19

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

func (NotifyChatClient) ChatTLFResolve added in v1.0.19

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

func (NotifyChatClient) ChatThreadsStale added in v1.0.19

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

func (NotifyChatClient) ChatTypingUpdate added in v1.0.27

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

func (NotifyChatClient) ChatWelcomeMessageLoaded

func (c NotifyChatClient) ChatWelcomeMessageLoaded(ctx context.Context, __arg ChatWelcomeMessageLoadedArg) (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
	ChatSetConvRetention(context.Context, ChatSetConvRetentionArg) error
	ChatSetTeamRetention(context.Context, ChatSetTeamRetentionArg) error
	ChatSetConvSettings(context.Context, ChatSetConvSettingsArg) error
	ChatSubteamRename(context.Context, ChatSubteamRenameArg) error
	ChatKBFSToImpteamUpgrade(context.Context, ChatKBFSToImpteamUpgradeArg) error
	ChatAttachmentUploadStart(context.Context, ChatAttachmentUploadStartArg) error
	ChatAttachmentUploadProgress(context.Context, ChatAttachmentUploadProgressArg) error
	ChatPaymentInfo(context.Context, ChatPaymentInfoArg) error
	ChatRequestInfo(context.Context, ChatRequestInfoArg) error
	ChatPromptUnfurl(context.Context, ChatPromptUnfurlArg) error
	ChatConvUpdate(context.Context, ChatConvUpdateArg) error
	ChatWelcomeMessageLoaded(context.Context, ChatWelcomeMessageLoadedArg) error
	ChatParticipantsInfo(context.Context, map[ConvIDStr][]UIParticipant) error
}

type OfflinableResult added in v1.0.21

type OfflinableResult interface {
	SetOffline()
}

type OutboxErrorType added in v1.0.19

type OutboxErrorType int
const (
	OutboxErrorType_MISC            OutboxErrorType = 0
	OutboxErrorType_OFFLINE         OutboxErrorType = 1
	OutboxErrorType_IDENTIFY        OutboxErrorType = 2
	OutboxErrorType_TOOLONG         OutboxErrorType = 3
	OutboxErrorType_DUPLICATE       OutboxErrorType = 4
	OutboxErrorType_EXPIRED         OutboxErrorType = 5
	OutboxErrorType_TOOMANYATTEMPTS OutboxErrorType = 6
	OutboxErrorType_ALREADY_DELETED OutboxErrorType = 7
	OutboxErrorType_UPLOADFAILED    OutboxErrorType = 8
	OutboxErrorType_RESTRICTEDBOT   OutboxErrorType = 9
	OutboxErrorType_MINWRITER       OutboxErrorType = 10
)

func (OutboxErrorType) DeepCopy added in v1.0.27

func (o OutboxErrorType) DeepCopy() OutboxErrorType

func (OutboxErrorType) IsBadgableError

func (e OutboxErrorType) IsBadgableError() bool

func (OutboxErrorType) String added in v1.0.19

func (e OutboxErrorType) String() string

type OutboxID added in v1.0.19

type OutboxID []byte

func MakeOutboxID

func MakeOutboxID(s string) (OutboxID, error)

func (OutboxID) Bytes added in v1.0.27

func (o OutboxID) Bytes() []byte

func (OutboxID) DeepCopy added in v1.0.27

func (o OutboxID) DeepCopy() OutboxID

func (*OutboxID) Eq added in v1.0.19

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

func (OutboxID) String added in v1.0.19

func (o OutboxID) String() string

type OutboxInfo added in v1.0.19

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

func (OutboxInfo) DeepCopy added in v1.0.27

func (o OutboxInfo) DeepCopy() OutboxInfo

func (*OutboxInfo) Eq added in v1.0.19

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

type OutboxRecord added in v1.0.19

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"`
	PrepareOpts      *SenderPrepareOptions        `codec:"prepareOpts,omitempty" json:"prepareOpts,omitempty"`
	SendOpts         *SenderSendOptions           `codec:"sendOpts,omitempty" json:"sendOpts,omitempty"`
	Ordinal          int                          `codec:"ordinal" json:"ordinal"`
	Preview          *MakePreviewRes              `codec:"preview,omitempty" json:"preview,omitempty"`
	ReplyTo          *MessageUnboxed              `codec:"replyTo,omitempty" json:"replyTo,omitempty"`
}

func (OutboxRecord) DeepCopy added in v1.0.27

func (o OutboxRecord) DeepCopy() OutboxRecord

func (OutboxRecord) IsAttachment

func (o OutboxRecord) IsAttachment() bool

func (OutboxRecord) IsBadgable

func (o OutboxRecord) IsBadgable() bool

func (OutboxRecord) IsChatFlip

func (o OutboxRecord) IsChatFlip() bool

func (OutboxRecord) IsError

func (o OutboxRecord) IsError() bool

func (OutboxRecord) IsSending

func (o OutboxRecord) IsSending() bool

func (OutboxRecord) IsUnfurl

func (o OutboxRecord) IsUnfurl() bool

func (OutboxRecord) MessageType

func (o OutboxRecord) MessageType() MessageType

type OutboxState added in v1.0.19

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 added in v1.0.19

func NewOutboxStateWithError(v OutboxStateError) OutboxState

func NewOutboxStateWithSending added in v1.0.19

func NewOutboxStateWithSending(v int) OutboxState

func (OutboxState) DeepCopy added in v1.0.27

func (o OutboxState) DeepCopy() OutboxState

func (OutboxState) Error added in v1.0.19

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

func (OutboxState) Sending added in v1.0.19

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

func (*OutboxState) State added in v1.0.19

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

type OutboxStateError added in v1.0.19

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

func (OutboxStateError) DeepCopy added in v1.0.27

func (o OutboxStateError) DeepCopy() OutboxStateError

type OutboxStateType added in v1.0.19

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

func (OutboxStateType) DeepCopy added in v1.0.27

func (o OutboxStateType) DeepCopy() OutboxStateType

func (OutboxStateType) String added in v1.0.19

func (e OutboxStateType) String() string

type Pagination

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

func (Pagination) DeepCopy added in v1.0.27

func (o Pagination) DeepCopy() Pagination

func (*Pagination) Eq added in v1.0.19

func (p *Pagination) Eq(other *Pagination) bool

func (*Pagination) FirstPage

func (p *Pagination) FirstPage() bool

FirstPage returns true if the pagination object is not pointing in any direction

func (*Pagination) String added in v1.0.48

func (p *Pagination) String() string

type PinMessageArg

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

type PinMessageRes

type PinMessageRes struct {
	RateLimits []RateLimit `codec:"rateLimits" json:"rateLimits"`
}

func (PinMessageRes) DeepCopy

func (o PinMessageRes) DeepCopy() PinMessageRes

func (*PinMessageRes) GetRateLimit

func (r *PinMessageRes) GetRateLimit() []RateLimit

func (*PinMessageRes) SetRateLimits

func (r *PinMessageRes) SetRateLimits(rl []RateLimit)

type PostDeleteHistoryByAgeArg added in v1.0.40

type PostDeleteHistoryByAgeArg struct {
	ConversationID   ConversationID               `codec:"conversationID" json:"conversationID"`
	TlfName          string                       `codec:"tlfName" json:"tlfName"`
	TlfPublic        bool                         `codec:"tlfPublic" json:"tlfPublic"`
	IdentifyBehavior keybase1.TLFIdentifyBehavior `codec:"identifyBehavior" json:"identifyBehavior"`
	Age              gregor1.DurationSec          `codec:"age" json:"age"`
}

type PostDeleteHistoryThroughArg added in v1.0.43

type PostDeleteHistoryThroughArg struct {
	ConversationID   ConversationID               `codec:"conversationID" json:"conversationID"`
	TlfName          string                       `codec:"tlfName" json:"tlfName"`
	TlfPublic        bool                         `codec:"tlfPublic" json:"tlfPublic"`
	IdentifyBehavior keybase1.TLFIdentifyBehavior `codec:"identifyBehavior" json:"identifyBehavior"`
	Through          MessageID                    `codec:"through" json:"through"`
}

type PostDeleteHistoryUptoArg added in v1.0.40

type PostDeleteHistoryUptoArg struct {
	ConversationID   ConversationID               `codec:"conversationID" json:"conversationID"`
	TlfName          string                       `codec:"tlfName" json:"tlfName"`
	TlfPublic        bool                         `codec:"tlfPublic" json:"tlfPublic"`
	IdentifyBehavior keybase1.TLFIdentifyBehavior `codec:"identifyBehavior" json:"identifyBehavior"`
	Upto             MessageID                    `codec:"upto" json:"upto"`
}

type PostDeleteNonblockArg added in v1.0.19

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 added in v1.0.19

type PostEditNonblockArg struct {
	ConversationID   ConversationID               `codec:"conversationID" json:"conversationID"`
	TlfName          string                       `codec:"tlfName" json:"tlfName"`
	TlfPublic        bool                         `codec:"tlfPublic" json:"tlfPublic"`
	Target           EditTarget                   `codec:"target" json:"target"`
	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 PostFileAttachmentArg

type PostFileAttachmentArg struct {
	ConversationID    ConversationID               `codec:"conversationID" json:"conversationID"`
	TlfName           string                       `codec:"tlfName" json:"tlfName"`
	Visibility        keybase1.TLFVisibility       `codec:"visibility" json:"visibility"`
	Filename          string                       `codec:"filename" json:"filename"`
	Title             string                       `codec:"title" json:"title"`
	Metadata          []byte                       `codec:"metadata" json:"metadata"`
	IdentifyBehavior  keybase1.TLFIdentifyBehavior `codec:"identifyBehavior" json:"identifyBehavior"`
	CallerPreview     *MakePreviewRes              `codec:"callerPreview,omitempty" json:"callerPreview,omitempty"`
	OutboxID          *OutboxID                    `codec:"outboxID,omitempty" json:"outboxID,omitempty"`
	EphemeralLifetime *gregor1.DurationSec         `codec:"ephemeralLifetime,omitempty" json:"ephemeralLifetime,omitempty"`
}

func (PostFileAttachmentArg) DeepCopy

type PostFileAttachmentLocalArg added in v1.0.19

type PostFileAttachmentLocalArg struct {
	SessionID int                   `codec:"sessionID" json:"sessionID"`
	Arg       PostFileAttachmentArg `codec:"arg" json:"arg"`
}

type PostFileAttachmentLocalNonblockArg

type PostFileAttachmentLocalNonblockArg struct {
	SessionID  int                   `codec:"sessionID" json:"sessionID"`
	Arg        PostFileAttachmentArg `codec:"arg" json:"arg"`
	ClientPrev MessageID             `codec:"clientPrev" json:"clientPrev"`
}

type PostHeadlineArg added in v1.0.29

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 added in v1.0.29

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 {
	SessionID        int                          `codec:"sessionID" json:"sessionID"`
	ConversationID   ConversationID               `codec:"conversationID" json:"conversationID"`
	Msg              MessagePlaintext             `codec:"msg" json:"msg"`
	ReplyTo          *MessageID                   `codec:"replyTo,omitempty" json:"replyTo,omitempty"`
	IdentifyBehavior keybase1.TLFIdentifyBehavior `codec:"identifyBehavior" json:"identifyBehavior"`
}

type PostLocalNonblockArg added in v1.0.19

type PostLocalNonblockArg struct {
	SessionID        int                          `codec:"sessionID" json:"sessionID"`
	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"`
	ReplyTo          *MessageID                   `codec:"replyTo,omitempty" json:"replyTo,omitempty"`
	IdentifyBehavior keybase1.TLFIdentifyBehavior `codec:"identifyBehavior" json:"identifyBehavior"`
}

type PostLocalNonblockRes added in v1.0.19

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 added in v1.0.27

func (*PostLocalNonblockRes) GetRateLimit

func (r *PostLocalNonblockRes) GetRateLimit() []RateLimit

func (*PostLocalNonblockRes) SetRateLimits

func (r *PostLocalNonblockRes) SetRateLimits(rl []RateLimit)

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 added in v1.0.27

func (o PostLocalRes) DeepCopy() PostLocalRes

func (*PostLocalRes) GetRateLimit

func (r *PostLocalRes) GetRateLimit() []RateLimit

func (*PostLocalRes) SetRateLimits

func (r *PostLocalRes) SetRateLimits(rl []RateLimit)

type PostMetadataArg added in v1.0.34

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 added in v1.0.34

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 PostReactionNonblockArg

type PostReactionNonblockArg 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 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"`
	JoinMentionsAs *ConversationMemberStatus `codec:"joinMentionsAs,omitempty" json:"joinMentionsAs,omitempty"`
}

type PostRemoteRes

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

func (PostRemoteRes) DeepCopy added in v1.0.27

func (o PostRemoteRes) DeepCopy() PostRemoteRes

func (*PostRemoteRes) GetRateLimit

func (r *PostRemoteRes) GetRateLimit() (res []RateLimit)

func (*PostRemoteRes) SetRateLimits

func (r *PostRemoteRes) SetRateLimits(rl []RateLimit)

type PostTextNonblockArg added in v1.0.19

type PostTextNonblockArg struct {
	SessionID         int                          `codec:"sessionID" json:"sessionID"`
	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"`
	ReplyTo           *MessageID                   `codec:"replyTo,omitempty" json:"replyTo,omitempty"`
	OutboxID          *OutboxID                    `codec:"outboxID,omitempty" json:"outboxID,omitempty"`
	IdentifyBehavior  keybase1.TLFIdentifyBehavior `codec:"identifyBehavior" json:"identifyBehavior"`
	EphemeralLifetime *gregor1.DurationSec         `codec:"ephemeralLifetime,omitempty" json:"ephemeralLifetime,omitempty"`
}

type PreviewConversationArg added in v1.0.34

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

type PreviewConversationByIDLocalArg added in v1.0.34

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

type PreviewConversationLocalRes

type PreviewConversationLocalRes struct {
	Conv       InboxUIItem `codec:"conv" json:"conv"`
	Offline    bool        `codec:"offline" json:"offline"`
	RateLimits []RateLimit `codec:"rateLimits" json:"rateLimits"`
}

func (PreviewConversationLocalRes) DeepCopy

func (*PreviewConversationLocalRes) GetRateLimit

func (r *PreviewConversationLocalRes) GetRateLimit() []RateLimit

func (*PreviewConversationLocalRes) SetOffline

func (r *PreviewConversationLocalRes) SetOffline()

func (*PreviewConversationLocalRes) SetRateLimits

func (r *PreviewConversationLocalRes) SetRateLimits(rl []RateLimit)

type PreviewLocation

type PreviewLocation struct {
	Ltyp__  PreviewLocationTyp `codec:"ltyp" json:"ltyp"`
	Url__   *string            `codec:"url,omitempty" json:"url,omitempty"`
	File__  *string            `codec:"file,omitempty" json:"file,omitempty"`
	Bytes__ *[]byte            `codec:"bytes,omitempty" json:"bytes,omitempty"`
}

func NewPreviewLocationWithBytes

func NewPreviewLocationWithBytes(v []byte) PreviewLocation

func NewPreviewLocationWithFile

func NewPreviewLocationWithFile(v string) PreviewLocation

func NewPreviewLocationWithUrl

func NewPreviewLocationWithUrl(v string) PreviewLocation

func (PreviewLocation) Bytes

func (o PreviewLocation) Bytes() (res []byte)

func (PreviewLocation) DeepCopy

func (o PreviewLocation) DeepCopy() PreviewLocation

func (PreviewLocation) File

func (o PreviewLocation) File() (res string)

func (*PreviewLocation) Ltyp

func (o *PreviewLocation) Ltyp() (ret PreviewLocationTyp, err error)

func (PreviewLocation) Url

func (o PreviewLocation) Url() (res string)

type PreviewLocationTyp

type PreviewLocationTyp int
const (
	PreviewLocationTyp_URL   PreviewLocationTyp = 0
	PreviewLocationTyp_FILE  PreviewLocationTyp = 1
	PreviewLocationTyp_BYTES PreviewLocationTyp = 2
)

func (PreviewLocationTyp) DeepCopy

func (PreviewLocationTyp) String

func (e PreviewLocationTyp) String() string

type ProfileChatSearchArg

type ProfileChatSearchArg struct {
	IdentifyBehavior keybase1.TLFIdentifyBehavior `codec:"identifyBehavior" json:"identifyBehavior"`
}

type ProfileSearchConvStats

type ProfileSearchConvStats struct {
	Err            string               `codec:"err" json:"err"`
	ConvName       string               `codec:"convName" json:"convName"`
	MinConvID      MessageID            `codec:"minConvID" json:"minConvID"`
	MaxConvID      MessageID            `codec:"maxConvID" json:"maxConvID"`
	NumMissing     int                  `codec:"numMissing" json:"numMissing"`
	NumMessages    int                  `codec:"numMessages" json:"numMessages"`
	IndexSizeDisk  int                  `codec:"indexSizeDisk" json:"indexSizeDisk"`
	IndexSizeMem   int64                `codec:"indexSizeMem" json:"indexSizeMem"`
	DurationMsec   gregor1.DurationMsec `codec:"durationMsec" json:"durationMsec"`
	PercentIndexed int                  `codec:"percentIndexed" json:"percentIndexed"`
}

func (ProfileSearchConvStats) DeepCopy

type PutReacjiSkinToneArg

type PutReacjiSkinToneArg struct {
	SkinTone keybase1.ReacjiSkinTone `codec:"skinTone" json:"skinTone"`
}

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 added in v1.0.27

func (o RateLimit) DeepCopy() RateLimit

type RateLimitRes

type RateLimitRes struct {
	Tank     string `codec:"tank" json:"tank"`
	Capacity int    `codec:"capacity" json:"capacity"`
	Reset    int    `codec:"reset" json:"reset"`
	Gas      int    `codec:"gas" json:"gas"`
}

func (RateLimitRes) DeepCopy

func (o RateLimitRes) DeepCopy() RateLimitRes

type ReIndexingMode

type ReIndexingMode int
const (
	ReIndexingMode_NONE            ReIndexingMode = 0
	ReIndexingMode_PRESEARCH_SYNC  ReIndexingMode = 1
	ReIndexingMode_POSTSEARCH_SYNC ReIndexingMode = 2
)

func (ReIndexingMode) DeepCopy

func (o ReIndexingMode) DeepCopy() ReIndexingMode

func (ReIndexingMode) String

func (e ReIndexingMode) String() string

type Reaction

type Reaction struct {
	Ctime         gregor1.Time `codec:"ctime" json:"ctime"`
	ReactionMsgID MessageID    `codec:"reactionMsgID" json:"reactionMsgID"`
}

func (Reaction) DeepCopy

func (o Reaction) DeepCopy() Reaction

type ReactionMap

type ReactionMap struct {
	Reactions map[string]map[string]Reaction `codec:"reactions" json:"reactions"`
}

func (ReactionMap) DeepCopy

func (o ReactionMap) DeepCopy() ReactionMap

func (ReactionMap) HasReactionFromUser

func (r ReactionMap) HasReactionFromUser(reactionText, username string) (found bool, reactionMsgID MessageID)

type ReactionUpdate

type ReactionUpdate struct {
	Reactions   ReactionMap `codec:"reactions" json:"reactions"`
	TargetMsgID MessageID   `codec:"targetMsgID" json:"targetMsgID"`
}

func (ReactionUpdate) DeepCopy

func (o ReactionUpdate) DeepCopy() ReactionUpdate

type ReactionUpdateNotif

type ReactionUpdateNotif struct {
	ConvID          ConversationID       `codec:"convID" json:"convID"`
	UserReacjis     keybase1.UserReacjis `codec:"userReacjis" json:"userReacjis"`
	ReactionUpdates []ReactionUpdate     `codec:"reactionUpdates" json:"reactionUpdates"`
}

func (ReactionUpdateNotif) DeepCopy

type ReadMessageInfo added in v1.0.19

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 added in v1.0.27

func (o ReadMessageInfo) DeepCopy() ReadMessageInfo

type ReadMessagePayload added in v1.0.19

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"`
	TopicType    TopicType      `codec:"topicType" json:"topicType"`
	UnreadUpdate *UnreadUpdate  `codec:"unreadUpdate,omitempty" json:"unreadUpdate,omitempty"`
}

func (ReadMessagePayload) DeepCopy added in v1.0.27

type RefreshParticipantsArg

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

type RefreshParticipantsRemoteArg

type RefreshParticipantsRemoteArg struct {
	ConvID ConversationID `codec:"convID" json:"convID"`
	Hash   string         `codec:"hash" json:"hash"`
}

type RefreshParticipantsRemoteRes

type RefreshParticipantsRemoteRes struct {
	HashMatch bool          `codec:"hashMatch" json:"hashMatch"`
	Uids      []gregor1.UID `codec:"uids" json:"uids"`
	Hash      string        `codec:"hash" json:"hash"`
	RateLimit *RateLimit    `codec:"rateLimit,omitempty" json:"rateLimit,omitempty"`
}

func (RefreshParticipantsRemoteRes) DeepCopy

type RegexpRes

type RegexpRes struct {
	Hits             []ChatSearchHit               `codec:"hits" json:"hits"`
	IdentifyFailures []keybase1.TLFIdentifyFailure `codec:"identifyFailures,omitempty" json:"identify_failures,omitempty"`
	RateLimits       []RateLimitRes                `codec:"rateLimits,omitempty" json:"ratelimits,omitempty"`
}

func (RegexpRes) DeepCopy

func (o RegexpRes) DeepCopy() RegexpRes

type RegisterSharePostArg

type RegisterSharePostArg struct {
	ConvID   ConversationID   `codec:"convID" json:"convID"`
	DeviceID gregor1.DeviceID `codec:"deviceID" json:"deviceID"`
	OutboxID OutboxID         `codec:"outboxID" json:"outboxID"`
}

type RemoteBotCommandsAdvertisement

type RemoteBotCommandsAdvertisement struct {
	Typ__          BotCommandsAdvertisementTyp           `codec:"typ" json:"typ"`
	Public__       *RemoteBotCommandsAdvertisementPublic `codec:"public,omitempty" json:"public,omitempty"`
	TlfidMembers__ *RemoteBotCommandsAdvertisementTLFID  `codec:"tlfidMembers,omitempty" json:"tlfidMembers,omitempty"`
	TlfidConvs__   *RemoteBotCommandsAdvertisementTLFID  `codec:"tlfidConvs,omitempty" json:"tlfidConvs,omitempty"`
}

func (RemoteBotCommandsAdvertisement) DeepCopy

func (RemoteBotCommandsAdvertisement) Public

func (RemoteBotCommandsAdvertisement) TlfidConvs

func (RemoteBotCommandsAdvertisement) TlfidMembers

func (*RemoteBotCommandsAdvertisement) Typ

type RemoteBotCommandsAdvertisementPublic

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

func (RemoteBotCommandsAdvertisementPublic) DeepCopy

type RemoteBotCommandsAdvertisementTLFID

type RemoteBotCommandsAdvertisementTLFID struct {
	ConvID ConversationID `codec:"convID" json:"convID"`
	TlfID  TLFID          `codec:"tlfID" json:"tlfID"`
}

func (RemoteBotCommandsAdvertisementTLFID) DeepCopy

type RemoteClient

type RemoteClient struct {
	Cli rpc.GenericClient
}

func (RemoteClient) AdvertiseBotCommands

func (c RemoteClient) AdvertiseBotCommands(ctx context.Context, ads []RemoteBotCommandsAdvertisement) (res AdvertiseBotCommandsRes, err error)

func (RemoteClient) BroadcastGregorMessageToConv

func (c RemoteClient) BroadcastGregorMessageToConv(ctx context.Context, __arg BroadcastGregorMessageToConvArg) (err error)

func (RemoteClient) ClearBotCommands

func (c RemoteClient) ClearBotCommands(ctx context.Context) (res ClearBotCommandsRes, err error)

func (RemoteClient) DeleteConversation added in v1.0.31

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

func (RemoteClient) FailSharePost

func (c RemoteClient) FailSharePost(ctx context.Context, __arg FailSharePostArg) (err error)

func (RemoteClient) GetBotInfo

func (c RemoteClient) GetBotInfo(ctx context.Context, __arg GetBotInfoArg) (res GetBotInfoRes, err error)

func (RemoteClient) GetDefaultTeamChannels

func (c RemoteClient) GetDefaultTeamChannels(ctx context.Context, teamID keybase1.TeamID) (res GetDefaultTeamChannelsRes, err error)

func (RemoteClient) GetExternalAPIKeys

func (c RemoteClient) GetExternalAPIKeys(ctx context.Context, typs []ExternalAPIKeyTyp) (res []ExternalAPIKey, err error)

func (RemoteClient) GetGlobalAppNotificationSettings added in v1.0.27

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 added in v1.0.19

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

func (RemoteClient) GetLastActiveAt

func (c RemoteClient) GetLastActiveAt(ctx context.Context, __arg GetLastActiveAtArg) (res GetLastActiveAtRes, err error)

func (RemoteClient) GetMessageBefore added in v1.0.40

func (c RemoteClient) GetMessageBefore(ctx context.Context, __arg GetMessageBeforeArg) (res GetMessageBeforeRes, err error)

func (RemoteClient) GetMessagesRemote

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

func (RemoteClient) GetPublicConversations added in v1.0.19

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

func (RemoteClient) GetRecentJoins

func (c RemoteClient) GetRecentJoins(ctx context.Context, convID ConversationID) (res GetRecentJoinsRes, err error)

func (RemoteClient) GetS3Params

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

func (RemoteClient) GetTLFConversations added in v1.0.27

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 added in v1.0.19

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

func (RemoteClient) GetUnreadlineRemote

func (c RemoteClient) GetUnreadlineRemote(ctx context.Context, __arg GetUnreadlineRemoteArg) (res GetUnreadlineRemoteRes, err error)

func (RemoteClient) JoinConversation added in v1.0.27

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

func (RemoteClient) LeaveConversation added in v1.0.27

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 added in v1.0.34

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

func (RemoteClient) RefreshParticipantsRemote

func (c RemoteClient) RefreshParticipantsRemote(ctx context.Context, __arg RefreshParticipantsRemoteArg) (res RefreshParticipantsRemoteRes, err error)

func (RemoteClient) RegisterSharePost

func (c RemoteClient) RegisterSharePost(ctx context.Context, __arg RegisterSharePostArg) (err error)

func (RemoteClient) RemoteNotificationSuccessful added in v1.0.27

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

func (RemoteClient) RetentionSweepConv added in v1.0.42

func (c RemoteClient) RetentionSweepConv(ctx context.Context, convID ConversationID) (res SweepRes, err error)

func (RemoteClient) S3Sign

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

func (RemoteClient) ServerNow

func (c RemoteClient) ServerNow(ctx context.Context) (res ServerNowRes, err error)

func (RemoteClient) SetAppNotificationSettings added in v1.0.27

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

func (RemoteClient) SetConvMinWriterRole

func (c RemoteClient) SetConvMinWriterRole(ctx context.Context, __arg SetConvMinWriterRoleArg) (res SetConvMinWriterRoleRes, err error)

func (RemoteClient) SetConvRetention added in v1.0.40

func (c RemoteClient) SetConvRetention(ctx context.Context, __arg SetConvRetentionArg) (res SetRetentionRes, err error)

func (RemoteClient) SetConversationStatus

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

func (RemoteClient) SetDefaultTeamChannels

func (c RemoteClient) SetDefaultTeamChannels(ctx context.Context, __arg SetDefaultTeamChannelsArg) (res SetDefaultTeamChannelsRes, err error)

func (RemoteClient) SetGlobalAppNotificationSettings added in v1.0.27

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

func (RemoteClient) SetTeamRetention added in v1.0.40

func (c RemoteClient) SetTeamRetention(ctx context.Context, __arg SetTeamRetentionArg) (res SetRetentionRes, err error)

func (RemoteClient) SyncAll added in v1.0.21

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

func (RemoteClient) SyncChat added in v1.0.21

func (c RemoteClient) SyncChat(ctx context.Context, __arg SyncChatArg) (res SyncChatRes, err error)

func (RemoteClient) SyncInbox added in v1.0.21

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

func (RemoteClient) TeamIDOfConv

func (c RemoteClient) TeamIDOfConv(ctx context.Context, convID ConversationID) (res *keybase1.TeamID, err error)

func (RemoteClient) TlfFinalize

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

func (RemoteClient) TlfResolve added in v1.0.19

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

func (RemoteClient) UpdateTypingRemote added in v1.0.27

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

func (RemoteClient) UpgradeKBFSToImpteam added in v1.0.41

func (c RemoteClient) UpgradeKBFSToImpteam(ctx context.Context, __arg UpgradeKBFSToImpteamArg) (err error)

type RemoteInterface

type RemoteInterface interface {
	GetInboxRemote(context.Context, GetInboxRemoteArg) (GetInboxRemoteRes, error)
	GetThreadRemote(context.Context, GetThreadRemoteArg) (GetThreadRemoteRes, error)
	GetUnreadlineRemote(context.Context, GetUnreadlineRemoteArg) (GetUnreadlineRemoteRes, 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, SyncChatArg) (SyncChatRes, error)
	SyncAll(context.Context, SyncAllArg) (SyncAllResult, error)
	TlfFinalize(context.Context, TlfFinalizeArg) error
	TlfResolve(context.Context, TlfResolveArg) 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)
	GetMessageBefore(context.Context, GetMessageBeforeArg) (GetMessageBeforeRes, 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
	SetConvRetention(context.Context, SetConvRetentionArg) (SetRetentionRes, error)
	SetTeamRetention(context.Context, SetTeamRetentionArg) (SetRetentionRes, error)
	SetConvMinWriterRole(context.Context, SetConvMinWriterRoleArg) (SetConvMinWriterRoleRes, error)
	RetentionSweepConv(context.Context, ConversationID) (SweepRes, error)
	UpgradeKBFSToImpteam(context.Context, UpgradeKBFSToImpteamArg) error
	RegisterSharePost(context.Context, RegisterSharePostArg) error
	FailSharePost(context.Context, FailSharePostArg) error
	BroadcastGregorMessageToConv(context.Context, BroadcastGregorMessageToConvArg) error
	TeamIDOfConv(context.Context, ConversationID) (*keybase1.TeamID, error)
	ServerNow(context.Context) (ServerNowRes, error)
	GetExternalAPIKeys(context.Context, []ExternalAPIKeyTyp) ([]ExternalAPIKey, error)
	AdvertiseBotCommands(context.Context, []RemoteBotCommandsAdvertisement) (AdvertiseBotCommandsRes, error)
	ClearBotCommands(context.Context) (ClearBotCommandsRes, error)
	GetBotInfo(context.Context, GetBotInfoArg) (GetBotInfoRes, error)
	GetDefaultTeamChannels(context.Context, keybase1.TeamID) (GetDefaultTeamChannelsRes, error)
	SetDefaultTeamChannels(context.Context, SetDefaultTeamChannelsArg) (SetDefaultTeamChannelsRes, error)
	GetRecentJoins(context.Context, ConversationID) (GetRecentJoinsRes, error)
	RefreshParticipantsRemote(context.Context, RefreshParticipantsRemoteArg) (RefreshParticipantsRemoteRes, error)
	GetLastActiveAt(context.Context, GetLastActiveAtArg) (GetLastActiveAtRes, error)
}

type RemoteNotificationSuccessfulArg added in v1.0.27

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

type RemoteUserTypingUpdate added in v1.0.27

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"`
	TeamType TeamType         `codec:"t" json:"teamType"`
}

func (RemoteUserTypingUpdate) DeepCopy added in v1.0.27

type RemoveBotMemberArg

type RemoveBotMemberArg struct {
	ConvID   ConversationID `codec:"convID" json:"convID"`
	Username string         `codec:"username" json:"username"`
}

type RequestInboxLayoutArg

type RequestInboxLayoutArg struct {
	ReselectMode InboxLayoutReselectMode `codec:"reselectMode" json:"reselectMode"`
}

type RequestInboxSmallIncreaseArg

type RequestInboxSmallIncreaseArg struct {
}

type RequestInboxSmallResetArg

type RequestInboxSmallResetArg struct {
}

type RequestInboxUnboxArg

type RequestInboxUnboxArg struct {
	ConvIDs []ConversationID `codec:"convIDs" json:"convIDs"`
}

type ResetConvMember

type ResetConvMember struct {
	Username string         `codec:"username" json:"username"`
	Uid      gregor1.UID    `codec:"uid" json:"uid"`
	Conv     ConversationID `codec:"conv" json:"conv"`
}

func (ResetConvMember) DeepCopy

func (o ResetConvMember) DeepCopy() ResetConvMember

type ResetConvMemberAPI

type ResetConvMemberAPI struct {
	ConversationID ConvIDStr `codec:"conversationID" json:"conversationID"`
	Username       string    `codec:"username" json:"username"`
}

func (ResetConvMemberAPI) DeepCopy

type ResolveMaybeMentionArg

type ResolveMaybeMentionArg struct {
	Mention MaybeMention `codec:"mention" json:"mention"`
}

type ResolveUnfurlPromptArg

type ResolveUnfurlPromptArg struct {
	ConvID           ConversationID               `codec:"convID" json:"convID"`
	MsgID            MessageID                    `codec:"msgID" json:"msgID"`
	Result           UnfurlPromptResult           `codec:"result" json:"result"`
	IdentifyBehavior keybase1.TLFIdentifyBehavior `codec:"identifyBehavior" json:"identifyBehavior"`
}

type RetentionPolicy added in v1.0.40

type RetentionPolicy struct {
	Typ__       RetentionPolicyType `codec:"typ" json:"typ"`
	Retain__    *RpRetain           `codec:"retain,omitempty" json:"retain,omitempty"`
	Expire__    *RpExpire           `codec:"expire,omitempty" json:"expire,omitempty"`
	Inherit__   *RpInherit          `codec:"inherit,omitempty" json:"inherit,omitempty"`
	Ephemeral__ *RpEphemeral        `codec:"ephemeral,omitempty" json:"ephemeral,omitempty"`
}

func NewRetentionPolicyWithEphemeral

func NewRetentionPolicyWithEphemeral(v RpEphemeral) RetentionPolicy

func NewRetentionPolicyWithExpire added in v1.0.40

func NewRetentionPolicyWithExpire(v RpExpire) RetentionPolicy

func NewRetentionPolicyWithInherit added in v1.0.40

func NewRetentionPolicyWithInherit(v RpInherit) RetentionPolicy

func NewRetentionPolicyWithRetain added in v1.0.40

func NewRetentionPolicyWithRetain(v RpRetain) RetentionPolicy

func (RetentionPolicy) DeepCopy added in v1.0.40

func (o RetentionPolicy) DeepCopy() RetentionPolicy

func (RetentionPolicy) Ephemeral

func (o RetentionPolicy) Ephemeral() (res RpEphemeral)

func (RetentionPolicy) Eq

func (RetentionPolicy) Expire added in v1.0.40

func (o RetentionPolicy) Expire() (res RpExpire)

func (RetentionPolicy) HumanSummary

func (p RetentionPolicy) HumanSummary() (summary string)

func (RetentionPolicy) Inherit added in v1.0.40

func (o RetentionPolicy) Inherit() (res RpInherit)

func (RetentionPolicy) Retain added in v1.0.40

func (o RetentionPolicy) Retain() (res RpRetain)

func (RetentionPolicy) Summary added in v1.0.40

func (p RetentionPolicy) Summary() string

func (*RetentionPolicy) Typ added in v1.0.40

func (o *RetentionPolicy) Typ() (ret RetentionPolicyType, err error)

type RetentionPolicyType added in v1.0.40

type RetentionPolicyType int
const (
	RetentionPolicyType_NONE      RetentionPolicyType = 0
	RetentionPolicyType_RETAIN    RetentionPolicyType = 1
	RetentionPolicyType_EXPIRE    RetentionPolicyType = 2
	RetentionPolicyType_INHERIT   RetentionPolicyType = 3
	RetentionPolicyType_EPHEMERAL RetentionPolicyType = 4
)

func (RetentionPolicyType) DeepCopy added in v1.0.40

func (RetentionPolicyType) String added in v1.0.40

func (e RetentionPolicyType) String() string

type RetentionSweepConvArg added in v1.0.42

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

type RetryPostArg added in v1.0.19

type RetryPostArg struct {
	OutboxID         OutboxID                      `codec:"outboxID" json:"outboxID"`
	IdentifyBehavior *keybase1.TLFIdentifyBehavior `codec:"identifyBehavior,omitempty" json:"identifyBehavior,omitempty"`
}

type RpEphemeral

type RpEphemeral struct {
	Age gregor1.DurationSec `codec:"age" json:"age"`
}

func (RpEphemeral) DeepCopy

func (o RpEphemeral) DeepCopy() RpEphemeral

type RpExpire added in v1.0.40

type RpExpire struct {
	Age gregor1.DurationSec `codec:"age" json:"age"`
}

func (RpExpire) DeepCopy added in v1.0.40

func (o RpExpire) DeepCopy() RpExpire

type RpInherit added in v1.0.40

type RpInherit struct {
}

func (RpInherit) DeepCopy added in v1.0.40

func (o RpInherit) DeepCopy() RpInherit

type RpRetain added in v1.0.40

type RpRetain struct {
}

func (RpRetain) DeepCopy added in v1.0.40

func (o RpRetain) DeepCopy() RpRetain

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 added in v1.0.27

func (o S3Params) DeepCopy() S3Params

type S3SignArg

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

type SaveUnfurlSettingsArg

type SaveUnfurlSettingsArg struct {
	Mode      UnfurlMode `codec:"mode" json:"mode"`
	Whitelist []string   `codec:"whitelist" json:"whitelist"`
}

type SealedData added in v1.0.19

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

func (*SealedData) AsEncrypted added in v1.0.19

func (d *SealedData) AsEncrypted() EncryptedData

func (*SealedData) AsSignEncrypted added in v1.0.19

func (d *SealedData) AsSignEncrypted() SignEncryptedData

func (SealedData) DeepCopy added in v1.0.27

func (o SealedData) DeepCopy() SealedData

type SearchInboxArg

type SearchInboxArg struct {
	SessionID        int                          `codec:"sessionID" json:"sessionID"`
	Query            string                       `codec:"query" json:"query"`
	Opts             SearchOpts                   `codec:"opts" json:"opts"`
	NamesOnly        bool                         `codec:"namesOnly" json:"namesOnly"`
	IdentifyBehavior keybase1.TLFIdentifyBehavior `codec:"identifyBehavior" json:"identifyBehavior"`
}

type SearchInboxRes

type SearchInboxRes struct {
	Offline          bool                          `codec:"offline" json:"offline"`
	Res              *ChatSearchInboxResults       `codec:"res,omitempty" json:"res,omitempty"`
	RateLimits       []RateLimit                   `codec:"rateLimits" json:"rateLimits"`
	IdentifyFailures []keybase1.TLFIdentifyFailure `codec:"identifyFailures" json:"identifyFailures"`
}

func (SearchInboxRes) DeepCopy

func (o SearchInboxRes) DeepCopy() SearchInboxRes

func (*SearchInboxRes) GetRateLimit

func (r *SearchInboxRes) GetRateLimit() []RateLimit

func (*SearchInboxRes) SetOffline

func (r *SearchInboxRes) SetOffline()

func (*SearchInboxRes) SetRateLimits

func (r *SearchInboxRes) SetRateLimits(rl []RateLimit)

type SearchInboxResOutput

type SearchInboxResOutput struct {
	Results          *ChatSearchInboxResults       `codec:"results,omitempty" json:"results,omitempty"`
	IdentifyFailures []keybase1.TLFIdentifyFailure `codec:"identifyFailures,omitempty" json:"identify_failures,omitempty"`
	RateLimits       []RateLimitRes                `codec:"rateLimits,omitempty" json:"ratelimits,omitempty"`
}

func (SearchInboxResOutput) DeepCopy

type SearchOpts

type SearchOpts struct {
	IsRegex           bool            `codec:"isRegex" json:"isRegex"`
	SentBy            string          `codec:"sentBy" json:"sentBy"`
	SentTo            string          `codec:"sentTo" json:"sentTo"`
	MatchMentions     bool            `codec:"matchMentions" json:"matchMentions"`
	SentBefore        gregor1.Time    `codec:"sentBefore" json:"sentBefore"`
	SentAfter         gregor1.Time    `codec:"sentAfter" json:"sentAfter"`
	MaxHits           int             `codec:"maxHits" json:"maxHits"`
	MaxMessages       int             `codec:"maxMessages" json:"maxMessages"`
	BeforeContext     int             `codec:"beforeContext" json:"beforeContext"`
	AfterContext      int             `codec:"afterContext" json:"afterContext"`
	InitialPagination *Pagination     `codec:"initialPagination,omitempty" json:"initialPagination,omitempty"`
	ReindexMode       ReIndexingMode  `codec:"reindexMode" json:"reindexMode"`
	MaxConvsSearched  int             `codec:"maxConvsSearched" json:"maxConvsSearched"`
	MaxConvsHit       int             `codec:"maxConvsHit" json:"maxConvsHit"`
	ConvID            *ConversationID `codec:"convID,omitempty" json:"convID,omitempty"`
	MaxNameConvs      int             `codec:"maxNameConvs" json:"maxNameConvs"`
	MaxTeams          int             `codec:"maxTeams" json:"maxTeams"`
}

func (SearchOpts) DeepCopy

func (o SearchOpts) DeepCopy() SearchOpts

func (SearchOpts) Matches

func (o SearchOpts) Matches(msg MessageUnboxed) bool

type SearchRegexpArg

type SearchRegexpArg struct {
	SessionID        int                          `codec:"sessionID" json:"sessionID"`
	ConvID           ConversationID               `codec:"convID" json:"convID"`
	Query            string                       `codec:"query" json:"query"`
	Opts             SearchOpts                   `codec:"opts" json:"opts"`
	IdentifyBehavior keybase1.TLFIdentifyBehavior `codec:"identifyBehavior" json:"identifyBehavior"`
}

type SearchRegexpRes

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

func (SearchRegexpRes) DeepCopy

func (o SearchRegexpRes) DeepCopy() SearchRegexpRes

func (*SearchRegexpRes) GetRateLimit

func (r *SearchRegexpRes) GetRateLimit() []RateLimit

func (*SearchRegexpRes) SetOffline

func (r *SearchRegexpRes) SetOffline()

func (*SearchRegexpRes) SetRateLimits

func (r *SearchRegexpRes) SetRateLimits(rl []RateLimit)

type SendRes

type SendRes struct {
	Message          string                        `codec:"message" json:"message"`
	MessageID        *MessageID                    `codec:"messageID,omitempty" json:"id,omitempty"`
	OutboxID         *OutboxID                     `codec:"outboxID,omitempty" json:"outbox_id,omitempty"`
	IdentifyFailures []keybase1.TLFIdentifyFailure `codec:"identifyFailures,omitempty" json:"identify_failures,omitempty"`
	RateLimits       []RateLimitRes                `codec:"rateLimits,omitempty" json:"ratelimits,omitempty"`
}

func (SendRes) DeepCopy

func (o SendRes) DeepCopy() SendRes

type SenderPrepareOptions

type SenderPrepareOptions struct {
	SkipTopicNameState bool       `codec:"skipTopicNameState" json:"skipTopicNameState"`
	ReplyTo            *MessageID `codec:"replyTo,omitempty" json:"replyTo,omitempty"`
}

func (SenderPrepareOptions) DeepCopy

type SenderSendOptions

type SenderSendOptions struct {
	JoinMentionsAs *ConversationMemberStatus `codec:"joinMentionsAs,omitempty" json:"joinMentionsAs,omitempty"`
}

func (SenderSendOptions) DeepCopy

func (o SenderSendOptions) DeepCopy() SenderSendOptions

func (*SenderSendOptions) GetJoinMentionsAs

func (o *SenderSendOptions) GetJoinMentionsAs() *ConversationMemberStatus

type ServerCacheVers added in v1.0.21

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

func (ServerCacheVers) DeepCopy added in v1.0.27

func (o ServerCacheVers) DeepCopy() ServerCacheVers

type ServerNowArg

type ServerNowArg struct {
}

type ServerNowRes

type ServerNowRes struct {
	RateLimit *RateLimit   `codec:"rateLimit,omitempty" json:"rateLimit,omitempty"`
	Now       gregor1.Time `codec:"now" json:"now"`
}

func (ServerNowRes) DeepCopy

func (o ServerNowRes) DeepCopy() ServerNowRes

type SetAppNotificationSettingsArg added in v1.0.27

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

type SetAppNotificationSettingsInfo added in v1.0.27

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

func (SetAppNotificationSettingsInfo) DeepCopy added in v1.0.27

type SetAppNotificationSettingsLocalArg added in v1.0.27

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

type SetAppNotificationSettingsLocalRes added in v1.0.27

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

func (SetAppNotificationSettingsLocalRes) DeepCopy added in v1.0.27

func (*SetAppNotificationSettingsLocalRes) GetRateLimit

func (r *SetAppNotificationSettingsLocalRes) GetRateLimit() []RateLimit

func (*SetAppNotificationSettingsLocalRes) SetOffline added in v1.0.27

func (r *SetAppNotificationSettingsLocalRes) SetOffline()

func (*SetAppNotificationSettingsLocalRes) SetRateLimits

func (r *SetAppNotificationSettingsLocalRes) SetRateLimits(rl []RateLimit)

type SetAppNotificationSettingsPayload added in v1.0.27

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"`
	TopicType    TopicType                    `codec:"topicType" json:"topicType"`
	UnreadUpdate *UnreadUpdate                `codec:"unreadUpdate,omitempty" json:"unreadUpdate,omitempty"`
}

func (SetAppNotificationSettingsPayload) DeepCopy added in v1.0.27

type SetAppNotificationSettingsRes added in v1.0.27

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

func (SetAppNotificationSettingsRes) DeepCopy added in v1.0.27

func (*SetAppNotificationSettingsRes) GetRateLimit

func (r *SetAppNotificationSettingsRes) GetRateLimit() (res []RateLimit)

func (*SetAppNotificationSettingsRes) SetRateLimits

func (r *SetAppNotificationSettingsRes) SetRateLimits(rl []RateLimit)

type SetBotMemberSettingsArg

type SetBotMemberSettingsArg struct {
	ConvID      ConversationID           `codec:"convID" json:"convID"`
	Username    string                   `codec:"username" json:"username"`
	BotSettings keybase1.TeamBotSettings `codec:"botSettings" json:"botSettings"`
}

type SetConvMinWriterRoleArg

type SetConvMinWriterRoleArg struct {
	ConvID ConversationID    `codec:"convID" json:"convID"`
	Role   keybase1.TeamRole `codec:"role" json:"role"`
}

type SetConvMinWriterRoleLocalArg

type SetConvMinWriterRoleLocalArg struct {
	ConvID ConversationID    `codec:"convID" json:"convID"`
	Role   keybase1.TeamRole `codec:"role" json:"role"`
}

type SetConvMinWriterRoleRes

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

func (SetConvMinWriterRoleRes) DeepCopy

type SetConvRetentionArg added in v1.0.40

type SetConvRetentionArg struct {
	ConvID       ConversationID  `codec:"convID" json:"convID"`
	Policy       RetentionPolicy `codec:"policy" json:"policy"`
	SweepChannel uint64          `codec:"sweepChannel" json:"sweepChannel"`
}

type SetConvRetentionLocalArg added in v1.0.40

type SetConvRetentionLocalArg struct {
	ConvID ConversationID  `codec:"convID" json:"convID"`
	Policy RetentionPolicy `codec:"policy" json:"policy"`
}

type SetConvRetentionUpdate added in v1.0.41

type SetConvRetentionUpdate struct {
	InboxVers InboxVers       `codec:"inboxVers" json:"inboxVers"`
	ConvID    ConversationID  `codec:"convID" json:"convID"`
	Policy    RetentionPolicy `codec:"policy" json:"policy"`
}

func (SetConvRetentionUpdate) DeepCopy added in v1.0.41

type SetConvSettingsUpdate

type SetConvSettingsUpdate struct {
	InboxVers    InboxVers             `codec:"inboxVers" json:"inboxVers"`
	ConvID       ConversationID        `codec:"convID" json:"convID"`
	ConvSettings *ConversationSettings `codec:"convSettings,omitempty" json:"convSettings,omitempty"`
}

func (SetConvSettingsUpdate) 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 added in v1.0.27

func (*SetConversationStatusLocalRes) GetRateLimit

func (r *SetConversationStatusLocalRes) GetRateLimit() []RateLimit

func (*SetConversationStatusLocalRes) SetRateLimits

func (r *SetConversationStatusLocalRes) SetRateLimits(rl []RateLimit)

type SetConversationStatusRes

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

func (SetConversationStatusRes) DeepCopy added in v1.0.27

func (*SetConversationStatusRes) GetRateLimit

func (r *SetConversationStatusRes) GetRateLimit() (res []RateLimit)

func (*SetConversationStatusRes) SetRateLimits

func (r *SetConversationStatusRes) SetRateLimits(rl []RateLimit)

type SetDefaultTeamChannelsArg

type SetDefaultTeamChannelsArg struct {
	TeamID keybase1.TeamID  `codec:"teamID" json:"teamID"`
	Convs  []ConversationID `codec:"convs" json:"convs"`
}

type SetDefaultTeamChannelsLocalArg

type SetDefaultTeamChannelsLocalArg struct {
	TeamName string      `codec:"teamName" json:"teamName"`
	Convs    []ConvIDStr `codec:"convs" json:"convs"`
}

type SetDefaultTeamChannelsLocalRes

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

func (SetDefaultTeamChannelsLocalRes) DeepCopy

func (*SetDefaultTeamChannelsLocalRes) GetRateLimit

func (r *SetDefaultTeamChannelsLocalRes) GetRateLimit() (res []RateLimit)

func (*SetDefaultTeamChannelsLocalRes) SetRateLimits

func (r *SetDefaultTeamChannelsLocalRes) SetRateLimits(rl []RateLimit)

type SetDefaultTeamChannelsRes

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

func (SetDefaultTeamChannelsRes) DeepCopy

type SetGlobalAppNotificationSettingsArg added in v1.0.27

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

type SetGlobalAppNotificationSettingsLocalArg added in v1.0.27

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

type SetRetentionRes added in v1.0.40

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

func (SetRetentionRes) DeepCopy added in v1.0.40

func (o SetRetentionRes) DeepCopy() SetRetentionRes

func (*SetRetentionRes) GetRateLimit

func (r *SetRetentionRes) GetRateLimit() (res []RateLimit)

func (*SetRetentionRes) SetRateLimits

func (r *SetRetentionRes) SetRateLimits(rl []RateLimit)

type SetStatusInfo added in v1.0.19

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 added in v1.0.27

func (o SetStatusInfo) DeepCopy() SetStatusInfo

type SetStatusPayload added in v1.0.19

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"`
	TopicType    TopicType          `codec:"topicType" json:"topicType"`
	UnreadUpdate *UnreadUpdate      `codec:"unreadUpdate,omitempty" json:"unreadUpdate,omitempty"`
}

func (SetStatusPayload) DeepCopy added in v1.0.27

func (o SetStatusPayload) DeepCopy() SetStatusPayload

type SetTeamRetentionArg added in v1.0.40

type SetTeamRetentionArg struct {
	TeamID       keybase1.TeamID `codec:"teamID" json:"teamID"`
	Policy       RetentionPolicy `codec:"policy" json:"policy"`
	SweepChannel uint64          `codec:"sweepChannel" json:"sweepChannel"`
}

type SetTeamRetentionLocalArg added in v1.0.40

type SetTeamRetentionLocalArg struct {
	TeamID keybase1.TeamID `codec:"teamID" json:"teamID"`
	Policy RetentionPolicy `codec:"policy" json:"policy"`
}

type SetTeamRetentionUpdate added in v1.0.41

type SetTeamRetentionUpdate struct {
	InboxVers InboxVers       `codec:"inboxVers" json:"inboxVers"`
	TeamID    keybase1.TeamID `codec:"teamID" json:"teamID"`
	Policy    RetentionPolicy `codec:"policy" json:"policy"`
}

func (SetTeamRetentionUpdate) DeepCopy added in v1.0.41

type SetWelcomeMessageArg

type SetWelcomeMessageArg struct {
	TeamID  keybase1.TeamID `codec:"teamID" json:"teamID"`
	Message WelcomeMessage  `codec:"message" json:"message"`
}

type SignEncryptedData added in v1.0.19

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

func (*SignEncryptedData) AsSealed added in v1.0.19

func (d *SignEncryptedData) AsSealed() SealedData

func (SignEncryptedData) DeepCopy added in v1.0.27

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 added in v1.0.27

func (o SignatureInfo) DeepCopy() SignatureInfo

type SimpleSearchInboxConvNamesArg

type SimpleSearchInboxConvNamesArg struct {
	Query string `codec:"query" json:"query"`
}

type SimpleSearchInboxConvNamesHit

type SimpleSearchInboxConvNamesHit struct {
	Name    string         `codec:"name" json:"name"`
	ConvID  ConversationID `codec:"convID" json:"convID"`
	IsTeam  bool           `codec:"isTeam" json:"isTeam"`
	Parts   []string       `codec:"parts" json:"parts"`
	TlfName string         `codec:"tlfName" json:"tlfName"`
}

func (SimpleSearchInboxConvNamesHit) DeepCopy

type SnippetDecoration

type SnippetDecoration int
const (
	SnippetDecoration_NONE                   SnippetDecoration = 0
	SnippetDecoration_PENDING_MESSAGE        SnippetDecoration = 1
	SnippetDecoration_FAILED_PENDING_MESSAGE SnippetDecoration = 2
	SnippetDecoration_EXPLODING_MESSAGE      SnippetDecoration = 3
	SnippetDecoration_EXPLODED_MESSAGE       SnippetDecoration = 4
	SnippetDecoration_AUDIO_ATTACHMENT       SnippetDecoration = 5
	SnippetDecoration_VIDEO_ATTACHMENT       SnippetDecoration = 6
	SnippetDecoration_PHOTO_ATTACHMENT       SnippetDecoration = 7
	SnippetDecoration_FILE_ATTACHMENT        SnippetDecoration = 8
	SnippetDecoration_STELLAR_RECEIVED       SnippetDecoration = 9
	SnippetDecoration_STELLAR_SENT           SnippetDecoration = 10
	SnippetDecoration_PINNED_MESSAGE         SnippetDecoration = 11
)

func (SnippetDecoration) DeepCopy

func (o SnippetDecoration) DeepCopy() SnippetDecoration

func (SnippetDecoration) String

func (e SnippetDecoration) String() string

func (SnippetDecoration) ToEmoji

func (s SnippetDecoration) ToEmoji() string

type StaleUpdateType added in v1.0.27

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

func (StaleUpdateType) DeepCopy added in v1.0.27

func (o StaleUpdateType) DeepCopy() StaleUpdateType

func (StaleUpdateType) String added in v1.0.27

func (e StaleUpdateType) String() string

type StaticConfig

type StaticConfig struct {
	DeletableByDeleteHistory []MessageType         `codec:"deletableByDeleteHistory" json:"deletableByDeleteHistory"`
	BuiltinCommands          []BuiltinCommandGroup `codec:"builtinCommands" json:"builtinCommands"`
}

func (StaticConfig) DeepCopy

func (o StaticConfig) DeepCopy() StaticConfig

type SubteamRenameUpdate

type SubteamRenameUpdate struct {
	ConvIDs   []ConversationID `codec:"convIDs" json:"convIDs"`
	InboxVers InboxVers        `codec:"inboxVers" json:"inboxVers"`
}

func (SubteamRenameUpdate) DeepCopy

type SweepRes added in v1.0.42

type SweepRes struct {
	FoundTask       bool    `codec:"foundTask" json:"foundTask"`
	DeletedMessages bool    `codec:"deletedMessages" json:"deletedMessages"`
	Expunge         Expunge `codec:"expunge" json:"expunge"`
}

func (SweepRes) DeepCopy added in v1.0.42

func (o SweepRes) DeepCopy() SweepRes

type SyncAllArg added in v1.0.21

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"`
	SummarizeMaxMsgs bool                  `codec:"summarizeMaxMsgs" json:"summarizeMaxMsgs"`
	ParticipantsMode InboxParticipantsMode `codec:"participantsMode" json:"participantsMode"`
}

type SyncAllNotificationRes added in v1.0.21

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 added in v1.0.21

func NewSyncAllNotificationResWithIncremental(v gregor1.SyncResult) SyncAllNotificationRes

func NewSyncAllNotificationResWithState added in v1.0.21

func NewSyncAllNotificationResWithState(v gregor1.State) SyncAllNotificationRes

func (SyncAllNotificationRes) DeepCopy added in v1.0.27

func (SyncAllNotificationRes) Incremental added in v1.0.21

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

func (SyncAllNotificationRes) State added in v1.0.21

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

func (*SyncAllNotificationRes) Typ added in v1.0.21

type SyncAllNotificationType added in v1.0.21

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

func (SyncAllNotificationType) DeepCopy added in v1.0.27

func (SyncAllNotificationType) String added in v1.0.21

func (e SyncAllNotificationType) String() string

type SyncAllProtVers added in v1.0.34

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

func (SyncAllProtVers) DeepCopy added in v1.0.34

func (o SyncAllProtVers) DeepCopy() SyncAllProtVers

func (SyncAllProtVers) String added in v1.0.34

func (e SyncAllProtVers) String() string

type SyncAllResult added in v1.0.21

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 added in v1.0.27

func (o SyncAllResult) DeepCopy() SyncAllResult

type SyncChatArg added in v1.0.21

type SyncChatArg struct {
	Vers             InboxVers             `codec:"vers" json:"vers"`
	SummarizeMaxMsgs bool                  `codec:"summarizeMaxMsgs" json:"summarizeMaxMsgs"`
	ParticipantsMode InboxParticipantsMode `codec:"participantsMode" json:"participantsMode"`
}

type SyncChatRes added in v1.0.21

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

func (SyncChatRes) DeepCopy added in v1.0.27

func (o SyncChatRes) DeepCopy() SyncChatRes

type SyncInboxArg added in v1.0.21

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

type SyncInboxRes added in v1.0.21

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

func NewSyncInboxResWithClear added in v1.0.21

func NewSyncInboxResWithClear() SyncInboxRes

func NewSyncInboxResWithCurrent added in v1.0.21

func NewSyncInboxResWithCurrent() SyncInboxRes

func NewSyncInboxResWithIncremental added in v1.0.21

func NewSyncInboxResWithIncremental(v SyncIncrementalRes) SyncInboxRes

func (SyncInboxRes) DeepCopy added in v1.0.27

func (o SyncInboxRes) DeepCopy() SyncInboxRes

func (SyncInboxRes) Incremental added in v1.0.21

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

func (*SyncInboxRes) Typ added in v1.0.21

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

type SyncInboxResType added in v1.0.21

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

func (SyncInboxResType) DeepCopy added in v1.0.27

func (o SyncInboxResType) DeepCopy() SyncInboxResType

func (SyncInboxResType) String added in v1.0.21

func (e SyncInboxResType) String() string

type SyncIncrementalRes added in v1.0.21

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

func (SyncIncrementalRes) DeepCopy added in v1.0.27

type TLFConvOrdinal added in v1.0.27

type TLFConvOrdinal uint

func (TLFConvOrdinal) DeepCopy added in v1.0.27

func (o TLFConvOrdinal) DeepCopy() TLFConvOrdinal

func (TLFConvOrdinal) Int added in v1.0.27

func (o TLFConvOrdinal) Int() int

func (TLFConvOrdinal) IsFirst added in v1.0.27

func (o TLFConvOrdinal) IsFirst() bool

type TLFFinalizeUpdate added in v1.0.19

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

func (TLFFinalizeUpdate) DeepCopy added in v1.0.27

func (o TLFFinalizeUpdate) DeepCopy() TLFFinalizeUpdate

type TLFID

type TLFID []byte

func MakeTLFID

func MakeTLFID(val string) (TLFID, error)

func TeamIDToTLFID added in v1.0.40

func TeamIDToTLFID(teamID keybase1.TeamID) (TLFID, error)

func (TLFID) Bytes added in v1.0.27

func (id TLFID) Bytes() []byte

func (TLFID) DeepCopy added in v1.0.27

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) IsNil added in v1.0.40

func (id TLFID) IsNil() bool

func (TLFID) IsTeamID

func (id TLFID) IsTeamID() bool

func (TLFID) String

func (id TLFID) String() string

func (TLFID) TLFIDStr

func (id TLFID) TLFIDStr() TLFIDStr

type TLFIDStr

type TLFIDStr string

func (TLFIDStr) DeepCopy

func (o TLFIDStr) DeepCopy() TLFIDStr

func (TLFIDStr) String

func (i TLFIDStr) String() string

type TLFResolveUpdate added in v1.0.19

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

func (TLFResolveUpdate) DeepCopy added in v1.0.27

func (o TLFResolveUpdate) DeepCopy() TLFResolveUpdate

type TeamIDFromTLFNameArg

type TeamIDFromTLFNameArg struct {
	TlfName     string                  `codec:"tlfName" json:"tlfName"`
	MembersType ConversationMembersType `codec:"membersType" json:"membersType"`
	TlfPublic   bool                    `codec:"tlfPublic" json:"tlfPublic"`
}

type TeamIDOfConvArg

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

type TeamMember

type TeamMember struct {
	Uid    gregor1.UID               `codec:"uid" json:"uid"`
	Role   keybase1.TeamRole         `codec:"role" json:"role"`
	Status keybase1.TeamMemberStatus `codec:"status" json:"status"`
}

func (TeamMember) DeepCopy

func (o TeamMember) DeepCopy() TeamMember

type TeamMemberRoleUpdate

type TeamMemberRoleUpdate struct {
	TlfID TLFID             `codec:"tlfID" json:"tlfID"`
	Role  keybase1.TeamRole `codec:"role" json:"role"`
}

func (TeamMemberRoleUpdate) DeepCopy

type TeamType added in v1.0.30

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

func (TeamType) DeepCopy added in v1.0.30

func (o TeamType) DeepCopy() TeamType

func (TeamType) String added in v1.0.30

func (e TeamType) String() string

type TeamTypeInfo added in v1.0.30

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 added in v1.0.30

func (o TeamTypeInfo) DeepCopy() TeamTypeInfo

type TeamTypePayload added in v1.0.30

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"`
	TopicType    TopicType      `codec:"topicType" json:"topicType"`
	UnreadUpdate *UnreadUpdate  `codec:"unreadUpdate,omitempty" json:"unreadUpdate,omitempty"`
}

func (TeamTypePayload) DeepCopy added in v1.0.30

func (o TeamTypePayload) DeepCopy() TeamTypePayload

type TextPayment

type TextPayment struct {
	Username    string            `codec:"username" json:"username"`
	PaymentText string            `codec:"paymentText" json:"paymentText"`
	Result      TextPaymentResult `codec:"result" json:"result"`
}

func (TextPayment) DeepCopy

func (o TextPayment) DeepCopy() TextPayment

type TextPaymentResult

type TextPaymentResult struct {
	ResultTyp__ TextPaymentResultTyp `codec:"resultTyp" json:"resultTyp"`
	Error__     *string              `codec:"error,omitempty" json:"error,omitempty"`
	Sent__      *stellar1.PaymentID  `codec:"sent,omitempty" json:"sent,omitempty"`
}

func NewTextPaymentResultWithError

func NewTextPaymentResultWithError(v string) TextPaymentResult

func NewTextPaymentResultWithSent

func NewTextPaymentResultWithSent(v stellar1.PaymentID) TextPaymentResult

func (TextPaymentResult) DeepCopy

func (o TextPaymentResult) DeepCopy() TextPaymentResult

func (TextPaymentResult) Error

func (o TextPaymentResult) Error() (res string)

func (*TextPaymentResult) ResultTyp

func (o *TextPaymentResult) ResultTyp() (ret TextPaymentResultTyp, err error)

func (TextPaymentResult) Sent

func (o TextPaymentResult) Sent() (res stellar1.PaymentID)

type TextPaymentResultTyp

type TextPaymentResultTyp int
const (
	TextPaymentResultTyp_SENT  TextPaymentResultTyp = 0
	TextPaymentResultTyp_ERROR TextPaymentResultTyp = 1
)

func (TextPaymentResultTyp) DeepCopy

func (TextPaymentResultTyp) String

func (e TextPaymentResultTyp) String() string

type Thread

type Thread struct {
	Messages         []Message                     `codec:"messages" json:"messages"`
	Pagination       *Pagination                   `codec:"pagination,omitempty" json:"pagination,omitempty"`
	Offline          bool                          `codec:"offline,omitempty" json:"offline,omitempty"`
	IdentifyFailures []keybase1.TLFIdentifyFailure `codec:"identifyFailures,omitempty" json:"identify_failures,omitempty"`
	RateLimits       []RateLimitRes                `codec:"rateLimits,omitempty" json:"ratelimits,omitempty"`
}

func (Thread) DeepCopy

func (o Thread) DeepCopy() Thread

type ThreadID

type ThreadID []byte

func (ThreadID) DeepCopy added in v1.0.27

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 added in v1.0.27

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 added in v1.0.27

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"`
	ResetUID       *keybase1.UID `codec:"resetUID,omitempty" json:"resetUID,omitempty"`
}

type TlfResolveArg added in v1.0.19

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

type ToggleMessageCollapseArg

type ToggleMessageCollapseArg struct {
	ConvID   ConversationID `codec:"convID" json:"convID"`
	MsgID    MessageID      `codec:"msgID" json:"msgID"`
	Collapse bool           `codec:"collapse" json:"collapse"`
}

type TopicID

type TopicID []byte

func MakeTopicID

func MakeTopicID(val string) (TopicID, error)

func (TopicID) DeepCopy added in v1.0.27

func (o TopicID) DeepCopy() TopicID

func (TopicID) String

func (t TopicID) String() string

type TopicNameState added in v1.0.27

type TopicNameState []byte

func (TopicNameState) Bytes added in v1.0.27

func (s TopicNameState) Bytes() []byte

func (TopicNameState) DeepCopy added in v1.0.27

func (o TopicNameState) DeepCopy() TopicNameState

func (TopicNameState) Eq added in v1.0.27

type TopicType

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

func MakeTopicType

func MakeTopicType(val int64) TopicType

func (TopicType) DeepCopy added in v1.0.27

func (o TopicType) DeepCopy() TopicType

func (TopicType) String

func (t TopicType) String() string

type TriggerContactSyncArg

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

type TyperInfo added in v1.0.27

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

func (TyperInfo) DeepCopy added in v1.0.27

func (o TyperInfo) DeepCopy() TyperInfo

func (TyperInfo) String added in v1.0.27

func (t TyperInfo) String() string

type UIAssetUrlInfo added in v1.0.48

type UIAssetUrlInfo struct {
	PreviewUrl          string  `codec:"previewUrl" json:"previewUrl"`
	FullUrl             string  `codec:"fullUrl" json:"fullUrl"`
	FullUrlCached       bool    `codec:"fullUrlCached" json:"fullUrlCached"`
	MimeType            string  `codec:"mimeType" json:"mimeType"`
	VideoDuration       *string `codec:"videoDuration,omitempty" json:"videoDuration,omitempty"`
	InlineVideoPlayable bool    `codec:"inlineVideoPlayable" json:"inlineVideoPlayable"`
}

func (UIAssetUrlInfo) DeepCopy added in v1.0.48

func (o UIAssetUrlInfo) DeepCopy() UIAssetUrlInfo

type UIBotCommandsUpdateSettings

type UIBotCommandsUpdateSettings struct {
	Settings map[string]keybase1.TeamBotSettings `codec:"settings" json:"settings"`
}

func (UIBotCommandsUpdateSettings) DeepCopy

type UIBotCommandsUpdateStatus

type UIBotCommandsUpdateStatus struct {
	Typ__      UIBotCommandsUpdateStatusTyp `codec:"typ" json:"typ"`
	Uptodate__ *UIBotCommandsUpdateSettings `codec:"uptodate,omitempty" json:"uptodate,omitempty"`
}

func NewUIBotCommandsUpdateStatusWithBlank

func NewUIBotCommandsUpdateStatusWithBlank() UIBotCommandsUpdateStatus

func NewUIBotCommandsUpdateStatusWithFailed

func NewUIBotCommandsUpdateStatusWithFailed() UIBotCommandsUpdateStatus

func NewUIBotCommandsUpdateStatusWithUpdating

func NewUIBotCommandsUpdateStatusWithUpdating() UIBotCommandsUpdateStatus

func (UIBotCommandsUpdateStatus) DeepCopy

func (*UIBotCommandsUpdateStatus) Typ

func (UIBotCommandsUpdateStatus) Uptodate

type UIBotCommandsUpdateStatusTyp

type UIBotCommandsUpdateStatusTyp int
const (
	UIBotCommandsUpdateStatusTyp_UPTODATE UIBotCommandsUpdateStatusTyp = 0
	UIBotCommandsUpdateStatusTyp_UPDATING UIBotCommandsUpdateStatusTyp = 1
	UIBotCommandsUpdateStatusTyp_FAILED   UIBotCommandsUpdateStatusTyp = 2
	UIBotCommandsUpdateStatusTyp_BLANK    UIBotCommandsUpdateStatusTyp = 3
)

func (UIBotCommandsUpdateStatusTyp) DeepCopy

func (UIBotCommandsUpdateStatusTyp) String

type UIChannelNameMention added in v1.0.40

type UIChannelNameMention struct {
	Name   string    `codec:"name" json:"name"`
	ConvID ConvIDStr `codec:"convID" json:"convID"`
}

func (UIChannelNameMention) DeepCopy added in v1.0.40

type UIChatPayment

type UIChatPayment struct {
	Username      string  `codec:"username" json:"username"`
	FullName      string  `codec:"fullName" json:"fullName"`
	XlmAmount     string  `codec:"xlmAmount" json:"xlmAmount"`
	Error         *string `codec:"error,omitempty" json:"error,omitempty"`
	DisplayAmount *string `codec:"displayAmount,omitempty" json:"displayAmount,omitempty"`
}

func (UIChatPayment) DeepCopy

func (o UIChatPayment) DeepCopy() UIChatPayment

type UIChatPaymentSummary

type UIChatPaymentSummary struct {
	XlmTotal     string          `codec:"xlmTotal" json:"xlmTotal"`
	DisplayTotal string          `codec:"displayTotal" json:"displayTotal"`
	Payments     []UIChatPayment `codec:"payments" json:"payments"`
}

func (UIChatPaymentSummary) DeepCopy

type UIChatSearchConvHit

type UIChatSearchConvHit struct {
	ConvID   ConvIDStr    `codec:"convID" json:"convID"`
	TeamType TeamType     `codec:"teamType" json:"teamType"`
	Name     string       `codec:"name" json:"name"`
	Mtime    gregor1.Time `codec:"mtime" json:"mtime"`
}

func (UIChatSearchConvHit) DeepCopy

type UIChatSearchConvHits

type UIChatSearchConvHits struct {
	Hits          []UIChatSearchConvHit `codec:"hits" json:"hits"`
	UnreadMatches bool                  `codec:"unreadMatches" json:"unreadMatches"`
}

func (UIChatSearchConvHits) DeepCopy

type UIChatSearchTeamHits

type UIChatSearchTeamHits struct {
	Hits             []keybase1.TeamSearchItem `codec:"hits" json:"hits"`
	SuggestedMatches bool                      `codec:"suggestedMatches" json:"suggestedMatches"`
}

func (UIChatSearchTeamHits) DeepCopy

type UIChatThreadStatus

type UIChatThreadStatus struct {
	Typ__        UIChatThreadStatusTyp `codec:"typ" json:"typ"`
	Validating__ *int                  `codec:"validating,omitempty" json:"validating,omitempty"`
}

func NewUIChatThreadStatusWithNone

func NewUIChatThreadStatusWithNone() UIChatThreadStatus

func NewUIChatThreadStatusWithServer

func NewUIChatThreadStatusWithServer() UIChatThreadStatus

func NewUIChatThreadStatusWithValidated

func NewUIChatThreadStatusWithValidated() UIChatThreadStatus

func NewUIChatThreadStatusWithValidating

func NewUIChatThreadStatusWithValidating(v int) UIChatThreadStatus

func (UIChatThreadStatus) DeepCopy

func (*UIChatThreadStatus) Typ

func (o *UIChatThreadStatus) Typ() (ret UIChatThreadStatusTyp, err error)

func (UIChatThreadStatus) Validating

func (o UIChatThreadStatus) Validating() (res int)

type UIChatThreadStatusTyp

type UIChatThreadStatusTyp int
const (
	UIChatThreadStatusTyp_NONE       UIChatThreadStatusTyp = 0
	UIChatThreadStatusTyp_SERVER     UIChatThreadStatusTyp = 1
	UIChatThreadStatusTyp_VALIDATING UIChatThreadStatusTyp = 2
	UIChatThreadStatusTyp_VALIDATED  UIChatThreadStatusTyp = 3
)

func (UIChatThreadStatusTyp) DeepCopy

func (UIChatThreadStatusTyp) String

func (e UIChatThreadStatusTyp) String() string

type UICoinFlipAbsenteeError

type UICoinFlipAbsenteeError struct {
	Absentees []UICoinFlipErrorParticipant `codec:"absentees" json:"absentees"`
}

func (UICoinFlipAbsenteeError) DeepCopy

type UICoinFlipError

type UICoinFlipError struct {
	Typ__               UICoinFlipErrorTyp          `codec:"typ" json:"typ"`
	Generic__           *string                     `codec:"generic,omitempty" json:"generic,omitempty"`
	Absentee__          *UICoinFlipAbsenteeError    `codec:"absentee,omitempty" json:"absentee,omitempty"`
	Dupreg__            *UICoinFlipErrorParticipant `codec:"dupreg,omitempty" json:"dupreg,omitempty"`
	Dupcommitcomplete__ *UICoinFlipErrorParticipant `codec:"dupcommitcomplete,omitempty" json:"dupcommitcomplete,omitempty"`
	Dupreveal__         *UICoinFlipErrorParticipant `codec:"dupreveal,omitempty" json:"dupreveal,omitempty"`
	Commitmismatch__    *UICoinFlipErrorParticipant `codec:"commitmismatch,omitempty" json:"commitmismatch,omitempty"`
}

func NewUICoinFlipErrorWithAborted

func NewUICoinFlipErrorWithAborted() UICoinFlipError

func NewUICoinFlipErrorWithAbsentee

func NewUICoinFlipErrorWithAbsentee(v UICoinFlipAbsenteeError) UICoinFlipError

func NewUICoinFlipErrorWithCommitmismatch

func NewUICoinFlipErrorWithCommitmismatch(v UICoinFlipErrorParticipant) UICoinFlipError

func NewUICoinFlipErrorWithDupcommitcomplete

func NewUICoinFlipErrorWithDupcommitcomplete(v UICoinFlipErrorParticipant) UICoinFlipError

func NewUICoinFlipErrorWithDupreveal

func NewUICoinFlipErrorWithDupreveal(v UICoinFlipErrorParticipant) UICoinFlipError

func NewUICoinFlipErrorWithGeneric

func NewUICoinFlipErrorWithGeneric(v string) UICoinFlipError

func NewUICoinFlipErrorWithTimeout

func NewUICoinFlipErrorWithTimeout() UICoinFlipError

func (UICoinFlipError) Absentee

func (o UICoinFlipError) Absentee() (res UICoinFlipAbsenteeError)

func (UICoinFlipError) Commitmismatch

func (o UICoinFlipError) Commitmismatch() (res UICoinFlipErrorParticipant)

func (UICoinFlipError) DeepCopy

func (o UICoinFlipError) DeepCopy() UICoinFlipError

func (UICoinFlipError) Dupcommitcomplete

func (o UICoinFlipError) Dupcommitcomplete() (res UICoinFlipErrorParticipant)

func (UICoinFlipError) Dupreg

func (UICoinFlipError) Dupreveal

func (o UICoinFlipError) Dupreveal() (res UICoinFlipErrorParticipant)

func (UICoinFlipError) Generic

func (o UICoinFlipError) Generic() (res string)

func (*UICoinFlipError) Typ

func (o *UICoinFlipError) Typ() (ret UICoinFlipErrorTyp, err error)

type UICoinFlipErrorParticipant

type UICoinFlipErrorParticipant struct {
	User   string `codec:"user" json:"user"`
	Device string `codec:"device" json:"device"`
}

func (UICoinFlipErrorParticipant) DeepCopy

type UICoinFlipErrorTyp

type UICoinFlipErrorTyp int
const (
	UICoinFlipErrorTyp_GENERIC           UICoinFlipErrorTyp = 0
	UICoinFlipErrorTyp_ABSENTEE          UICoinFlipErrorTyp = 1
	UICoinFlipErrorTyp_TIMEOUT           UICoinFlipErrorTyp = 2
	UICoinFlipErrorTyp_ABORTED           UICoinFlipErrorTyp = 3
	UICoinFlipErrorTyp_DUPREG            UICoinFlipErrorTyp = 4
	UICoinFlipErrorTyp_DUPCOMMITCOMPLETE UICoinFlipErrorTyp = 5
	UICoinFlipErrorTyp_DUPREVEAL         UICoinFlipErrorTyp = 6
	UICoinFlipErrorTyp_COMMITMISMATCH    UICoinFlipErrorTyp = 7
)

func (UICoinFlipErrorTyp) DeepCopy

func (UICoinFlipErrorTyp) String

func (e UICoinFlipErrorTyp) String() string

type UICoinFlipHand

type UICoinFlipHand struct {
	Target string `codec:"target" json:"target"`
	Hand   []int  `codec:"hand" json:"hand"`
}

func (UICoinFlipHand) DeepCopy

func (o UICoinFlipHand) DeepCopy() UICoinFlipHand

type UICoinFlipParticipant

type UICoinFlipParticipant struct {
	Uid        string  `codec:"uid" json:"uid"`
	DeviceID   string  `codec:"deviceID" json:"deviceID"`
	Username   string  `codec:"username" json:"username"`
	DeviceName string  `codec:"deviceName" json:"deviceName"`
	Commitment string  `codec:"commitment" json:"commitment"`
	Reveal     *string `codec:"reveal,omitempty" json:"reveal,omitempty"`
}

func (UICoinFlipParticipant) DeepCopy

type UICoinFlipPhase

type UICoinFlipPhase int
const (
	UICoinFlipPhase_COMMITMENT UICoinFlipPhase = 0
	UICoinFlipPhase_REVEALS    UICoinFlipPhase = 1
	UICoinFlipPhase_COMPLETE   UICoinFlipPhase = 2
	UICoinFlipPhase_ERROR      UICoinFlipPhase = 3
)

func (UICoinFlipPhase) DeepCopy

func (o UICoinFlipPhase) DeepCopy() UICoinFlipPhase

func (UICoinFlipPhase) String

func (e UICoinFlipPhase) String() string

type UICoinFlipResult

type UICoinFlipResult struct {
	Typ__     UICoinFlipResultTyp `codec:"typ" json:"typ"`
	Number__  *string             `codec:"number,omitempty" json:"number,omitempty"`
	Shuffle__ *[]string           `codec:"shuffle,omitempty" json:"shuffle,omitempty"`
	Deck__    *[]int              `codec:"deck,omitempty" json:"deck,omitempty"`
	Hands__   *[]UICoinFlipHand   `codec:"hands,omitempty" json:"hands,omitempty"`
	Coin__    *bool               `codec:"coin,omitempty" json:"coin,omitempty"`
}

func NewUICoinFlipResultWithCoin

func NewUICoinFlipResultWithCoin(v bool) UICoinFlipResult

func NewUICoinFlipResultWithDeck

func NewUICoinFlipResultWithDeck(v []int) UICoinFlipResult

func NewUICoinFlipResultWithHands

func NewUICoinFlipResultWithHands(v []UICoinFlipHand) UICoinFlipResult

func NewUICoinFlipResultWithNumber

func NewUICoinFlipResultWithNumber(v string) UICoinFlipResult

func NewUICoinFlipResultWithShuffle

func NewUICoinFlipResultWithShuffle(v []string) UICoinFlipResult

func (UICoinFlipResult) Coin

func (o UICoinFlipResult) Coin() (res bool)

func (UICoinFlipResult) Deck

func (o UICoinFlipResult) Deck() (res []int)

func (UICoinFlipResult) DeepCopy

func (o UICoinFlipResult) DeepCopy() UICoinFlipResult

func (UICoinFlipResult) Hands

func (o UICoinFlipResult) Hands() (res []UICoinFlipHand)

func (UICoinFlipResult) Number

func (o UICoinFlipResult) Number() (res string)

func (UICoinFlipResult) Shuffle

func (o UICoinFlipResult) Shuffle() (res []string)

func (*UICoinFlipResult) Typ

func (o *UICoinFlipResult) Typ() (ret UICoinFlipResultTyp, err error)

type UICoinFlipResultTyp

type UICoinFlipResultTyp int
const (
	UICoinFlipResultTyp_NUMBER  UICoinFlipResultTyp = 0
	UICoinFlipResultTyp_SHUFFLE UICoinFlipResultTyp = 1
	UICoinFlipResultTyp_DECK    UICoinFlipResultTyp = 2
	UICoinFlipResultTyp_HANDS   UICoinFlipResultTyp = 3
	UICoinFlipResultTyp_COIN    UICoinFlipResultTyp = 4
)

func (UICoinFlipResultTyp) DeepCopy

func (UICoinFlipResultTyp) String

func (e UICoinFlipResultTyp) String() string

type UICoinFlipStatus

type UICoinFlipStatus struct {
	GameID                  FlipGameIDStr           `codec:"gameID" json:"gameID"`
	Phase                   UICoinFlipPhase         `codec:"phase" json:"phase"`
	ProgressText            string                  `codec:"progressText" json:"progressText"`
	ResultText              string                  `codec:"resultText" json:"resultText"`
	CommitmentVisualization string                  `codec:"commitmentVisualization" json:"commitmentVisualization"`
	RevealVisualization     string                  `codec:"revealVisualization" json:"revealVisualization"`
	Participants            []UICoinFlipParticipant `codec:"participants" json:"participants"`
	ErrorInfo               *UICoinFlipError        `codec:"errorInfo,omitempty" json:"errorInfo,omitempty"`
	ResultInfo              *UICoinFlipResult       `codec:"resultInfo,omitempty" json:"resultInfo,omitempty"`
}

func (UICoinFlipStatus) DeepCopy

func (o UICoinFlipStatus) DeepCopy() UICoinFlipStatus

type UICommandMarkdown

type UICommandMarkdown struct {
	Body  string  `codec:"body" json:"body"`
	Title *string `codec:"title,omitempty" json:"title,omitempty"`
}

func (UICommandMarkdown) DeepCopy

func (o UICommandMarkdown) DeepCopy() UICommandMarkdown

type UICommandStatusActionTyp

type UICommandStatusActionTyp int
const (
	UICommandStatusActionTyp_APPSETTINGS UICommandStatusActionTyp = 0
)

func (UICommandStatusActionTyp) DeepCopy

func (UICommandStatusActionTyp) String

func (e UICommandStatusActionTyp) String() string

type UICommandStatusDisplayTyp

type UICommandStatusDisplayTyp int
const (
	UICommandStatusDisplayTyp_STATUS  UICommandStatusDisplayTyp = 0
	UICommandStatusDisplayTyp_WARNING UICommandStatusDisplayTyp = 1
	UICommandStatusDisplayTyp_ERROR   UICommandStatusDisplayTyp = 2
)

func (UICommandStatusDisplayTyp) DeepCopy

func (UICommandStatusDisplayTyp) String

func (e UICommandStatusDisplayTyp) String() string

type UIInboxBigTeamChannelRow

type UIInboxBigTeamChannelRow struct {
	ConvID      ConvIDStr `codec:"convID" json:"convID"`
	Teamname    string    `codec:"teamname" json:"teamname"`
	Channelname string    `codec:"channelname" json:"channelname"`
	Draft       *string   `codec:"draft,omitempty" json:"draft,omitempty"`
	IsMuted     bool      `codec:"isMuted" json:"isMuted"`
}

func (UIInboxBigTeamChannelRow) DeepCopy

type UIInboxBigTeamLabelRow

type UIInboxBigTeamLabelRow struct {
	Name string   `codec:"name" json:"name"`
	Id   TLFIDStr `codec:"id" json:"id"`
}

func (UIInboxBigTeamLabelRow) DeepCopy

type UIInboxBigTeamRow

type UIInboxBigTeamRow struct {
	State__   UIInboxBigTeamRowTyp      `codec:"state" json:"state"`
	Label__   *UIInboxBigTeamLabelRow   `codec:"label,omitempty" json:"label,omitempty"`
	Channel__ *UIInboxBigTeamChannelRow `codec:"channel,omitempty" json:"channel,omitempty"`
}

func NewUIInboxBigTeamRowWithChannel

func NewUIInboxBigTeamRowWithChannel(v UIInboxBigTeamChannelRow) UIInboxBigTeamRow

func NewUIInboxBigTeamRowWithLabel

func NewUIInboxBigTeamRowWithLabel(v UIInboxBigTeamLabelRow) UIInboxBigTeamRow

func (UIInboxBigTeamRow) Channel

func (o UIInboxBigTeamRow) Channel() (res UIInboxBigTeamChannelRow)

func (UIInboxBigTeamRow) DeepCopy

func (o UIInboxBigTeamRow) DeepCopy() UIInboxBigTeamRow

func (UIInboxBigTeamRow) Label

func (o UIInboxBigTeamRow) Label() (res UIInboxBigTeamLabelRow)

func (*UIInboxBigTeamRow) State

func (o *UIInboxBigTeamRow) State() (ret UIInboxBigTeamRowTyp, err error)

type UIInboxBigTeamRowTyp

type UIInboxBigTeamRowTyp int
const (
	UIInboxBigTeamRowTyp_LABEL   UIInboxBigTeamRowTyp = 1
	UIInboxBigTeamRowTyp_CHANNEL UIInboxBigTeamRowTyp = 2
)

func (UIInboxBigTeamRowTyp) DeepCopy

func (UIInboxBigTeamRowTyp) String

func (e UIInboxBigTeamRowTyp) String() string

type UIInboxLayout

type UIInboxLayout struct {
	TotalSmallTeams int                   `codec:"totalSmallTeams" json:"totalSmallTeams"`
	SmallTeams      []UIInboxSmallTeamRow `codec:"smallTeams" json:"smallTeams"`
	BigTeams        []UIInboxBigTeamRow   `codec:"bigTeams" json:"bigTeams"`
	ReselectInfo    *UIInboxReselectInfo  `codec:"reselectInfo,omitempty" json:"reselectInfo,omitempty"`
	WidgetList      []UIInboxSmallTeamRow `codec:"widgetList" json:"widgetList"`
}

func (UIInboxLayout) DeepCopy

func (o UIInboxLayout) DeepCopy() UIInboxLayout

type UIInboxReselectInfo

type UIInboxReselectInfo struct {
	OldConvID ConvIDStr  `codec:"oldConvID" json:"oldConvID"`
	NewConvID *ConvIDStr `codec:"newConvID,omitempty" json:"newConvID,omitempty"`
}

func (UIInboxReselectInfo) DeepCopy

func (UIInboxReselectInfo) String

func (r UIInboxReselectInfo) String() string

type UIInboxSmallTeamRow

type UIInboxSmallTeamRow struct {
	ConvID            ConvIDStr         `codec:"convID" json:"convID"`
	Name              string            `codec:"name" json:"name"`
	Time              gregor1.Time      `codec:"time" json:"time"`
	Snippet           *string           `codec:"snippet,omitempty" json:"snippet,omitempty"`
	SnippetDecoration SnippetDecoration `codec:"snippetDecoration" json:"snippetDecoration"`
	Draft             *string           `codec:"draft,omitempty" json:"draft,omitempty"`
	IsMuted           bool              `codec:"isMuted" json:"isMuted"`
	IsTeam            bool              `codec:"isTeam" json:"isTeam"`
}

func (UIInboxSmallTeamRow) DeepCopy

type UILinkDecoration

type UILinkDecoration struct {
	Url      string `codec:"url" json:"url"`
	Punycode string `codec:"punycode" json:"punycode"`
}

func (UILinkDecoration) DeepCopy

func (o UILinkDecoration) DeepCopy() UILinkDecoration

type UIMaybeMentionInfo

type UIMaybeMentionInfo struct {
	Status__ UIMaybeMentionStatus `codec:"status" json:"status"`
	Team__   *UITeamMention       `codec:"team,omitempty" json:"team,omitempty"`
}

func NewUIMaybeMentionInfoWithNothing

func NewUIMaybeMentionInfoWithNothing() UIMaybeMentionInfo

func NewUIMaybeMentionInfoWithTeam

func NewUIMaybeMentionInfoWithTeam(v UITeamMention) UIMaybeMentionInfo

func NewUIMaybeMentionInfoWithUnknown

func NewUIMaybeMentionInfoWithUnknown() UIMaybeMentionInfo

func NewUIMaybeMentionInfoWithUser

func NewUIMaybeMentionInfoWithUser() UIMaybeMentionInfo

func (UIMaybeMentionInfo) DeepCopy

func (*UIMaybeMentionInfo) Status

func (o *UIMaybeMentionInfo) Status() (ret UIMaybeMentionStatus, err error)

func (UIMaybeMentionInfo) Team

func (o UIMaybeMentionInfo) Team() (res UITeamMention)

type UIMaybeMentionStatus

type UIMaybeMentionStatus int
const (
	UIMaybeMentionStatus_UNKNOWN UIMaybeMentionStatus = 0
	UIMaybeMentionStatus_USER    UIMaybeMentionStatus = 1
	UIMaybeMentionStatus_TEAM    UIMaybeMentionStatus = 2
	UIMaybeMentionStatus_NOTHING UIMaybeMentionStatus = 3
)

func (UIMaybeMentionStatus) DeepCopy

func (UIMaybeMentionStatus) String

func (e UIMaybeMentionStatus) String() string

type UIMessage added in v1.0.29

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"`
	Journeycard__ *UIMessageJourneycard      `codec:"journeycard,omitempty" json:"journeycard,omitempty"`
}

func NewUIMessageWithError added in v1.0.29

func NewUIMessageWithError(v MessageUnboxedError) UIMessage

func NewUIMessageWithJourneycard

func NewUIMessageWithJourneycard(v UIMessageJourneycard) UIMessage

func NewUIMessageWithOutbox added in v1.0.29

func NewUIMessageWithOutbox(v UIMessageOutbox) UIMessage

func NewUIMessageWithPlaceholder added in v1.0.29

func NewUIMessageWithPlaceholder(v MessageUnboxedPlaceholder) UIMessage

func NewUIMessageWithValid added in v1.0.29

func NewUIMessageWithValid(v UIMessageValid) UIMessage

func (UIMessage) DeepCopy added in v1.0.29

func (o UIMessage) DeepCopy() UIMessage

func (UIMessage) Error added in v1.0.29

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

func (UIMessage) GetMessageID added in v1.0.29

func (m UIMessage) GetMessageID() MessageID

func (UIMessage) GetMessageType added in v1.0.29

func (m UIMessage) GetMessageType() MessageType

func (UIMessage) GetOutboxID

func (m UIMessage) GetOutboxID() *OutboxID

func (UIMessage) IsEphemeral

func (m UIMessage) IsEphemeral() bool

func (UIMessage) IsOutbox

func (m UIMessage) IsOutbox() bool

func (UIMessage) IsPlaceholder

func (m UIMessage) IsPlaceholder() bool

func (UIMessage) IsValid added in v1.0.29

func (m UIMessage) IsValid() bool

func (UIMessage) Journeycard

func (o UIMessage) Journeycard() (res UIMessageJourneycard)

func (UIMessage) Outbox added in v1.0.29

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

func (UIMessage) Placeholder added in v1.0.29

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

func (UIMessage) SearchableText

func (m UIMessage) SearchableText() string

func (*UIMessage) State added in v1.0.29

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

func (UIMessage) Valid added in v1.0.29

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

type UIMessageJourneycard

type UIMessageJourneycard struct {
	Ordinal        float64         `codec:"ordinal" json:"ordinal"`
	CardType       JourneycardType `codec:"cardType" json:"cardType"`
	HighlightMsgID MessageID       `codec:"highlightMsgID" json:"highlightMsgID"`
	OpenTeam       bool            `codec:"openTeam" json:"openTeam"`
}

func (UIMessageJourneycard) DeepCopy

type UIMessageOutbox added in v1.0.29

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"`
	DecoratedTextBody *string         `codec:"decoratedTextBody,omitempty" json:"decoratedTextBody,omitempty"`
	Ctime             gregor1.Time    `codec:"ctime" json:"ctime"`
	Ordinal           float64         `codec:"ordinal" json:"ordinal"`
	IsEphemeral       bool            `codec:"isEphemeral" json:"isEphemeral"`
	FlipGameID        *FlipGameIDStr  `codec:"flipGameID,omitempty" json:"flipGameID,omitempty"`
	ReplyTo           *UIMessage      `codec:"replyTo,omitempty" json:"replyTo,omitempty"`
	Filename          string          `codec:"filename" json:"filename"`
	Title             string          `codec:"title" json:"title"`
	Preview           *MakePreviewRes `codec:"preview,omitempty" json:"preview,omitempty"`
}

func (UIMessageOutbox) DeepCopy added in v1.0.29

func (o UIMessageOutbox) DeepCopy() UIMessageOutbox

type UIMessageUnfurlInfo

type UIMessageUnfurlInfo struct {
	UnfurlMessageID MessageID     `codec:"unfurlMessageID" json:"unfurlMessageID"`
	Url             string        `codec:"url" json:"url"`
	Unfurl          UnfurlDisplay `codec:"unfurl" json:"unfurl"`
	IsCollapsed     bool          `codec:"isCollapsed" json:"isCollapsed"`
}

func (UIMessageUnfurlInfo) DeepCopy

type UIMessageValid added in v1.0.29

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"`
	DecoratedTextBody     *string                `codec:"decoratedTextBody,omitempty" json:"decoratedTextBody,omitempty"`
	BodySummary           string                 `codec:"bodySummary" json:"bodySummary"`
	SenderUsername        string                 `codec:"senderUsername" json:"senderUsername"`
	SenderDeviceName      string                 `codec:"senderDeviceName" json:"senderDeviceName"`
	SenderDeviceType      keybase1.DeviceTypeV2  `codec:"senderDeviceType" json:"senderDeviceType"`
	SenderUID             gregor1.UID            `codec:"senderUID" json:"senderUID"`
	SenderDeviceID        gregor1.DeviceID       `codec:"senderDeviceID" json:"senderDeviceID"`
	Superseded            bool                   `codec:"superseded" json:"superseded"`
	AssetUrlInfo          *UIAssetUrlInfo        `codec:"assetUrlInfo,omitempty" json:"assetUrlInfo,omitempty"`
	SenderDeviceRevokedAt *gregor1.Time          `codec:"senderDeviceRevokedAt,omitempty" json:"senderDeviceRevokedAt,omitempty"`
	AtMentions            []string               `codec:"atMentions" json:"atMentions"`
	ChannelMention        ChannelMention         `codec:"channelMention" json:"channelMention"`
	ChannelNameMentions   []UIChannelNameMention `codec:"channelNameMentions" json:"channelNameMentions"`
	IsEphemeral           bool                   `codec:"isEphemeral" json:"isEphemeral"`
	IsEphemeralExpired    bool                   `codec:"isEphemeralExpired" json:"isEphemeralExpired"`
	ExplodedBy            *string                `codec:"explodedBy,omitempty" json:"explodedBy,omitempty"`
	Etime                 gregor1.Time           `codec:"etime" json:"etime"`
	Reactions             ReactionMap            `codec:"reactions" json:"reactions"`
	HasPairwiseMacs       bool                   `codec:"hasPairwiseMacs" json:"hasPairwiseMacs"`
	PaymentInfos          []UIPaymentInfo        `codec:"paymentInfos" json:"paymentInfos"`
	RequestInfo           *UIRequestInfo         `codec:"requestInfo,omitempty" json:"requestInfo,omitempty"`
	Unfurls               []UIMessageUnfurlInfo  `codec:"unfurls" json:"unfurls"`
	IsCollapsed           bool                   `codec:"isCollapsed" json:"isCollapsed"`
	FlipGameID            *FlipGameIDStr         `codec:"flipGameID,omitempty" json:"flipGameID,omitempty"`
	IsDeleteable          bool                   `codec:"isDeleteable" json:"isDeleteable"`
	IsEditable            bool                   `codec:"isEditable" json:"isEditable"`
	ReplyTo               *UIMessage             `codec:"replyTo,omitempty" json:"replyTo,omitempty"`
	PinnedMessageID       *MessageID             `codec:"pinnedMessageID,omitempty" json:"pinnedMessageID,omitempty"`
	BotUsername           string                 `codec:"botUsername" json:"botUsername"`
}

func (UIMessageValid) DeepCopy added in v1.0.29

func (o UIMessageValid) DeepCopy() UIMessageValid

type UIMessages added in v1.0.29

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

func (UIMessages) DeepCopy added in v1.0.29

func (o UIMessages) DeepCopy() UIMessages

type UIPagination added in v1.0.29

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 added in v1.0.29

func (o UIPagination) DeepCopy() UIPagination

type UIParticipant

type UIParticipant struct {
	Type        UIParticipantType `codec:"type" json:"type"`
	Assertion   string            `codec:"assertion" json:"assertion"`
	InConvName  bool              `codec:"inConvName" json:"inConvName"`
	FullName    *string           `codec:"fullName,omitempty" json:"fullName,omitempty"`
	ContactName *string           `codec:"contactName,omitempty" json:"contactName,omitempty"`
}

func (UIParticipant) DeepCopy

func (o UIParticipant) DeepCopy() UIParticipant

type UIParticipantType

type UIParticipantType int
const (
	UIParticipantType_NONE    UIParticipantType = 0
	UIParticipantType_USER    UIParticipantType = 1
	UIParticipantType_PHONENO UIParticipantType = 2
	UIParticipantType_EMAIL   UIParticipantType = 3
)

func (UIParticipantType) DeepCopy

func (o UIParticipantType) DeepCopy() UIParticipantType

func (UIParticipantType) String

func (e UIParticipantType) String() string

type UIPaymentInfo

type UIPaymentInfo struct {
	AccountID         *stellar1.AccountID    `codec:"accountID,omitempty" json:"accountID,omitempty"`
	AmountDescription string                 `codec:"amountDescription" json:"amountDescription"`
	Worth             string                 `codec:"worth" json:"worth"`
	WorthAtSendTime   string                 `codec:"worthAtSendTime" json:"worthAtSendTime"`
	Delta             stellar1.BalanceDelta  `codec:"delta" json:"delta"`
	Note              string                 `codec:"note" json:"note"`
	PaymentID         stellar1.PaymentID     `codec:"paymentID" json:"paymentID"`
	Status            stellar1.PaymentStatus `codec:"status" json:"status"`
	StatusDescription string                 `codec:"statusDescription" json:"statusDescription"`
	StatusDetail      string                 `codec:"statusDetail" json:"statusDetail"`
	ShowCancel        bool                   `codec:"showCancel" json:"showCancel"`
	FromUsername      string                 `codec:"fromUsername" json:"fromUsername"`
	ToUsername        string                 `codec:"toUsername" json:"toUsername"`
	SourceAmount      string                 `codec:"sourceAmount" json:"sourceAmount"`
	SourceAsset       stellar1.Asset         `codec:"sourceAsset" json:"sourceAsset"`
	IssuerDescription string                 `codec:"issuerDescription" json:"issuerDescription"`
}

func (UIPaymentInfo) DeepCopy

func (o UIPaymentInfo) DeepCopy() UIPaymentInfo

type UIPinnedMessage

type UIPinnedMessage struct {
	Message        UIMessage `codec:"message" json:"message"`
	PinnerUsername string    `codec:"pinnerUsername" json:"pinnerUsername"`
}

func (UIPinnedMessage) DeepCopy

func (o UIPinnedMessage) DeepCopy() UIPinnedMessage

type UIRequestInfo

type UIRequestInfo struct {
	Amount             string                        `codec:"amount" json:"amount"`
	AmountDescription  string                        `codec:"amountDescription" json:"amountDescription"`
	Asset              *stellar1.Asset               `codec:"asset,omitempty" json:"asset,omitempty"`
	Currency           *stellar1.OutsideCurrencyCode `codec:"currency,omitempty" json:"currency,omitempty"`
	WorthAtRequestTime string                        `codec:"worthAtRequestTime" json:"worthAtRequestTime"`
	Status             stellar1.RequestStatus        `codec:"status" json:"status"`
}

func (UIRequestInfo) DeepCopy

func (o UIRequestInfo) DeepCopy() UIRequestInfo

type UITeamMention

type UITeamMention struct {
	InTeam       bool       `codec:"inTeam" json:"inTeam"`
	Open         bool       `codec:"open" json:"open"`
	Description  *string    `codec:"description,omitempty" json:"description,omitempty"`
	NumMembers   *int       `codec:"numMembers,omitempty" json:"numMembers,omitempty"`
	PublicAdmins []string   `codec:"publicAdmins" json:"publicAdmins"`
	ConvID       *ConvIDStr `codec:"convID,omitempty" json:"convID,omitempty"`
}

func (UITeamMention) DeepCopy

func (o UITeamMention) DeepCopy() UITeamMention

type UITextDecoration

type UITextDecoration struct {
	Typ__                UITextDecorationTyp   `codec:"typ" json:"typ"`
	Payment__            *TextPayment          `codec:"payment,omitempty" json:"payment,omitempty"`
	Atmention__          *string               `codec:"atmention,omitempty" json:"atmention,omitempty"`
	Channelnamemention__ *UIChannelNameMention `codec:"channelnamemention,omitempty" json:"channelnamemention,omitempty"`
	Maybemention__       *MaybeMention         `codec:"maybemention,omitempty" json:"maybemention,omitempty"`
	Link__               *UILinkDecoration     `codec:"link,omitempty" json:"link,omitempty"`
	Mailto__             *UILinkDecoration     `codec:"mailto,omitempty" json:"mailto,omitempty"`
	Kbfspath__           *KBFSPath             `codec:"kbfspath,omitempty" json:"kbfspath,omitempty"`
}

func NewUITextDecorationWithAtmention

func NewUITextDecorationWithAtmention(v string) UITextDecoration

func NewUITextDecorationWithChannelnamemention

func NewUITextDecorationWithChannelnamemention(v UIChannelNameMention) UITextDecoration

func NewUITextDecorationWithKbfspath

func NewUITextDecorationWithKbfspath(v KBFSPath) UITextDecoration
func NewUITextDecorationWithLink(v UILinkDecoration) UITextDecoration

func NewUITextDecorationWithMailto

func NewUITextDecorationWithMailto(v UILinkDecoration) UITextDecoration

func NewUITextDecorationWithMaybemention

func NewUITextDecorationWithMaybemention(v MaybeMention) UITextDecoration

func NewUITextDecorationWithPayment

func NewUITextDecorationWithPayment(v TextPayment) UITextDecoration

func (UITextDecoration) Atmention

func (o UITextDecoration) Atmention() (res string)

func (UITextDecoration) Channelnamemention

func (o UITextDecoration) Channelnamemention() (res UIChannelNameMention)

func (UITextDecoration) DeepCopy

func (o UITextDecoration) DeepCopy() UITextDecoration

func (UITextDecoration) Kbfspath

func (o UITextDecoration) Kbfspath() (res KBFSPath)
func (o UITextDecoration) Link() (res UILinkDecoration)

func (UITextDecoration) Mailto

func (o UITextDecoration) Mailto() (res UILinkDecoration)

func (UITextDecoration) Maybemention

func (o UITextDecoration) Maybemention() (res MaybeMention)

func (UITextDecoration) Payment

func (o UITextDecoration) Payment() (res TextPayment)

func (*UITextDecoration) Typ

func (o *UITextDecoration) Typ() (ret UITextDecorationTyp, err error)

type UITextDecorationTyp

type UITextDecorationTyp int
const (
	UITextDecorationTyp_PAYMENT            UITextDecorationTyp = 0
	UITextDecorationTyp_ATMENTION          UITextDecorationTyp = 1
	UITextDecorationTyp_CHANNELNAMEMENTION UITextDecorationTyp = 2
	UITextDecorationTyp_MAYBEMENTION       UITextDecorationTyp = 3
	UITextDecorationTyp_LINK               UITextDecorationTyp = 4
	UITextDecorationTyp_MAILTO             UITextDecorationTyp = 5
	UITextDecorationTyp_KBFSPATH           UITextDecorationTyp = 6
)

func (UITextDecorationTyp) DeepCopy

func (UITextDecorationTyp) String

func (e UITextDecorationTyp) String() string

type UIWatchPositionPerm

type UIWatchPositionPerm int
const (
	UIWatchPositionPerm_BASE   UIWatchPositionPerm = 0
	UIWatchPositionPerm_ALWAYS UIWatchPositionPerm = 1
)

func (UIWatchPositionPerm) DeepCopy

func (UIWatchPositionPerm) String

func (e UIWatchPositionPerm) String() string

type UnboxMobilePushNotificationArg added in v1.0.27

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"`
	ShouldAck   bool                    `codec:"shouldAck" json:"shouldAck"`
}

type Unfurl

type Unfurl struct {
	UnfurlType__ UnfurlType     `codec:"unfurlType" json:"unfurlType"`
	Generic__    *UnfurlGeneric `codec:"generic,omitempty" json:"generic,omitempty"`
	Youtube__    *UnfurlYoutube `codec:"youtube,omitempty" json:"youtube,omitempty"`
	Giphy__      *UnfurlGiphy   `codec:"giphy,omitempty" json:"giphy,omitempty"`
}

func NewUnfurlWithGeneric

func NewUnfurlWithGeneric(v UnfurlGeneric) Unfurl

func NewUnfurlWithGiphy

func NewUnfurlWithGiphy(v UnfurlGiphy) Unfurl

func NewUnfurlWithYoutube

func NewUnfurlWithYoutube(v UnfurlYoutube) Unfurl

func (Unfurl) DeepCopy

func (o Unfurl) DeepCopy() Unfurl

func (Unfurl) Generic

func (o Unfurl) Generic() (res UnfurlGeneric)

func (Unfurl) Giphy

func (o Unfurl) Giphy() (res UnfurlGiphy)

func (*Unfurl) UnfurlType

func (o *Unfurl) UnfurlType() (ret UnfurlType, err error)

func (Unfurl) Youtube

func (o Unfurl) Youtube() (res UnfurlYoutube)

type UnfurlClient

type UnfurlClient struct {
	Cli rpc.GenericClient
}

type UnfurlDisplay

type UnfurlDisplay struct {
	UnfurlType__ UnfurlType            `codec:"unfurlType" json:"unfurlType"`
	Generic__    *UnfurlGenericDisplay `codec:"generic,omitempty" json:"generic,omitempty"`
	Youtube__    *UnfurlYoutubeDisplay `codec:"youtube,omitempty" json:"youtube,omitempty"`
	Giphy__      *UnfurlGiphyDisplay   `codec:"giphy,omitempty" json:"giphy,omitempty"`
}

func NewUnfurlDisplayWithGeneric

func NewUnfurlDisplayWithGeneric(v UnfurlGenericDisplay) UnfurlDisplay

func NewUnfurlDisplayWithGiphy

func NewUnfurlDisplayWithGiphy(v UnfurlGiphyDisplay) UnfurlDisplay

func NewUnfurlDisplayWithYoutube

func NewUnfurlDisplayWithYoutube(v UnfurlYoutubeDisplay) UnfurlDisplay

func (UnfurlDisplay) DeepCopy

func (o UnfurlDisplay) DeepCopy() UnfurlDisplay

func (UnfurlDisplay) Generic

func (o UnfurlDisplay) Generic() (res UnfurlGenericDisplay)

func (UnfurlDisplay) Giphy

func (o UnfurlDisplay) Giphy() (res UnfurlGiphyDisplay)

func (*UnfurlDisplay) UnfurlType

func (o *UnfurlDisplay) UnfurlType() (ret UnfurlType, err error)

func (UnfurlDisplay) Youtube

func (o UnfurlDisplay) Youtube() (res UnfurlYoutubeDisplay)

type UnfurlGeneric

type UnfurlGeneric struct {
	Title       string                `codec:"title" json:"title"`
	Url         string                `codec:"url" json:"url"`
	SiteName    string                `codec:"siteName" json:"siteName"`
	Favicon     *Asset                `codec:"favicon,omitempty" json:"favicon,omitempty"`
	Image       *Asset                `codec:"image,omitempty" json:"image,omitempty"`
	PublishTime *int                  `codec:"publishTime,omitempty" json:"publishTime,omitempty"`
	Description *string               `codec:"description,omitempty" json:"description,omitempty"`
	MapInfo     *UnfurlGenericMapInfo `codec:"mapInfo,omitempty" json:"mapInfo,omitempty"`
}

func (UnfurlGeneric) DeepCopy

func (o UnfurlGeneric) DeepCopy() UnfurlGeneric

type UnfurlGenericDisplay

type UnfurlGenericDisplay struct {
	Title       string                `codec:"title" json:"title"`
	Url         string                `codec:"url" json:"url"`
	SiteName    string                `codec:"siteName" json:"siteName"`
	Favicon     *UnfurlImageDisplay   `codec:"favicon,omitempty" json:"favicon,omitempty"`
	Media       *UnfurlImageDisplay   `codec:"media,omitempty" json:"media,omitempty"`
	PublishTime *int                  `codec:"publishTime,omitempty" json:"publishTime,omitempty"`
	Description *string               `codec:"description,omitempty" json:"description,omitempty"`
	MapInfo     *UnfurlGenericMapInfo `codec:"mapInfo,omitempty" json:"mapInfo,omitempty"`
}

func (UnfurlGenericDisplay) DeepCopy

type UnfurlGenericMapInfo

type UnfurlGenericMapInfo struct {
	Coord               Coordinate    `codec:"coord" json:"coord"`
	Time                gregor1.Time  `codec:"time" json:"time"`
	LiveLocationEndTime *gregor1.Time `codec:"liveLocationEndTime,omitempty" json:"liveLocationEndTime,omitempty"`
	IsLiveLocationDone  bool          `codec:"isLiveLocationDone" json:"isLiveLocationDone"`
}

func (UnfurlGenericMapInfo) DeepCopy

type UnfurlGenericRaw

type UnfurlGenericRaw struct {
	Title       string       `codec:"title" json:"title"`
	Url         string       `codec:"url" json:"url"`
	SiteName    string       `codec:"siteName" json:"siteName"`
	FaviconUrl  *string      `codec:"faviconUrl,omitempty" json:"faviconUrl,omitempty"`
	ImageUrl    *string      `codec:"imageUrl,omitempty" json:"imageUrl,omitempty"`
	Video       *UnfurlVideo `codec:"video,omitempty" json:"video,omitempty"`
	PublishTime *int         `codec:"publishTime,omitempty" json:"publishTime,omitempty"`
	Description *string      `codec:"description,omitempty" json:"description,omitempty"`
}

func (UnfurlGenericRaw) DeepCopy

func (o UnfurlGenericRaw) DeepCopy() UnfurlGenericRaw

func (UnfurlGenericRaw) UnsafeDebugString

func (g UnfurlGenericRaw) UnsafeDebugString() string

type UnfurlGiphy

type UnfurlGiphy struct {
	Favicon *Asset `codec:"favicon,omitempty" json:"favicon,omitempty"`
	Image   *Asset `codec:"image,omitempty" json:"image,omitempty"`
	Video   *Asset `codec:"video,omitempty" json:"video,omitempty"`
}

func (UnfurlGiphy) DeepCopy

func (o UnfurlGiphy) DeepCopy() UnfurlGiphy

type UnfurlGiphyDisplay

type UnfurlGiphyDisplay struct {
	Favicon *UnfurlImageDisplay `codec:"favicon,omitempty" json:"favicon,omitempty"`
	Image   *UnfurlImageDisplay `codec:"image,omitempty" json:"image,omitempty"`
	Video   *UnfurlImageDisplay `codec:"video,omitempty" json:"video,omitempty"`
}

func (UnfurlGiphyDisplay) DeepCopy

type UnfurlGiphyRaw

type UnfurlGiphyRaw struct {
	ImageUrl   *string      `codec:"imageUrl,omitempty" json:"imageUrl,omitempty"`
	Video      *UnfurlVideo `codec:"video,omitempty" json:"video,omitempty"`
	FaviconUrl *string      `codec:"faviconUrl,omitempty" json:"faviconUrl,omitempty"`
}

func (UnfurlGiphyRaw) DeepCopy

func (o UnfurlGiphyRaw) DeepCopy() UnfurlGiphyRaw

func (UnfurlGiphyRaw) UnsafeDebugString

func (g UnfurlGiphyRaw) UnsafeDebugString() string

type UnfurlImageDisplay

type UnfurlImageDisplay struct {
	Url     string `codec:"url" json:"url"`
	Height  int    `codec:"height" json:"height"`
	Width   int    `codec:"width" json:"width"`
	IsVideo bool   `codec:"isVideo" json:"isVideo"`
}

func (UnfurlImageDisplay) DeepCopy

type UnfurlInterface

type UnfurlInterface interface {
}

type UnfurlMapsRaw

type UnfurlMapsRaw struct {
	Title               string        `codec:"title" json:"title"`
	Url                 string        `codec:"url" json:"url"`
	SiteName            string        `codec:"siteName" json:"siteName"`
	ImageUrl            string        `codec:"imageUrl" json:"imageUrl"`
	HistoryImageUrl     *string       `codec:"historyImageUrl,omitempty" json:"historyImageUrl,omitempty"`
	Description         string        `codec:"description" json:"description"`
	Coord               Coordinate    `codec:"coord" json:"coord"`
	Time                gregor1.Time  `codec:"time" json:"time"`
	LiveLocationEndTime *gregor1.Time `codec:"liveLocationEndTime,omitempty" json:"liveLocationEndTime,omitempty"`
	LiveLocationDone    bool          `codec:"liveLocationDone" json:"liveLocationDone"`
}

func (UnfurlMapsRaw) DeepCopy

func (o UnfurlMapsRaw) DeepCopy() UnfurlMapsRaw

type UnfurlMode

type UnfurlMode int
const (
	UnfurlMode_ALWAYS      UnfurlMode = 0
	UnfurlMode_NEVER       UnfurlMode = 1
	UnfurlMode_WHITELISTED UnfurlMode = 2
)

func (UnfurlMode) DeepCopy

func (o UnfurlMode) DeepCopy() UnfurlMode

func (UnfurlMode) String

func (e UnfurlMode) String() string

type UnfurlPromptAction

type UnfurlPromptAction int
const (
	UnfurlPromptAction_ALWAYS  UnfurlPromptAction = 0
	UnfurlPromptAction_NEVER   UnfurlPromptAction = 1
	UnfurlPromptAction_ACCEPT  UnfurlPromptAction = 2
	UnfurlPromptAction_NOTNOW  UnfurlPromptAction = 3
	UnfurlPromptAction_ONETIME UnfurlPromptAction = 4
)

func (UnfurlPromptAction) DeepCopy

func (UnfurlPromptAction) String

func (e UnfurlPromptAction) String() string

type UnfurlPromptResult

type UnfurlPromptResult struct {
	ActionType__ UnfurlPromptAction `codec:"actionType" json:"actionType"`
	Accept__     *string            `codec:"accept,omitempty" json:"accept,omitempty"`
	Onetime__    *string            `codec:"onetime,omitempty" json:"onetime,omitempty"`
}

func NewUnfurlPromptResultWithAccept

func NewUnfurlPromptResultWithAccept(v string) UnfurlPromptResult

func NewUnfurlPromptResultWithAlways

func NewUnfurlPromptResultWithAlways() UnfurlPromptResult

func NewUnfurlPromptResultWithNever

func NewUnfurlPromptResultWithNever() UnfurlPromptResult

func NewUnfurlPromptResultWithNotnow

func NewUnfurlPromptResultWithNotnow() UnfurlPromptResult

func NewUnfurlPromptResultWithOnetime

func NewUnfurlPromptResultWithOnetime(v string) UnfurlPromptResult

func (UnfurlPromptResult) Accept

func (o UnfurlPromptResult) Accept() (res string)

func (*UnfurlPromptResult) ActionType

func (o *UnfurlPromptResult) ActionType() (ret UnfurlPromptAction, err error)

func (UnfurlPromptResult) DeepCopy

func (UnfurlPromptResult) Onetime

func (o UnfurlPromptResult) Onetime() (res string)

type UnfurlRaw

type UnfurlRaw struct {
	UnfurlType__ UnfurlType        `codec:"unfurlType" json:"unfurlType"`
	Generic__    *UnfurlGenericRaw `codec:"generic,omitempty" json:"generic,omitempty"`
	Youtube__    *UnfurlYoutubeRaw `codec:"youtube,omitempty" json:"youtube,omitempty"`
	Giphy__      *UnfurlGiphyRaw   `codec:"giphy,omitempty" json:"giphy,omitempty"`
	Maps__       *UnfurlMapsRaw    `codec:"maps,omitempty" json:"maps,omitempty"`
}

func NewUnfurlRawWithGeneric

func NewUnfurlRawWithGeneric(v UnfurlGenericRaw) UnfurlRaw

func NewUnfurlRawWithGiphy

func NewUnfurlRawWithGiphy(v UnfurlGiphyRaw) UnfurlRaw

func NewUnfurlRawWithMaps

func NewUnfurlRawWithMaps(v UnfurlMapsRaw) UnfurlRaw

func NewUnfurlRawWithYoutube

func NewUnfurlRawWithYoutube(v UnfurlYoutubeRaw) UnfurlRaw

func (UnfurlRaw) DeepCopy

func (o UnfurlRaw) DeepCopy() UnfurlRaw

func (UnfurlRaw) Generic

func (o UnfurlRaw) Generic() (res UnfurlGenericRaw)

func (UnfurlRaw) GetUrl

func (u UnfurlRaw) GetUrl() string

func (UnfurlRaw) Giphy

func (o UnfurlRaw) Giphy() (res UnfurlGiphyRaw)

func (UnfurlRaw) Maps

func (o UnfurlRaw) Maps() (res UnfurlMapsRaw)

func (*UnfurlRaw) UnfurlType

func (o *UnfurlRaw) UnfurlType() (ret UnfurlType, err error)

func (UnfurlRaw) UnsafeDebugString

func (u UnfurlRaw) UnsafeDebugString() string

func (UnfurlRaw) Youtube

func (o UnfurlRaw) Youtube() (res UnfurlYoutubeRaw)

type UnfurlResult

type UnfurlResult struct {
	Unfurl Unfurl `codec:"unfurl" json:"unfurl"`
	Url    string `codec:"url" json:"url"`
}

func (UnfurlResult) DeepCopy

func (o UnfurlResult) DeepCopy() UnfurlResult

type UnfurlSettings

type UnfurlSettings struct {
	Mode      UnfurlMode      `codec:"mode" json:"mode"`
	Whitelist map[string]bool `codec:"whitelist" json:"whitelist"`
}

func NewUnfurlSettings

func NewUnfurlSettings() UnfurlSettings

func (UnfurlSettings) DeepCopy

func (o UnfurlSettings) DeepCopy() UnfurlSettings

type UnfurlSettingsDisplay

type UnfurlSettingsDisplay struct {
	Mode      UnfurlMode `codec:"mode" json:"mode"`
	Whitelist []string   `codec:"whitelist" json:"whitelist"`
}

func (UnfurlSettingsDisplay) DeepCopy

type UnfurlType

type UnfurlType int
const (
	UnfurlType_GENERIC UnfurlType = 0
	UnfurlType_YOUTUBE UnfurlType = 1
	UnfurlType_GIPHY   UnfurlType = 2
	UnfurlType_MAPS    UnfurlType = 3
)

func (UnfurlType) DeepCopy

func (o UnfurlType) DeepCopy() UnfurlType

func (UnfurlType) String

func (e UnfurlType) String() string

type UnfurlVideo

type UnfurlVideo struct {
	Url      string `codec:"url" json:"url"`
	MimeType string `codec:"mimeType" json:"mimeType"`
	Height   int    `codec:"height" json:"height"`
	Width    int    `codec:"width" json:"width"`
}

func (UnfurlVideo) DeepCopy

func (o UnfurlVideo) DeepCopy() UnfurlVideo

func (UnfurlVideo) String

func (v UnfurlVideo) String() string

type UnfurlYoutube

type UnfurlYoutube struct {
}

func (UnfurlYoutube) DeepCopy

func (o UnfurlYoutube) DeepCopy() UnfurlYoutube

type UnfurlYoutubeDisplay

type UnfurlYoutubeDisplay struct {
}

func (UnfurlYoutubeDisplay) DeepCopy

type UnfurlYoutubeRaw

type UnfurlYoutubeRaw struct {
}

func (UnfurlYoutubeRaw) DeepCopy

func (o UnfurlYoutubeRaw) DeepCopy() UnfurlYoutubeRaw

type UnpinMessageArg

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

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 added in v1.0.27

type UnreadUpdate added in v1.0.19

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

func MakeEmptyUnreadUpdate added in v1.0.27

func MakeEmptyUnreadUpdate(convID ConversationID) UnreadUpdate

func (UnreadUpdate) DeepCopy added in v1.0.27

func (o UnreadUpdate) DeepCopy() UnreadUpdate

func (UnreadUpdate) String

func (u UnreadUpdate) String() string

type UnreadUpdateFull added in v1.0.19

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 added in v1.0.27

func (o UnreadUpdateFull) DeepCopy() UnreadUpdateFull

type UnreadlineRes

type UnreadlineRes struct {
	Offline          bool                          `codec:"offline" json:"offline"`
	RateLimits       []RateLimit                   `codec:"rateLimits" json:"rateLimits"`
	IdentifyFailures []keybase1.TLFIdentifyFailure `codec:"identifyFailures" json:"identifyFailures"`
	UnreadlineID     *MessageID                    `codec:"unreadlineID,omitempty" json:"unreadlineID,omitempty"`
}

func (UnreadlineRes) DeepCopy

func (o UnreadlineRes) DeepCopy() UnreadlineRes

func (*UnreadlineRes) GetRateLimit

func (r *UnreadlineRes) GetRateLimit() []RateLimit

func (*UnreadlineRes) SetOffline

func (r *UnreadlineRes) SetOffline()

func (*UnreadlineRes) SetRateLimits

func (r *UnreadlineRes) SetRateLimits(rl []RateLimit)

type UnverifiedInboxUIItem added in v1.0.28

type UnverifiedInboxUIItem struct {
	ConvID          ConvIDStr                      `codec:"convID" json:"convID"`
	TlfID           TLFIDStr                       `codec:"tlfID" json:"tlfID"`
	TopicType       TopicType                      `codec:"topicType" json:"topicType"`
	IsPublic        bool                           `codec:"isPublic" json:"isPublic"`
	IsDefaultConv   bool                           `codec:"isDefaultConv" json:"isDefaultConv"`
	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"`
	LocalVersion    LocalConversationVers          `codec:"localVersion" json:"localVersion"`
	ConvRetention   *RetentionPolicy               `codec:"convRetention,omitempty" json:"convRetention,omitempty"`
	TeamRetention   *RetentionPolicy               `codec:"teamRetention,omitempty" json:"teamRetention,omitempty"`
	MaxMsgID        MessageID                      `codec:"maxMsgID" json:"maxMsgID"`
	MaxVisibleMsgID MessageID                      `codec:"maxVisibleMsgID" json:"maxVisibleMsgID"`
	ReadMsgID       MessageID                      `codec:"readMsgID" json:"readMsgID"`
	LocalMetadata   *UnverifiedInboxUIItemMetadata `codec:"localMetadata,omitempty" json:"localMetadata,omitempty"`
	Draft           *string                        `codec:"draft,omitempty" json:"draft,omitempty"`
	FinalizeInfo    *ConversationFinalizeInfo      `codec:"finalizeInfo,omitempty" json:"finalizeInfo,omitempty"`
	Supersedes      []ConversationMetadata         `codec:"supersedes" json:"supersedes"`
	SupersededBy    []ConversationMetadata         `codec:"supersededBy" json:"supersededBy"`
	Commands        ConversationCommandGroups      `codec:"commands" json:"commands"`
}

func (UnverifiedInboxUIItem) DeepCopy added in v1.0.28

type UnverifiedInboxUIItemMetadata added in v1.0.33

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

func (UnverifiedInboxUIItemMetadata) DeepCopy added in v1.0.33

type UnverifiedInboxUIItems added in v1.0.28

type UnverifiedInboxUIItems struct {
	Items   []UnverifiedInboxUIItem `codec:"items" json:"items"`
	Offline bool                    `codec:"offline" json:"offline"`
}

func (UnverifiedInboxUIItems) DeepCopy added in v1.0.28

type UpdateConversationMembership added in v1.0.27

type UpdateConversationMembership struct {
	InboxVers            InboxVers             `codec:"inboxVers" json:"inboxVers"`
	TeamMemberRoleUpdate *TeamMemberRoleUpdate `codec:"teamMemberRoleUpdate,omitempty" json:"teamMemberRoleUpdate,omitempty"`
	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 added in v1.0.27

type UpdateConversations

type UpdateConversations struct {
	InboxVers   InboxVers            `codec:"inboxVers" json:"inboxVers"`
	ConvUpdates []ConversationUpdate `codec:"convUpdates" json:"convUpdates"`
}

func (UpdateConversations) DeepCopy

type UpdateTypingArg added in v1.0.27

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

type UpdateTypingRemoteArg added in v1.0.27

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"`
}

type UpdateUnsentTextArg

type UpdateUnsentTextArg struct {
	ConversationID ConversationID `codec:"conversationID" json:"conversationID"`
	TlfName        string         `codec:"tlfName" json:"tlfName"`
	Text           string         `codec:"text" json:"text"`
}

type UpgradeKBFSConversationToImpteamArg added in v1.0.41

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

type UpgradeKBFSToImpteamArg added in v1.0.41

type UpgradeKBFSToImpteamArg struct {
	TlfID  TLFID           `codec:"tlfID" json:"tlfID"`
	TeamID keybase1.TeamID `codec:"teamID" json:"teamID"`
}

type UserBotCommandInput

type UserBotCommandInput struct {
	Name                string                      `codec:"name" json:"name"`
	Description         string                      `codec:"description" json:"description"`
	Usage               string                      `codec:"usage" json:"usage"`
	ExtendedDescription *UserBotExtendedDescription `codec:"extendedDescription,omitempty" json:"extended_description,omitempty"`
}

func (UserBotCommandInput) DeepCopy

func (UserBotCommandInput) ToOutput

func (c UserBotCommandInput) ToOutput(username string) UserBotCommandOutput

type UserBotCommandOutput

type UserBotCommandOutput struct {
	Name                string                      `codec:"name" json:"name"`
	Description         string                      `codec:"description" json:"description"`
	Usage               string                      `codec:"usage" json:"usage"`
	ExtendedDescription *UserBotExtendedDescription `codec:"extendedDescription,omitempty" json:"extended_description,omitempty"`
	Username            string                      `codec:"username" json:"username"`
}

func (UserBotCommandOutput) DeepCopy

func (UserBotCommandOutput) Matches

func (c UserBotCommandOutput) Matches(text string) bool

type UserBotExtendedDescription

type UserBotExtendedDescription struct {
	Title       string `codec:"title" json:"title"`
	DesktopBody string `codec:"desktopBody" json:"desktop_body"`
	MobileBody  string `codec:"mobileBody" json:"mobile_body"`
}

func (UserBotExtendedDescription) DeepCopy

type VersionKind

type VersionKind string
const (
	VersionErrorMessageBoxed VersionKind = "messageboxed"
	VersionErrorHeader       VersionKind = "header"
	VersionErrorBody         VersionKind = "body"
)

func (VersionKind) DeepCopy

func (o VersionKind) DeepCopy() VersionKind

type WalletClient

type WalletClient struct {
	Cli rpc.GenericClient
}

type WalletInterface

type WalletInterface interface {
}

type WelcomeMessage

type WelcomeMessage struct {
	Set bool   `codec:"set" json:"set"`
	Raw string `codec:"raw" json:"raw"`
}

func (WelcomeMessage) DeepCopy

func (o WelcomeMessage) DeepCopy() WelcomeMessage

type WelcomeMessageDisplay

type WelcomeMessageDisplay struct {
	Set     bool   `codec:"set" json:"set"`
	Display string `codec:"display" json:"display"`
	Raw     string `codec:"raw" json:"raw"`
}

func (WelcomeMessageDisplay) DeepCopy

Jump to

Keyboard shortcuts

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