table

package
v0.0.0-...-a833e92 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SPTable = map[string]string{
	"removeAllRequestsFromAdminApprovalQueue":     "LSRemoveAllRequestsFromAdminApprovalQueue",
	"updateThreadApprovalMode":                    "LSUpdateThreadApprovalMode",
	"updateThreadTheme":                           "LSUpdateThreadTheme",
	"deleteRtcRoomOnThread":                       "LSDeleteRtcRoomOnThread",
	"removeParticipantFromThread":                 "LSRemoveParticipantFromThread",
	"moveThreadToArchivedFolder":                  "LSMoveThreadToArchivedFolder",
	"setThreadCannotUnsendReason":                 "LSSetThreadCannotUnsendReason",
	"clearLocalThreadPictureUrl":                  "LSClearLocalThreadPictureUrl",
	"updateInviterId":                             "LSUpdateInviterId",
	"addToMemberCount":                            "LSAddToMemberCount",
	"updateOrInsertThread":                        "LSUpdateOrInsertThread",
	"issueNewTask":                                "LSIssueNewTask",
	"deleteThenInsertIGContactInfo":               "LSDeleteThenInsertIGContactInfo",
	"hasMatchingAttachmentCTA":                    "LSHasMatchingAttachmentCTA",
	"updateAttachmentCtaAtIndexIgnoringAuthority": "LSUpdateAttachmentCtaAtIndexIgnoringAuthority",
	"updateAttachmentItemCtaAtIndex":              "LSUpdateAttachmentItemCtaAtIndex",
	"insertAttachmentCta":                         "LSInsertAttachmentCta",
	"getFirstAvailableAttachmentCTAID":            "LSGetFirstAvailableAttachmentCTAID",
	"insertAttachmentItem":                        "LSInsertAttachmentItem",
	"updateParentFolderReadWatermark":             "LSUpdateParentFolderReadWatermark",
	"markThreadRead":                              "LSMarkThreadRead",
	"truncatePresenceDatabase":                    "LSTruncatePresenceDatabase",
	"deleteThenInsertContactPresence":             "LSDeleteThenInsertContactPresence",
	"deleteThenInsertIgThreadInfo":                "LSDeleteThenInsertIgThreadInfo",
	"deleteThenInsertMessageRequest":              "LSDeleteThenInsertMessageRequest",
	"replaceOptimisticReaction":                   "LSReplaceOptimisticReaction",
	"queryAdditionalGroupThreads":                 "LSQueryAdditionalGroupThreads",
	"writeCTAIdToThreadsTable":                    "LSWriteCTAIdToThreadsTable",
	"mailboxTaskCompletionApiOnTaskCompletion":    "LSMailboxTaskCompletionApiOnTaskCompletion",
	"updateMessagesOptimisticContext":             "LSUpdateMessagesOptimisticContext",
	"setMessageTextHasLinks":                      "LSSetMessageTextHasLinks",
	"syncUpdateThreadName":                        "LSSyncUpdateThreadName",
	"insertSearchSection":                         "LSInsertSearchSection",
	"insertSearchResult":                          "LSInsertSearchResult",
	"updateSearchQueryStatus":                     "LSUpdateSearchQueryStatus",
	"changeViewerStatus":                          "LSChangeViewerStatus",
	"updateParticipantCapabilities":               "LSUpdateParticipantCapabilities",
	"overwriteAllThreadParticipantsAdminStatus":   "LSOverwriteAllThreadParticipantsAdminStatus",
	"updateParticipantSubscribeSourceText":        "LSUpdateParticipantSubscribeSourceText",
	"updateThreadParticipantAdminStatus":          "LSUpdateThreadParticipantAdminStatus",
	"updateThreadInviteLinksInfo":                 "LSUpdateThreadInviteLinksInfo",
	"appendDataTraceAddon":                        "LSAppendDataTraceAddon",
	"removeAllParticipantsForThread":              "LSRemoveAllParticipantsForThread",
	"applyNewGroupThread":                         "LSApplyNewGroupThread",
	"replaceOptimisticThread":                     "LSReplaceOptimisticThread",
	"updateOptimisticContextThreadKeys":           "LSUpdateOptimisticContextThreadKeys",
	"replaceOptimsiticMessage":                    "LSReplaceOptimsiticMessage",
	"updateTaskQueueName":                         "LSUpdateTaskQueueName",
	"updateTaskValue":                             "LSUpdateTaskValue",
	"updateDeliveryReceipt":                       "LSUpdateDeliveryReceipt",
	"deleteBannersByIds":                          "LSDeleteBannersByIds",
	"truncateTablesForSyncGroup":                  "LSTruncateTablesForSyncGroup",
	"insertXmaAttachment":                         "LSInsertXmaAttachment",
	"insertNewMessageRange":                       "LSInsertNewMessageRange",
	"threadsRangesQuery":                          "LSThreadsRangesQuery",
	"updateThreadSnippetFromLastMessage":          "LSUpdateThreadSnippetFromLastMessage",
	"upsertInboxThreadsRange":                     "LSUpsertInboxThreadsRange",
	"deleteThenInsertThread":                      "LSDeleteThenInsertThread",
	"addParticipantIdToGroupThread":               "LSAddParticipantIdToGroupThread",
	"upsertMessage":                               "LSUpsertMessage",
	"clearPinnedMessages":                         "LSClearPinnedMessages",
	"mciTraceLog":                                 "LSMciTraceLog",
	"insertBlobAttachment":                        "LSInsertBlobAttachment",
	"updateUnsentMessageCollapsedStatus":          "LSUpdateUnsentMessageCollapsedStatus",
	"executeFirstBlockForSyncTransaction":         "LSExecuteFirstBlockForSyncTransaction",
	"updateThreadsRangesV2":                       "LSUpdateThreadsRangesV2",
	"upsertSyncGroupThreadsRange":                 "LSUpsertSyncGroupThreadsRange",
	"upsertFolderSeenTimestamp":                   "LSUpsertFolderSeenTimestamp",
	"setHMPSStatus":                               "LSSetHMPSStatus",
	"handleRepliesOnUnsend":                       "LSHandleRepliesOnUnsend",
	"deleteExistingMessageRanges":                 "LSDeleteExistingMessageRanges",
	"writeThreadCapabilities":                     "LSWriteThreadCapabilities",
	"upsertSequenceId":                            "LSUpsertSequenceId",
	"executeFinallyBlockForSyncTransaction":       "LSExecuteFinallyBlockForSyncTransaction",
	"verifyContactRowExists":                      "LSVerifyContactRowExists",
	"taskExists":                                  "LSTaskExists",
	"removeTask":                                  "LSRemoveTask",
	"deleteThenInsertMessage":                     "LSDeleteThenInsertMessage",
	"deleteThenInsertContact":                     "LSDeleteThenInsertContact",
	"updateTypingIndicator":                       "LSUpdateTypingIndicator",
	"checkAuthoritativeMessageExists":             "LSCheckAuthoritativeMessageExists",
	"moveThreadToInboxAndUpdateParent":            "LSMoveThreadToInboxAndUpdateParent",
	"updateThreadSnippet":                         "LSUpdateThreadSnippet",
	"setMessageDisplayedContentTypes":             "LSSetMessageDisplayedContentTypes",
	"verifyThreadExists":                          "LSVerifyThreadExists",
	"updateReadReceipt":                           "LSUpdateReadReceipt",
	"setForwardScore":                             "LSSetForwardScore",
	"upsertReaction":                              "LSUpsertReaction",
	"bumpThread":                                  "LSBumpThread",
	"updateParticipantLastMessageSendTimestamp":   "LSUpdateParticipantLastMessageSendTimestamp",
	"insertMessage":                               "LSInsertMessage",
	"upsertTheme":                                 "LSUpsertTheme",
	"upsertGradientColor":                         "LSUpsertGradientColor",
	"insertStickerAttachment":                     "LSInsertStickerAttachment",
	"updateForRollCallMessageDeleted":             "LSUpdateForRollCallMessageDeleted",
}

Functions

func SPToDepMap

func SPToDepMap(sp []string) map[string]string

Types

type AppState

type AppState int64
const (
	BACKGROUND AppState = 0 // not active
	FOREGROUND AppState = 1 // active
)

type ContactViewerRelationship

type ContactViewerRelationship int64
const (
	UNKNOWN_RELATIONSHIP ContactViewerRelationship = 0
	NOT_CONTACT          ContactViewerRelationship = 1
	CONTACT_OF_VIEWER    ContactViewerRelationship = 2
	FACEBOOK_FRIEND      ContactViewerRelationship = 3
	SOFT_CONTACT         ContactViewerRelationship = 4
)

type DisplayedContentTypes

type DisplayedContentTypes int64
const (
	TEXT_MSG DisplayedContentTypes = 1
)

type FolderType

type FolderType int64
const (
	INBOX    FolderType = 0
	PENDING  FolderType = 1
	OTHER    FolderType = 2
	SPAM     FolderType = 3
	ARCHIVED FolderType = 4
	HIDDEN   FolderType = 5
)

type Gender

type Gender int64
const (
	NOT_A_PERSON          Gender = 0
	FEMALE_SINGULAR       Gender = 1
	MALE_SINGULAR         Gender = 2
	FEMALE_SINGULAR_GUESS Gender = 3
	MALE_SINGULAR_GUESS   Gender = 4
	MIXED_UNKNOWN         Gender = 5
	NEUTER_SINGULAR       Gender = 6
	UNKNOWN_SINGULAR      Gender = 7
	FEMALE_PLURAL         Gender = 8
	MALE_PLURAL           Gender = 9
	NEUTER_PLURAL         Gender = 10
	UNKNOWN_PLURAL        Gender = 11
)

type InitiatingSource

type InitiatingSource int64
const (
	FACEBOOK_CHAT       InitiatingSource = 0
	FACEBOOK_INBOX      InitiatingSource = 1
	ROOMS_SIDE_CHAT     InitiatingSource = 2
	FACEBOOK_FULLSCREEN InitiatingSource = 3
)

type LSAddParticipantIdToGroupThread

type LSAddParticipantIdToGroupThread struct {
	ThreadKey                     int64  `index:"0"`
	ContactId                     int64  `index:"1"`
	ReadWatermarkTimestampMs      int64  `index:"2"`
	ReadActionTimestampMs         int64  `index:"3"`
	DeliveredWatermarkTimestampMs int64  `index:"4"`
	Nickname                      string `index:"5"`
	IsAdmin                       bool   `index:"6"`
	SubscribeSource               string `index:"7"`
	AuthorityLevel                int64  `index:"9"`
	NormalizedSearchTerms         string `index:"10"`
	IsSuperAdmin                  bool   `index:"11"`
	ThreadRoles                   int64  `index:"12"`
}

type LSAddToMemberCount

type LSAddToMemberCount struct {
	ThreadKey      int64 `index:"0"`
	IncrementCount int64 `index:"1"`
}

type LSAppendDataTraceAddon

type LSAppendDataTraceAddon struct {
	TraceId      string `index:"0"`
	CheckPointId int64  `index:"1"`
	SyncChannel  int64  `index:"2"`
	ErrorMessage string `index:"3"`
	Tags         string `index:"4"`
}

type LSApplyNewGroupThread

type LSApplyNewGroupThread struct {
	OtidOfFirstMessage           string     `index:"0"`
	ThreadKey                    int64      `index:"1"`
	ThreadType                   ThreadType `index:"2"`
	FolderName                   string     `index:"3"`
	ParentThreadKey              int64      `index:"4"`
	ThreadPictureUrlFallback     string     `index:"5"`
	LastActivityTimestampMs      int64      `index:"6"`
	LastReadWatermarkTimestampMs int64      `index:"6"`
	NullstateDescriptionText1    string     `index:"8"`
	NullstateDescriptionType1    int64      `index:"9"`
	NullstateDescriptionText2    string     `index:"10"`
	NullstateDescriptionType2    int64      `index:"11"`
	CannotUnsendReason           int64      `index:"12"`
	Capabilities                 int64      `index:"13"`
	InviterId                    int64      `index:"14"`
	IgFolder                     int64      `index:"15"`
	ThreadSubtype                int64      `index:"16"`
}

type LSBumpThread

type LSBumpThread struct {
	LastReadWatermarkTimestampMs int64            `index:"0"`
	BumpStatus                   ThreadBumpStatus `index:"1"`
	ThreadKey                    int64            `index:"2"`
}

func (LSBumpThread) GetFolderName

func (lsui LSBumpThread) GetFolderName() string

func (LSBumpThread) GetLastReadWatermarkTimestampMs

func (lsui LSBumpThread) GetLastReadWatermarkTimestampMs() int64

func (LSBumpThread) GetThreadDescription

func (lsui LSBumpThread) GetThreadDescription() string

func (LSBumpThread) GetThreadKey

func (lsui LSBumpThread) GetThreadKey() int64

func (LSBumpThread) GetThreadName

func (lsui LSBumpThread) GetThreadName() string

func (LSBumpThread) GetThreadType

func (lsui LSBumpThread) GetThreadType() ThreadType

type LSChangeViewerStatus

type LSChangeViewerStatus struct {
	ThreadKey         int64  `index:"0"`
	CannotReplyReason string `index:"1"`
}

type LSCheckAuthoritativeMessageExists

type LSCheckAuthoritativeMessageExists struct {
	ThreadKey          int64  `index:"0"`
	OfflineThreadingId string `index:"1"`
}

type LSClearLocalThreadPictureUrl

type LSClearLocalThreadPictureUrl struct {
	ThreadKey int64 `index:"0"`
}

type LSClearPinnedMessages

type LSClearPinnedMessages struct {
	ThreadKey int64 `index:"0"`
}

Instructs the client to clear pinned messages (delete by ThreadKey)

type LSDeleteBannersByIds

type LSDeleteBannersByIds struct {
	ThreadKey int64 `index:"0"`
}

type LSDeleteExistingMessageRanges

type LSDeleteExistingMessageRanges struct {
	ConsistentThreadFbid int64 `index:"0"`
}

type LSDeleteReaction

type LSDeleteReaction struct {
	ThreadKey int64  `index:"0"`
	MessageId string `index:"1"`
	ActorId   int64  `index:"2"`
}

type LSDeleteRtcRoomOnThread

type LSDeleteRtcRoomOnThread struct {
	ThreadKey int64 `index:"0"`
}

type LSDeleteThenInsertContact

type LSDeleteThenInsertContact struct {
	Id                                          int64                     `index:"0"`
	ProfileRingState                            int64                     `index:"0"`
	ProfilePictureUrl                           string                    `index:"2"`
	ProfilePictureFallbackUrl                   string                    `index:"3"`
	ProfilePictureUrlExpirationTimestampMs      int64                     `index:"4"`
	ProfilePictureLargeUrl                      string                    `index:"5"`
	ProfilePictureLargeFallbackUrl              string                    `index:"6"`
	ProfilePictureLargeUrlExpirationTimestampMs int64                     `index:"7"`
	Name                                        string                    `index:"9"`
	NormalizedNameForSearch                     string                    `index:"10"`
	IsMessengerUser                             bool                      `index:"11"`
	IsMemorialized                              bool                      `index:"12"`
	BlockedByViewerStatus                       int64                     `index:"14"`
	Rank                                        float64                   `index:"17"`
	FirstName                                   string                    `index:"18"`
	ContactType                                 int64                     `index:"19"`
	ContactTypeExact                            int64                     `index:"20"`
	AuthorityLevel                              int64                     `index:"21"`
	MessengerCallLogThirdPartyId                string                    `index:"22"`
	ProfileRingColor                            int64                     `index:"23"`
	RequiresMultiway                            bool                      `index:"24"`
	BlockedSinceTimestampMs                     int64                     `index:"25"`
	CanViewerMessage                            bool                      `index:"26"`
	ProfileRingColorExpirationTimestampMs       int64                     `index:"27"`
	PhoneNumber                                 int64                     `index:"28"`
	EmailAddress                                string                    `index:"29"`
	WorkCompanyId                               int64                     `index:"30"`
	WorkCompanyName                             string                    `index:"31"`
	WorkJobTitle                                string                    `index:"32"`
	NormalizedSearchTerms                       string                    `index:"33"`
	DeviceContactId                             int64                     `index:"34"`
	IsManagedByViewer                           bool                      `index:"35"`
	WorkForeignEntityType                       int64                     `index:"36"`
	Capabilities                                int64                     `index:"37"`
	Capabilities2                               int64                     `index:"38"`
	ContactViewerRelationship                   ContactViewerRelationship `index:"39"`
	Gender                                      Gender                    `index:"40"`
	SecondaryName                               string                    `index:"41"`
	ContactReachabilityStatusType               int64                     `index:"43"`
	RestrictionType                             int64                     `index:"44"`
	WaConnectStatus                             int64                     `index:"45"`
	FbUnblockedSinceTimestampMs                 int64                     `index:"46"`
}

type LSDeleteThenInsertContactPresence

type LSDeleteThenInsertContactPresence struct {
	ContactId             int64  `index:"0"`
	Status                int64  `index:"1"` // make enum ?
	LastActiveTimestampMs int64  `index:"2"`
	ExpirationTimestampMs int64  `index:"3"`
	Capabilities          int64  `index:"4"`
	PublishId             string `index:"5"`
}

type LSDeleteThenInsertIGContactInfo

type LSDeleteThenInsertIGContactInfo struct {
	ContactId                int64  `index:"0"`
	IgId                     string `index:"1"`
	LinkedFbid               int64  `index:"2"`
	IgFollowStatus           int64  `index:"4"`
	VerificationStatus       int64  `index:"5"`
	E2eeEligibility          int64  `index:"6"`
	SupportsE2eeSpamdStorage bool   `index:"7"`
}

type LSDeleteThenInsertIgThreadInfo

type LSDeleteThenInsertIgThreadInfo struct {
	ThreadKey  int64  `index:"0"`
	IgThreadId string `index:"1"`
}

type LSDeleteThenInsertMessage

type LSDeleteThenInsertMessage struct {
	Text                            string `index:"0"`
	SubscriptErrorMessage           int64  `index:"1"`
	AuthorityLevel                  int64  `index:"2"`
	ThreadKey                       int64  `index:"3"`
	TimestampMs                     int64  `index:"5"`
	PrimarySortKey                  int64  `index:"6"`
	SecondarySortKey                int64  `index:"7"`
	MessageId                       string `index:"8"`
	OfflineThreadingId              string `index:"9"`
	SenderId                        int64  `index:"10"`
	StickerId                       int64  `index:"11"`
	IsAdminMessage                  bool   `index:"12"`
	MessageRenderingType            int64  `index:"13"`
	SendStatus                      int64  `index:"15"`
	SendStatusV2                    int64  `index:"16"`
	IsUnsent                        bool   `index:"17"`
	UnsentTimestampMs               int64  `index:"18"`
	MentionOffsets                  int64  `index:"19"`
	MentionLengths                  int64  `index:"20"`
	MentionIds                      int64  `index:"21"`
	MentionTypes                    int64  `index:"22"`
	ReplySourceId                   int64  `index:"23"`
	ReplySourceType                 int64  `index:"24"`
	ReplySourceTypeV2               int64  `index:"25"`
	ReplyStatus                     int64  `index:"26"`
	ReplySnippet                    int64  `index:"27"`
	ReplyMessageText                int64  `index:"28"`
	ReplyToUserId                   int64  `index:"29"`
	ReplyMediaExpirationTimestampMs int64  `index:"30"`
	ReplyMediaUrl                   int64  `index:"31"`
	ReplyMediaPreviewWidth          int64  `index:"33"`
	ReplyMediaPreviewHeight         int64  `index:"34"`
	ReplyMediaUrlMimeType           int64  `index:"35"`
	ReplyMediaUrlFallback           int64  `index:"36"`
	ReplyCtaId                      int64  `index:"37"`
	ReplyCtaTitle                   int64  `index:"38"`
	ReplyAttachmentType             int64  `index:"39"`
	ReplyAttachmentId               int64  `index:"40"`
	ReplyAttachmentExtra            int64  `index:"41"`
	IsForwarded                     bool   `index:"42"`
	ForwardScore                    int64  `index:"43"`
	HasQuickReplies                 bool   `index:"44"`
	AdminMsgCtaId                   int64  `index:"45"`
	AdminMsgCtaTitle                int64  `index:"46"`
	AdminMsgCtaType                 int64  `index:"47"`
	CannotUnsendReason              int64  `index:"48"`
	TextHasLinks                    bool   `index:"49"`
	ViewFlags                       int64  `index:"50"`
	DisplayedContentTypes           int64  `index:"51"`
	ViewedPluginKey                 int64  `index:"52"`
	ViewedPluginContext             int64  `index:"53"`
	QuickReplyType                  int64  `index:"54"`
	HotEmojiSize                    int64  `index:"55"`
	ReplySourceTimestampMs          int64  `index:"56"`
	EphemeralDurationInSec          int64  `index:"57"`
	MsUntilExpirationTs             int64  `index:"58"`
	EphemeralExpirationTs           int64  `index:"59"`
	TakedownState                   int64  `index:"60"`
	IsCollapsed                     bool   `index:"61"`
	SubthreadKey                    int64  `index:"62"`
	BotResponseId                   int64  `index:"63"`
	IsPaidPartnership               int64  `index:"64"`
}

type LSDeleteThenInsertMessageRequest

type LSDeleteThenInsertMessageRequest struct {
	ThreadKey            int64 `index:"0"`
	Unknown              int64 `index:"1"`
	MessageRequestStatus int64 `index:"2"` // make enum ?
}

type LSDeleteThenInsertThread

type LSDeleteThenInsertThread struct {
	LastActivityTimestampMs               int64      `index:"0"`
	LastReadWatermarkTimestampMs          int64      `index:"1"`
	Snippet                               string     `index:"2"`
	ThreadName                            string     `index:"3"`
	ThreadPictureUrl                      string     `index:"4"`
	NeedsAdminApprovalForNewParticipant   bool       `index:"5"`
	AuthorityLevel                        int64      `index:"6"`
	ThreadKey                             int64      `index:"7"`
	MailboxType                           int64      `index:"8"`
	ThreadType                            ThreadType `index:"9"`
	FolderName                            string     `index:"10"`
	ThreadPictureUrlFallback              string     `index:"11"`
	ThreadPictureUrlExpirationTimestampMs int64      `index:"12"`
	RemoveWatermarkTimestampMs            int64      `index:"13"`
	MuteExpireTimeMs                      int64      `index:"14"`
	MuteCallsExpireTimeMs                 int64      `index:"15"`
	GroupNotificationSettings             int64      `index:"16"`
	IsAdminSnippet                        bool       `index:"17"`
	SnippetSenderContactId                int64      `index:"18"`
	SnippetStringHash                     int64      `index:"21"`
	SnippetStringArgument1                int64      `index:"22"`
	SnippetAttribution                    int64      `index:"23"`
	SnippetAttributionStringHash          int64      `index:"24"`
	DisappearingSettingTtl                int64      `index:"25"`
	DisappearingSettingUpdatedTs          int64      `index:"26"`
	DisappearingSettingUpdatedBy          int64      `index:"27"`
	OngoingCallState                      int64      `index:"29"`
	CannotReplyReason                     int64      `index:"30"`
	CustomEmoji                           int64      `index:"31"`
	CustomEmojiImageUrl                   int64      `index:"32"`
	OutgoingBubbleColor                   int64      `index:"33"`
	ThemeFbid                             int64      `index:"34"`
	ParentThreadKey                       int64      `index:"35"`
	NullstateDescriptionText1             string     `index:"36"`
	NullstateDescriptionType1             int64      `index:"37"`
	NullstateDescriptionText2             string     `index:"38"`
	NullstateDescriptionType2             int64      `index:"39"`
	NullstateDescriptionText3             string     `index:"40"`
	NullstateDescriptionType3             int64      `index:"41"`
	SnippetHasEmoji                       bool       `index:"42"`
	HasPersistentMenu                     bool       `index:"43"`
	DisableComposerInput                  bool       `index:"44"`
	CannotUnsendReason                    int64      `index:"45"`
	ViewedPluginKey                       int64      `index:"46"`
	ViewedPluginContext                   int64      `index:"47"`
	ClientThreadKey                       int64      `index:"48"`
	Capabilities                          int64      `index:"49"`
	ShouldRoundThreadPicture              int64      `index:"50"`
	ProactiveWarningDismissTime           int64      `index:"51"`
	IsCustomThreadPicture                 bool       `index:"52"`
	OtidOfFirstMessage                    int64      `index:"53"`
	NormalizedSearchTerms                 string     `index:"54"`
	AdditionalThreadContext               int64      `index:"55"`
	DisappearingThreadKey                 int64      `index:"56"`
	IsDisappearingMode                    bool       `index:"57"`
	DisappearingModeInitiator             int64      `index:"58"`
	UnreadDisappearingMessageCount        int64      `index:"59"`
	LastMessageCtaId                      int64      `index:"61"`
	LastMessageCtaType                    int64      `index:"62"`
	ConsistentThreadFbid                  int64      `index:"63"`
	ThreadDescription                     string     `index:"64"`
	UnsendLimitMs                         int64      `index:"65"`
	SyncGroup                             int64      `index:"66"`
	ThreadInvitesEnabled                  int64      `index:"67"`
	ThreadInviteLink                      string     `index:"68"`
	NumUnreadSubthreads                   int64      `index:"69"`
	SubthreadCount                        int64      `index:"70"`
	ThreadInvitesEnabledV2                int64      `index:"71"`
	EventStartTimestampMs                 int64      `index:"72"`
	EventEndTimestampMs                   int64      `index:"73"`
	TakedownState                         int64      `index:"74"`
	MemberCount                           int64      `index:"75"`
	SecondaryParentThreadKey              int64      `index:"76"`
	IgFolder                              int64      `index:"77"`
	InviterId                             int64      `index:"78"`
	ThreadTags                            int64      `index:"79"`
	ThreadStatus                          int64      `index:"80"`
	ThreadSubtype                         int64      `index:"81"`
	PauseThreadTimestamp                  int64      `index:"82"`
}

func (LSDeleteThenInsertThread) GetFolderName

func (lsdt LSDeleteThenInsertThread) GetFolderName() string

func (LSDeleteThenInsertThread) GetLastReadWatermarkTimestampMs

func (lsdt LSDeleteThenInsertThread) GetLastReadWatermarkTimestampMs() int64

func (LSDeleteThenInsertThread) GetThreadDescription

func (lsdt LSDeleteThenInsertThread) GetThreadDescription() string

func (LSDeleteThenInsertThread) GetThreadKey

func (lsdt LSDeleteThenInsertThread) GetThreadKey() int64

func (LSDeleteThenInsertThread) GetThreadName

func (lsdt LSDeleteThenInsertThread) GetThreadName() string

func (LSDeleteThenInsertThread) GetThreadType

func (lsdt LSDeleteThenInsertThread) GetThreadType() ThreadType

type LSExecuteFinallyBlockForSyncTransaction

type LSExecuteFinallyBlockForSyncTransaction struct {
	ShouldFlush    bool  `index:"0"` // shouldFlush ? should sync ?
	SyncDatabaseId int64 `index:"1"`
	EpochId        int64 `index:"2"`
}

type LSExecuteFirstBlockForSyncTransaction

type LSExecuteFirstBlockForSyncTransaction struct {
	DatabaseId               int64  `index:"0"`
	EpochId                  int64  `index:"1"`
	CurrentCursor            string `index:"2"`
	NextCursor               string `index:"3"`
	SyncStatus               int64  `index:"4"`
	SendSyncParams           bool   `index:"5"`
	MinTimeToSyncTimestampMs int64  `index:"6"` // fix this, use conditionIndex
	CanIgnoreTimestamp       bool   `index:"7"`
	SyncChannel              int64  `index:"8"`
}

type LSGetFirstAvailableAttachmentCTAID

type LSGetFirstAvailableAttachmentCTAID struct{}

type LSHandleRepliesOnUnsend

type LSHandleRepliesOnUnsend struct {
	ThreadKey int64  `index:"0"`
	MessageId string `index:"1"`
}

type LSHasMatchingAttachmentCTA

type LSHasMatchingAttachmentCTA struct {
	ThreadKey      int64  `index:"0"`
	AttachmentFbid string `index:"1"`
}

type LSInsertAttachmentCta

type LSInsertAttachmentCta struct {
	CtaId               int64  `index:"0"`
	AttachmentFbid      string `index:"1"`
	AttachmentIndex     int64  `index:"2"`
	ThreadKey           int64  `index:"3"`
	MessageId           string `index:"5"`
	Title               string `index:"6"`
	Type_               string `index:"7"`
	PlatformToken       int64  `index:"8"`
	ActionUrl           string `index:"9"`
	NativeUrl           string `index:"10"`
	UrlWebviewType      int64  `index:"11"`
	ActionContentBlob   int64  `index:"12"`
	EnableExtensions    bool   `index:"13"`
	ExtensionHeightType int64  `index:"14"`
	TargetId            int64  `index:"15"`
}

type LSInsertAttachmentItem

type LSInsertAttachmentItem struct {
	AttachmentFbid                   string `index:"0"`
	AttachmentIndex                  int64  `index:"1"`
	ThreadKey                        int64  `index:"2"`
	MessageId                        string `index:"4"`
	OriginalPageSenderId             int64  `index:"7"`
	TitleText                        string `index:"8"`
	SubtitleText                     string `index:"9"`
	PlayableUrl                      string `index:"12"`
	PlayableUrlFallback              string `index:"13"`
	PlayableUrlExpirationTimestampMs int64  `index:"14"`
	PlayableUrlMimeType              string `index:"15"`
	DashManifest                     string `index:"16"`
	PreviewUrl                       string `index:"17"`
	PreviewUrlFallback               string `index:"18"`
	PreviewUrlExpirationTimestampMs  int64  `index:"19"`
	PreviewUrlMimeType               string `index:"20"`
	PreviewWidth                     int64  `index:"21"`
	PreviewHeight                    int64  `index:"22"`
	ImageUrl                         string `index:"23"`
	DefaultCtaId                     int64  `index:"24"`
	DefaultCtaTitle                  string `index:"25"`
	DefaultCtaType                   int64  `index:"26"`
	DefaultButtonType                int64  `index:"28"`
	DefaultActionUrl                 string `index:"29"`
	DefaultActionEnableExtensions    bool   `index:"30"`
	DefaultWebviewHeightRatio        int64  `index:"32"`
	AttachmentCta1Id                 int64  `index:"34"`
	Cta1Title                        string `index:"35"`
	Cta1IconType                     int64  `index:"36"`
	Cta1Type                         int64  `index:"37"`
	AttachmentCta2Id                 int64  `index:"39"`
	Cta2Title                        string `index:"40"`
	Cta2IconType                     int64  `index:"41"`
	Cta2Type                         int64  `index:"42"`
	AttachmentCta3Id                 int64  `index:"44"`
	Cta3Title                        string `index:"45"`
	Cta3IconType                     int64  `index:"46"`
	Cta3Type                         int64  `index:"47"`
	FaviconUrl                       string `index:"48"`
	FaviconUrlFallback               string `index:"49"`
	FaviconUrlExpirationTimestampMs  int64  `index:"50"`
	PreviewUrlLarge                  string `index:"51"`
}

type LSInsertBlobAttachment

type LSInsertBlobAttachment struct {
	Filename                                   string `index:"0"`
	Filesize                                   int64  `index:"1"`
	HasMedia                                   bool   `index:"2"`
	PlayableUrl                                string `index:"3"`
	PlayableUrlFallback                        string `index:"4"`
	PlayableUrlExpirationTimestampMs           int64  `index:"5"`
	PlayableUrlMimeType                        string `index:"6"`
	DashManifest                               string `index:"7"`
	PreviewUrl                                 string `index:"8"`
	PreviewUrlFallback                         string `index:"9"`
	PreviewUrlExpirationTimestampMs            int64  `index:"10"`
	PreviewUrlMimeType                         string `index:"11"`
	MiniPreview                                int64  `index:"13"`
	PreviewWidth                               int64  `index:"14"`
	PreviewHeight                              int64  `index:"15"`
	AttributionAppId                           int64  `index:"16"`
	AttributionAppName                         string `index:"17"`
	AttributionAppIcon                         string `index:"18"`
	AttributionAppIconFallback                 int64  `index:"19"`
	AttributionAppIconUrlExpirationTimestampMs int64  `index:"20"`
	LocalPlayableUrl                           int64  `index:"21"`
	PlayableDurationMs                         int64  `index:"22"`
	AttachmentIndex                            int64  `index:"23"`
	AccessibilitySummaryText                   int64  `index:"24"`
	IsPreviewImage                             bool   `index:"25"`
	OriginalFileHash                           string `index:"26"`
	ThreadKey                                  int64  `index:"27"`
	AttachmentType                             int64  `index:"29"`
	TimestampMs                                int64  `index:"31"`
	MessageId                                  string `index:"32"`
	OfflineAttachmentId                        string `index:"33"`
	AttachmentFbid                             string `index:"34"`
	HasXma                                     bool   `index:"35"`
	XmaLayoutType                              int64  `index:"36"`
	XmasTemplateType                           int64  `index:"37"`
	TitleText                                  string `index:"38"`
	SubtitleText                               string `index:"39"`
	DescriptionText                            string `index:"40"`
	SourceText                                 string `index:"41"`
	FaviconUrlExpirationTimestampMs            int64  `index:"42"`
	IsBorderless                               bool   `index:"44"`
	PreviewUrlLarge                            string `index:"45"`
	SamplingFrequencyHz                        int64  `index:"46"`
	WaveformData                               string `index:"47"`
	AuthorityLevel                             int64  `index:"48"`
}

type LSInsertMessage

type LSInsertMessage struct {
	Text                            string                     `index:"0"`
	SubscriptErrorMessage           string                     `index:"1"`
	AuthorityLevel                  int64                      `index:"2"`
	ThreadKey                       int64                      `index:"3"`
	TimestampMs                     int64                      `index:"5"`
	PrimarySortKey                  int64                      `index:"6"`
	SecondarySortKey                int64                      `index:"7"`
	MessageId                       string                     `index:"8"`
	OfflineThreadingId              string                     `index:"9"`
	SenderId                        int64                      `index:"10"`
	StickerId                       int64                      `index:"11"`
	IsAdminMessage                  bool                       `index:"12"`
	MessageRenderingType            int64                      `index:"13"`
	SendStatus                      int64                      `index:"15"`
	SendStatusV2                    int64                      `index:"16"`
	IsUnsent                        bool                       `index:"17"`
	UnsentTimestampMs               int64                      `index:"18"`
	MentionOffsets                  int64                      `index:"19"`
	MentionLengths                  int64                      `index:"20"`
	MentionIds                      int64                      `index:"21"`
	MentionTypes                    int64                      `index:"22"`
	ReplySourceId                   int64                      `index:"23"`
	ReplySourceType                 int64                      `index:"24"`
	ReplySourceTypeV2               int64                      `index:"25"`
	ReplyStatus                     int64                      `index:"26"`
	ReplySnippet                    string                     `index:"27"`
	ReplyMessageText                string                     `index:"28"`
	ReplyToUserId                   int64                      `index:"29"`
	ReplyMediaExpirationTimestampMs int64                      `index:"30"`
	ReplyMediaUrl                   string                     `index:"31"`
	ReplyMediaPreviewWidth          int64                      `index:"33"`
	ReplyMediaPreviewHeight         int64                      `index:"34"`
	ReplyMediaUrlMimeType           int64                      `index:"35"`
	ReplyMediaUrlFallback           string                     `index:"36"`
	ReplyCtaId                      int64                      `index:"37"`
	ReplyCtaTitle                   string                     `index:"38"`
	ReplyAttachmentType             int64                      `index:"39"`
	ReplyAttachmentId               int64                      `index:"40"`
	ReplyAttachmentExtra            string                     `index:"41"`
	IsForwarded                     bool                       `index:"42"`
	ForwardScore                    int64                      `index:"43"`
	HasQuickReplies                 bool                       `index:"44"`
	AdminMsgCtaId                   int64                      `index:"45"`
	AdminMsgCtaTitle                string                     `index:"46"`
	AdminMsgCtaType                 int64                      `index:"47"`
	CannotUnsendReason              MessageUnsendabilityStatus `index:"48"`
	TextHasLinks                    bool                       `index:"49"`
	ViewFlags                       int64                      `index:"50"`
	DisplayedContentTypes           DisplayedContentTypes      `index:"51"`
	ViewedPluginKey                 int64                      `index:"52"`
	ViewedPluginContext             int64                      `index:"53"`
	QuickReplyType                  int64                      `index:"54"`
	HotEmojiSize                    int64                      `index:"55"`
	ReplySourceTimestampMs          int64                      `index:"56"`
	EphemeralDurationInSec          int64                      `index:"57"`
	MsUntilExpirationTs             int64                      `index:"58"`
	EphemeralExpirationTs           int64                      `index:"59"`
	TakedownState                   int64                      `index:"60"`
	IsCollapsed                     bool                       `index:"61"`
	SubthreadKey                    int64                      `index:"62"`
	IsPaidPartnership               bool                       `index:"63"`
}

type LSInsertNewMessageRange

type LSInsertNewMessageRange struct {
	ThreadKey              int64       `index:"0"`
	MinTimestampMsTemplate int64       `index:"1"`
	MaxTimestampMsTemplate int64       `index:"2"`
	MinMessageId           string      `index:"3"`
	MaxMessageId           string      `index:"4"`
	MaxTimestampMs         int64       `index:"5"`
	MinTimestampMs         int64       `index:"6"`
	HasMoreBefore          bool        `index:"7"`
	HasMoreAfter           bool        `index:"8"`
	Unknown                interface{} `index:"9"`
}

type LSInsertSearchResult

type LSInsertSearchResult struct {
	Query                     string `index:"0"`
	ResultId                  string `index:"1"`
	GlobalIndex               int64  `index:"2"`
	Type_                     int64  `index:"3"`
	ThreadType                int64  `index:"4"`
	DisplayName               string `index:"5"`
	ProfilePicUrl             string `index:"6"`
	SecondaryProfilePicUrl    string `index:"7"`
	ContextLine               string `index:"8"`
	MessageId                 string `index:"9"`
	MessageTimestampMs        int64  `index:"10"`
	BlockedByViewerStatus     int64  `index:"11"`
	IsVerified                bool   `index:"12"`
	IsInteropEligible         bool   `index:"13"`
	RestrictionType           int64  `index:"14"`
	IsGroupsXacEligible       bool   `index:"15"`
	IsInvitedToCmChannel      bool   `index:"16"`
	IsEligibleForCmInvite     bool   `index:"17"`
	CanViewerMessage          bool   `index:"18"`
	IsWaAddressable           bool   `index:"19"`
	WaEligibility             int64  `index:"20"`
	IsArmadilloTlcEligible    bool   `index:"21"`
	CommunityId               int64  `index:"22"`
	OtherUserId               int64  `index:"23"`
	ThreadJoinLinkHash        int64  `index:"24"`
	SupportsE2eeSpamdStorage  bool   `index:"25"`
	DefaultE2eeThreads        bool   `index:"26"`
	IsRestrictedByViewer      bool   `index:"27"`
	DefaultE2eeThreadOneToOne bool   `index:"28"`
	HasCutoverThread          bool   `index:"29"`
	IsViewerUnconnected       bool   `index:"30"`
	ResultIgid                string `index:"31"`
}

type LSInsertSearchSection

type LSInsertSearchSection struct {
	Query         string `index:"0"`
	GlobalIndex   int64  `index:"1"`
	DisplayName   string `index:"2"`
	AnalyticsName string `index:"3"`
	StartIndex    int64  `index:"4"`
	EndIndex      int64  `index:"5"`
}

type LSInsertStickerAttachment

type LSInsertStickerAttachment struct {
	PlayableUrl                      string `index:"0"`
	PlayableUrlFallback              string `index:"1"`
	PlayableUrlExpirationTimestampMs int64  `index:"2"`
	PlayableUrlMimeType              string `index:"3"`
	PreviewUrl                       string `index:"4"`
	PreviewUrlFallback               string `index:"5"`
	PreviewUrlExpirationTimestampMs  int64  `index:"6"`
	PreviewUrlMimeType               string `index:"7"`
	PreviewWidth                     int64  `index:"9"`
	PreviewHeight                    int64  `index:"10"`
	ImageUrlMimeType                 string `index:"11"`
	AttachmentIndex                  int64  `index:"12"`
	AccessibilitySummaryText         string `index:"13"`
	ThreadKey                        int64  `index:"14"`
	TimestampMs                      int64  `index:"17"`
	MessageId                        string `index:"18"`
	AttachmentFbid                   string `index:"19"`
	ImageUrl                         string `index:"20"`
	ImageUrlFallback                 string `index:"21"`
	ImageUrlExpirationTimestampMs    int64  `index:"22"`
	FaviconUrlExpirationTimestampMs  int64  `index:"23"`
	AvatarViewSize                   int64  `index:"25"`
	AvatarCount                      int64  `index:"26"`
	TargetId                         int64  `index:"27"`
	MustacheText                     string `index:"30"`
	AuthorityLevel                   int64  `index:"31"`
}

type LSInsertXmaAttachment

type LSInsertXmaAttachment struct {
	Filename                                   string `index:"1"`
	Filesize                                   int64  `index:"2"`
	IsSharable                                 bool   `index:"3"`
	PlayableUrl                                string `index:"4"`
	PlayableUrlFallback                        string `index:"5"`
	PlayableUrlExpirationTimestampMs           int64  `index:"6"`
	PlayableUrlMimeType                        string `index:"7"`
	PreviewUrl                                 string `index:"8"`
	PreviewUrlFallback                         string `index:"9"`
	PreviewUrlExpirationTimestampMs            int64  `index:"10"`
	PreviewUrlMimeType                         string `index:"11"`
	PreviewWidth                               int64  `index:"13"`
	PreviewHeight                              int64  `index:"14"`
	AttributionAppId                           int64  `index:"15"`
	AttributionAppName                         string `index:"16"`
	AttributionAppIcon                         int64  `index:"17"`
	AttributionAppIconFallback                 string `index:"18"`
	AttributionAppIconUrlExpirationTimestampMs int64  `index:"19"`
	AttachmentIndex                            int64  `index:"20"`
	AccessibilitySummaryText                   string `index:"21"`
	ShouldRespectServerPreviewSize             bool   `index:"22"`
	SubtitleIconUrl                            string `index:"23"`
	ShouldAutoplayVideo                        bool   `index:"24"`
	ThreadKey                                  int64  `index:"25"`
	AttachmentType                             int64  `index:"27"`
	TimestampMs                                int64  `index:"29"`
	MessageId                                  string `index:"30"`
	OfflineAttachmentId                        int64  `index:"31"`
	AttachmentFbid                             string `index:"32"`
	XmaLayoutType                              int64  `index:"33"`
	XmasTemplateType                           int64  `index:"34"`
	CollapsibleId                              int64  `index:"35"`
	DefaultCtaId                               int64  `index:"36"`
	DefaultCtaTitle                            int64  `index:"37"`
	DefaultCtaType                             int64  `index:"38"`
	AttachmentCta1Id                           int64  `index:"40"`
	Cta1Title                                  int64  `index:"41"`
	Cta1IconType                               int64  `index:"42"`
	Cta1Type                                   int64  `index:"43"`
	AttachmentCta2Id                           int64  `index:"45"`
	Cta2Title                                  int64  `index:"46"`
	Cta2IconType                               int64  `index:"47"`
	Cta2Type                                   int64  `index:"48"`
	AttachmentCta3Id                           int64  `index:"50"`
	Cta3Title                                  string `index:"51"`
	Cta3IconType                               int64  `index:"52"`
	Cta3Type                                   int64  `index:"53"`
	ImageUrl                                   int64  `string:"54"`
	ImageUrlFallback                           string `index:"55"`
	ImageUrlExpirationTimestampMs              int64  `index:"56"`
	ActionUrl                                  string `index:"57"`
	TitleText                                  string `index:"58"`
	SubtitleText                               string `index:"59"`
	SubtitleDecorationType                     int64  `index:"60"`
	MaxTitleNumOfLines                         int64  `index:"61"`
	MaxSubtitleNumOfLines                      int64  `index:"62"`
	DescriptionText                            string `index:"63"`
	SourceText                                 string `index:"64"`
	FaviconUrl                                 string `index:"65"`
	FaviconUrlFallback                         string `index:"66"`
	FaviconUrlExpirationTimestampMs            int64  `index:"67"`
	ListItemsId                                int64  `index:"69"`
	ListItemsDescriptionText                   string `index:"70"`
	ListItemsDescriptionSubtitleText           string `index:"71"`
	ListItemsSecondaryDescriptionText          string `index:"72"`
	ListItemId1                                int64  `index:"73"`
	ListItemTitleText1                         string `index:"74"`
	ListItemContactUrlList1                    int64  `index:"75"`
	ListItemProgressBarFilledPercentage1       int64  `index:"76"`
	ListItemContactUrlExpirationTimestampList1 int64  `index:"77"`
	ListItemContactUrlFallbackList1            int64  `index:"78"`
	ListItemAccessibilityText1                 string `index:"79"`
	ListItemTotalCount1                        int64  `index:"80"`
	ListItemId2                                int64  `index:"81"`
	ListItemTitleText2                         int64  `index:"82"`
	ListItemContactUrlList2                    int64  `index:"83"`
	ListItemProgressBarFilledPercentage2       int64  `index:"84"`
	ListItemContactUrlExpirationTimestampList2 int64  `index:"85"`
	ListItemContactUrlFallbackList2            int64  `index:"86"`
	ListItemAccessibilityText2                 int64  `index:"87"`
	ListItemTotalCount2                        int64  `index:"88"`
	ListItemId3                                int64  `index:"89"`
	ListItemTitleText3                         int64  `index:"90"`
	ListItemContactUrlList3                    int64  `index:"91"`
	ListItemProgressBarFilledPercentage3       int64  `index:"92"`
	ListItemContactUrlExpirationTimestampList3 int64  `index:"93"`
	ListItemContactUrlFallbackList3            int64  `index:"94"`
	ListItemAccessibilityText3                 int64  `index:"95"`
	ListItemTotalCount3                        int64  `index:"96"`
	IsBorderless                               bool   `index:"100"`
	HeaderImageUrlMimeType                     string `index:"101"`
	HeaderTitle                                string `index:"102"`
	HeaderSubtitleText                         string `index:"103"`
	HeaderImageUrl                             string `index:"104"`
	HeaderImageUrlFallback                     string `index:"105"`
	HeaderImageUrlExpirationTimestampMs        int64  `index:"106"`
	PreviewImageDecorationType                 int64  `index:"107"`
	ShouldHighlightHeaderTitleInTitle          bool   `index:"108"`
	TargetId                                   int64  `index:"109"`
	AttachmentLoggingType                      int64  `index:"112"`
	PreviewUrlLarge                            string `index:"114"`
	GatingType                                 int64  `index:"115"`
	GatingTitle                                string `index:"116"`
	TargetExpiryTimestampMs                    int64  `index:"117"`
	CountdownTimestampMs                       int64  `index:"118"`
	ShouldBlurSubattachments                   int64  `index:"119"`
	VerifiedType                               int64  `index:"120"`
	CaptionBodyText                            int64  `index:"121"`
	IsPublicXma                                int64  `index:"122"`
	ReplyCount                                 int64  `index:"123"`
	AuthorityLevel                             int64  `index:"124"`
}

type LSIssueNewTask

type LSIssueNewTask struct {
	QueueName                string `index:"0"`
	Context                  int64  `index:"1"`
	TaskValue                int64  `index:"2"`
	HttpUrlOverride          string `index:"3"`
	TimeoutTimestampMs       int64  `index:"4"`
	PluginType               int64  `index:"5"`
	Priority                 int64  `index:"6"`
	SyncGroupId              int64  `index:"7"`
	TransportKey             int64  `index:"8"`
	MinTimeToSyncTimestampMs int64  `index:"9"`
}

type LSMailboxTaskCompletionApiOnTaskCompletion

type LSMailboxTaskCompletionApiOnTaskCompletion struct {
	TaskId  int64 `index:"0"`
	Success bool  `index:"1"`
}

type LSMarkThreadRead

type LSMarkThreadRead struct {
	LastReadWatermarkTimestampMs int64 `index:"0"`
	ThreadKey                    int64 `index:"1"`
}

func (LSMarkThreadRead) GetFolderName

func (lsui LSMarkThreadRead) GetFolderName() string

func (LSMarkThreadRead) GetLastReadWatermarkTimestampMs

func (lsui LSMarkThreadRead) GetLastReadWatermarkTimestampMs() int64

func (LSMarkThreadRead) GetThreadDescription

func (lsui LSMarkThreadRead) GetThreadDescription() string

func (LSMarkThreadRead) GetThreadKey

func (lsui LSMarkThreadRead) GetThreadKey() int64

func (LSMarkThreadRead) GetThreadName

func (lsui LSMarkThreadRead) GetThreadName() string

func (LSMarkThreadRead) GetThreadType

func (lsui LSMarkThreadRead) GetThreadType() ThreadType

type LSMciTraceLog

type LSMciTraceLog struct {
	SomeInt0                      int64       `index:"0"`
	MCITraceUnsampledEventTraceId string      `index:"1"`
	Unknown2                      interface{} `index:"2"`
	SomeInt3                      int64       `index:"3"`
	Unknown4                      interface{} `index:"4"`
	DatascriptExecute             string      `index:"5"`
	SomeInt6                      int64       `index:"6"`
}

type LSMoveThreadToArchivedFolder

type LSMoveThreadToArchivedFolder struct {
	ThreadKey int64 `index:"0"`
}

type LSMoveThreadToInboxAndUpdateParent

type LSMoveThreadToInboxAndUpdateParent struct {
	ThreadKey       int64 `index:"0"`
	ParentThreadKey int64 `index:"1"`
}

type LSOverwriteAllThreadParticipantsAdminStatus

type LSOverwriteAllThreadParticipantsAdminStatus struct {
	ThreadKey int64 `index:"0"`
	IsAdmin   bool  `index:"1"`
}

type LSQueryAdditionalGroupThreads

type LSQueryAdditionalGroupThreads struct {
	NumThreads             int64 `index:"0"`
	NumMessages            int64 `index:"1"`
	AdditionalPagesToFetch int64 `index:"2"`
}

type LSRemoveAllParticipantsForThread

type LSRemoveAllParticipantsForThread struct {
	ThreadKey int64 `index:"0"`
}

type LSRemoveAllRequestsFromAdminApprovalQueue

type LSRemoveAllRequestsFromAdminApprovalQueue struct {
	ThreadKey int64 `index:"0"`
}

type LSRemoveParticipantFromThread

type LSRemoveParticipantFromThread struct {
	ThreadKey     int64 `index:"0"`
	ParticipantId int64 `index:"1"`
}

type LSRemoveTask

type LSRemoveTask struct {
	TaskId int64 `index:"0"`
}

type LSReplaceOptimisticReaction

type LSReplaceOptimisticReaction struct {
	ThreadKey int64  `index:"0"`
	ActorId   int64  `index:"1"`
	MessageId string `index:"2"`
}

type LSReplaceOptimisticThread

type LSReplaceOptimisticThread struct {
	ThreadKey1 int64 `index:"0"`
	ThreadKey2 int64 `index:"1"`
}

type LSReplaceOptimsiticMessage

type LSReplaceOptimsiticMessage struct {
	OfflineThreadingId string `index:"0"`
	MessageId          string `index:"1"`
}

can't spell ?

type LSSetForwardScore

type LSSetForwardScore struct {
	ThreadKey    int64  `index:"0"`
	MessageId    string `index:"1"`
	TimestampMs  int64  `index:"2"`
	ForwardScore int64  `index:"3"`
}

type LSSetHMPSStatus

type LSSetHMPSStatus struct {
	AccountId int64 `index:"0"`
	Unknown1  int64 `index:"1"`
	Timestamp int64 `index:"2"`
}

type LSSetMessageDisplayedContentTypes

type LSSetMessageDisplayedContentTypes struct {
	ThreadKey   int64  `index:"0"`
	MessageId   string `index:"1"`
	TimestampMs int64  `index:"2"`
	Text        string `index:"3"`
	Calc1       bool   `index:"4"`
	Calc2       bool   `index:"5"`
}
type LSSetMessageTextHasLinks struct {
	ThreadKey   int64  `index:"0"`
	MessageId   string `index:"1"`
	TimestampMs int64  `index:"2"`
}

type LSSetRegionHint

type LSSetRegionHint struct {
	Unknown0   int64  `index:"0"`
	RegionHint string `index:"1"`
}

type LSSetThreadCannotUnsendReason

type LSSetThreadCannotUnsendReason struct {
	ThreadKey          int64 `index:"0"`
	CannotUnsendReason int64 `index:"1"`
}

type LSSyncUpdateThreadName

type LSSyncUpdateThreadName struct {
	ThreadName  string `index:"0"`
	ThreadKey   int64  `index:"1"`
	ThreadName1 string `index:"2"`
}

type LSTable

type LSTable struct {
	LSMciTraceLog                                 []LSMciTraceLog
	LSExecuteFirstBlockForSyncTransaction         []LSExecuteFirstBlockForSyncTransaction
	LSTruncateMetadataThreads                     []LSTruncateMetadataThreads
	LSTruncateThreadRangeTablesForSyncGroup       []LSTruncateThreadRangeTablesForSyncGroup
	LSUpsertSyncGroupThreadsRange                 []LSUpsertSyncGroupThreadsRange
	LSUpsertInboxThreadsRange                     []LSUpsertInboxThreadsRange
	LSUpdateThreadsRangesV2                       []LSUpdateThreadsRangesV2
	LSUpsertFolderSeenTimestamp                   []LSUpsertFolderSeenTimestamp
	LSSetHMPSStatus                               []LSSetHMPSStatus
	LSTruncateTablesForSyncGroup                  []LSTruncateTablesForSyncGroup
	LSDeleteThenInsertThread                      []LSDeleteThenInsertThread
	LSAddParticipantIdToGroupThread               []LSAddParticipantIdToGroupThread
	LSClearPinnedMessages                         []LSClearPinnedMessages
	LSWriteThreadCapabilities                     []LSWriteThreadCapabilities
	LSUpsertMessage                               []LSUpsertMessage
	LSSetForwardScore                             []LSSetForwardScore
	LSSetMessageDisplayedContentTypes             []LSSetMessageDisplayedContentTypes
	LSUpdateReadReceipt                           []LSUpdateReadReceipt
	LSInsertNewMessageRange                       []LSInsertNewMessageRange
	LSDeleteExistingMessageRanges                 []LSDeleteExistingMessageRanges
	LSUpsertSequenceId                            []LSUpsertSequenceId
	LSVerifyContactRowExists                      []LSVerifyContactRowExists
	LSThreadsRangesQuery                          []LSThreadsRangesQuery
	LSSetRegionHint                               []LSSetRegionHint
	LSExecuteFinallyBlockForSyncTransaction       []LSExecuteFinallyBlockForSyncTransaction
	LSRemoveTask                                  []LSRemoveTask
	LSTaskExists                                  []LSTaskExists
	LSDeleteThenInsertContact                     []LSDeleteThenInsertContact
	LSUpdateTypingIndicator                       []LSUpdateTypingIndicator
	LSCheckAuthoritativeMessageExists             []LSCheckAuthoritativeMessageExists
	LSMoveThreadToInboxAndUpdateParent            []LSMoveThreadToInboxAndUpdateParent
	LSUpdateThreadSnippet                         []LSUpdateThreadSnippet
	LSVerifyThreadExists                          []LSVerifyThreadExists
	LSBumpThread                                  []LSBumpThread
	LSUpdateParticipantLastMessageSendTimestamp   []LSUpdateParticipantLastMessageSendTimestamp
	LSInsertMessage                               []LSInsertMessage
	LSUpsertGradientColor                         []LSUpsertGradientColor
	LSUpsertTheme                                 []LSUpsertTheme
	LSInsertStickerAttachment                     []LSInsertStickerAttachment
	LSUpsertReaction                              []LSUpsertReaction
	LSDeleteReaction                              []LSDeleteReaction
	LSHandleRepliesOnUnsend                       []LSHandleRepliesOnUnsend
	LSInsertXmaAttachment                         []LSInsertXmaAttachment
	LSUpdateUnsentMessageCollapsedStatus          []LSUpdateUnsentMessageCollapsedStatus
	LSDeleteThenInsertMessage                     []LSDeleteThenInsertMessage
	LSUpdateThreadSnippetFromLastMessage          []LSUpdateThreadSnippetFromLastMessage
	LSUpdateForRollCallMessageDeleted             []LSUpdateForRollCallMessageDeleted
	LSInsertBlobAttachment                        []LSInsertBlobAttachment
	LSDeleteBannersByIds                          []LSDeleteBannersByIds
	LSUpdateDeliveryReceipt                       []LSUpdateDeliveryReceipt
	LSUpdateTaskQueueName                         []LSUpdateTaskQueueName
	LSUpdateTaskValue                             []LSUpdateTaskValue
	LSReplaceOptimsiticMessage                    []LSReplaceOptimsiticMessage
	LSUpdateOptimisticContextThreadKeys           []LSUpdateOptimisticContextThreadKeys
	LSReplaceOptimisticThread                     []LSReplaceOptimisticThread
	LSApplyNewGroupThread                         []LSApplyNewGroupThread
	LSRemoveAllParticipantsForThread              []LSRemoveAllParticipantsForThread
	LSAppendDataTraceAddon                        []LSAppendDataTraceAddon
	LSUpdateThreadInviteLinksInfo                 []LSUpdateThreadInviteLinksInfo
	LSUpdateThreadParticipantAdminStatus          []LSUpdateThreadParticipantAdminStatus
	LSUpdateParticipantSubscribeSourceText        []LSUpdateParticipantSubscribeSourceText
	LSOverwriteAllThreadParticipantsAdminStatus   []LSOverwriteAllThreadParticipantsAdminStatus
	LSUpdateParticipantCapabilities               []LSUpdateParticipantCapabilities
	LSChangeViewerStatus                          []LSChangeViewerStatus
	LSUpdateSearchQueryStatus                     []LSUpdateSearchQueryStatus
	LSInsertSearchResult                          []LSInsertSearchResult
	LSInsertSearchSection                         []LSInsertSearchSection
	LSSyncUpdateThreadName                        []LSSyncUpdateThreadName
	LSSetMessageTextHasLinks                      []LSSetMessageTextHasLinks
	LSUpdateMessagesOptimisticContext             []LSUpdateMessagesOptimisticContext
	LSMailboxTaskCompletionApiOnTaskCompletion    []LSMailboxTaskCompletionApiOnTaskCompletion
	LSWriteCTAIdToThreadsTable                    []LSWriteCTAIdToThreadsTable
	LSQueryAdditionalGroupThreads                 []LSQueryAdditionalGroupThreads
	LSReplaceOptimisticReaction                   []LSReplaceOptimisticReaction
	LSDeleteThenInsertMessageRequest              []LSDeleteThenInsertMessageRequest
	LSDeleteThenInsertIgThreadInfo                []LSDeleteThenInsertIgThreadInfo
	LSDeleteThenInsertContactPresence             []LSDeleteThenInsertContactPresence
	LSTruncatePresenceDatabase                    []LSTruncatePresenceDatabase
	LSMarkThreadRead                              []LSMarkThreadRead
	LSUpdateParentFolderReadWatermark             []LSUpdateParentFolderReadWatermark
	LSInsertAttachmentItem                        []LSInsertAttachmentItem
	LSGetFirstAvailableAttachmentCTAID            []LSGetFirstAvailableAttachmentCTAID
	LSInsertAttachmentCta                         []LSInsertAttachmentCta
	LSUpdateAttachmentItemCtaAtIndex              []LSUpdateAttachmentItemCtaAtIndex
	LSUpdateAttachmentCtaAtIndexIgnoringAuthority []LSUpdateAttachmentCtaAtIndexIgnoringAuthority
	LSHasMatchingAttachmentCTA                    []LSHasMatchingAttachmentCTA
	LSDeleteThenInsertIGContactInfo               []LSDeleteThenInsertIGContactInfo
	LSIssueNewTask                                []LSIssueNewTask
	LSUpdateOrInsertThread                        []LSUpdateOrInsertThread
	LSSetThreadCannotUnsendReason                 []LSSetThreadCannotUnsendReason
	LSClearLocalThreadPictureUrl                  []LSClearLocalThreadPictureUrl
	LSUpdateInviterId                             []LSUpdateInviterId
	LSAddToMemberCount                            []LSAddToMemberCount
	LSMoveThreadToArchivedFolder                  []LSMoveThreadToArchivedFolder
	LSRemoveParticipantFromThread                 []LSRemoveParticipantFromThread
	LSDeleteRtcRoomOnThread                       []LSDeleteRtcRoomOnThread
	LSUpdateThreadTheme                           []LSUpdateThreadTheme
	LSUpdateThreadApprovalMode                    []LSUpdateThreadApprovalMode
	LSRemoveAllRequestsFromAdminApprovalQueue     []LSRemoveAllRequestsFromAdminApprovalQueue
}

type LSTaskExists

type LSTaskExists struct {
	TaskId int64 `index:"0"`
}

type LSThreadsRangesQuery

type LSThreadsRangesQuery struct {
	ParentThreadKey            int64 `index:"0"`
	Unknown1                   bool  `index:"1"`
	IsAfter                    bool  `index:"2"`
	ReferenceThreadKey         int64 `conditionField:"IsAfter" indexes:"4,3"`
	ReferenceActivityTimestamp int64 `conditionField:"IsAfter" indexes:"5,6"`
	AdditionalPagesToFetch     int64 `index:"7"`
	Unknown8                   bool  `index:"8"`
}

type LSTruncateMetadataThreads

type LSTruncateMetadataThreads struct{}

type LSTruncatePresenceDatabase

type LSTruncatePresenceDatabase struct {
	ShouldTruncate bool `index:"0"`
}

type LSTruncateTablesForSyncGroup

type LSTruncateTablesForSyncGroup struct {
	SyncGroup int64 `index:"0"`
}

type LSTruncateThreadRangeTablesForSyncGroup

type LSTruncateThreadRangeTablesForSyncGroup struct {
	ParentThreadKey int64 `index:"0"`
}

type LSUpdateAttachmentCtaAtIndexIgnoringAuthority

type LSUpdateAttachmentCtaAtIndexIgnoringAuthority struct {
	ThreadKey       int64  `index:"0"`
	MessageId       string `index:"1"`
	AttachmentFbid  string `index:"2"`
	AttachmentCtaId int64  `index:"3"`
	CtaTitle        string `index:"4"`
	CtaType         string `index:"5"`
	Index           int64  `index:"6"`
}

type LSUpdateAttachmentItemCtaAtIndex

type LSUpdateAttachmentItemCtaAtIndex struct {
	AttachmentFbid  string `index:"0"`
	Unknown         int64  `index:"1"`
	AttachmentCtaId int64  `index:"2"`
	CtaTitle        string `index:"3"`
	CtaType         string `index:"4"`
	Index           int64  `index:"5"`
}

type LSUpdateDeliveryReceipt

type LSUpdateDeliveryReceipt struct {
	DeliveredWatermarkTimestampMs int64 `index:"0"`
	ThreadKey                     int64 `index:"1"`
	ContactId                     int64 `index:"2"`
}

type LSUpdateForRollCallMessageDeleted

type LSUpdateForRollCallMessageDeleted struct {
	MessageId     string `index:"0"`
	ContributorId int64  `index:"1"`
}

type LSUpdateInviterId

type LSUpdateInviterId struct {
	ThreadKey int64 `index:"0"`
	InviterId int64 `index:"1"`
}

type LSUpdateMessagesOptimisticContext

type LSUpdateMessagesOptimisticContext struct{}

type LSUpdateOptimisticContextThreadKeys

type LSUpdateOptimisticContextThreadKeys struct {
	ThreadKey1 int64 `index:"0"`
	ThreadKey2 int64 `index:"1"`
}

type LSUpdateOrInsertThread

type LSUpdateOrInsertThread struct {
	LastActivityTimestampMs                int64      `index:"0"`
	LastReadWatermarkTimestampMs           int64      `index:"1"`
	Snippet                                string     `index:"2"`
	ThreadName                             string     `index:"3"`
	ThreadPictureUrl                       string     `index:"4"`
	NeedsAdminApprovalForNewParticipant    bool       `index:"5"`
	AuthorityLevel                         int64      `index:"6"`
	ThreadKey                              int64      `index:"7"`
	MailboxType                            int64      `index:"8"`
	ThreadType                             ThreadType `index:"9"`
	FolderName                             string     `index:"10"`
	ThreadPictureUrlFallback               string     `index:"11"`
	ThreadPictureUrlExpirationTimestampMs  int64      `index:"12"`
	RemoveWatermarkTimestampMs             int64      `index:"13"`
	MuteExpireTimeMs                       int64      `index:"14"`
	MuteMentionExpireTimeMs                int64      `index:"15"`
	MuteCallsExpireTimeMs                  int64      `index:"16"`
	GroupNotificationSettings              int64      `index:"19"`
	IsAdminSnippet                         bool       `index:"20"`
	SnippetSenderContactId                 int64      `index:"21"`
	SnippetStringHash                      int64      `index:"24"`
	SnippetStringArgument1                 int64      `index:"25"`
	SnippetAttribution                     int64      `index:"26"`
	SnippetAttributionStringHash           int64      `index:"27"`
	DisappearingSettingTtl                 int64      `index:"28"`
	DisappearingSettingUpdatedTs           int64      `index:"29"`
	DisappearingSettingUpdatedBy           int64      `index:"30"`
	OngoingCallState                       int64      `index:"32"`
	CannotReplyReason                      int64      `index:"33"`
	CustomEmoji                            int64      `index:"34"`
	CustomEmojiImageUrl                    int64      `index:"35"`
	OutgoingBubbleColor                    int64      `index:"36"`
	ThemeFbid                              int64      `index:"37"`
	ParentThreadKey                        int64      `index:"38"`
	NullstateDescriptionText1              int64      `index:"39"`
	NullstateDescriptionType1              int64      `index:"40"`
	NullstateDescriptionText2              int64      `index:"41"`
	NullstateDescriptionType2              int64      `index:"42"`
	NullstateDescriptionText3              int64      `index:"43"`
	NullstateDescriptionType3              int64      `index:"44"`
	SnippetHasEmoji                        bool       `index:"45"`
	HasPersistentMenu                      bool       `index:"46"`
	DisableComposerInput                   bool       `index:"47"`
	CannotUnsendReason                     int64      `index:"48"`
	ViewedPluginKey                        int64      `index:"49"`
	ViewedPluginContext                    int64      `index:"50"`
	ClientThreadKey                        int64      `index:"51"`
	Capabilities                           int64      `index:"52"`
	ShouldRoundThreadPicture               int64      `index:"53"`
	ProactiveWarningDismissTime            int64      `index:"54"`
	IsCustomThreadPicture                  bool       `index:"55"`
	OtidOfFirstMessage                     int64      `index:"56"`
	NormalizedSearchTerms                  string     `index:"57"`
	AdditionalThreadContext                int64      `index:"58"`
	DisappearingThreadKey                  int64      `index:"59"`
	IsDisappearingMode                     bool       `index:"60"`
	DisappearingModeInitiator              int64      `index:"61"`
	UnreadDisappearingMessageCount         int64      `index:"62"`
	LastMessageCtaId                       int64      `index:"64"`
	LastMessageCtaType                     int64      `index:"65"`
	LastMessageCtaTimestampMs              int64      `index:"66"`
	ConsistentThreadFbid                   int64      `index:"67"`
	ThreadDescription                      string     `index:"69"`
	UnsendLimitMs                          int64      `index:"70"`
	Capabilities2                          int64      `index:"78"`
	Capabilities3                          int64      `index:"79"`
	SyncGroup                              int64      `index:"82"`
	ThreadInvitesEnabled                   int64      `index:"83"`
	ThreadInviteLink                       string     `index:"84"`
	IsAllUnreadMessageMissedCallXma        bool       `index:"85"`
	NumUnreadSubthreads                    int64      `index:"86"`
	SubthreadCount                         int64      `index:"87"`
	LastNonMissedCallXmaMessageTimestampMs int64      `index:"88"`
	ThreadInvitesEnabledV2                 int64      `index:"90"`
	HasPendingInvitation                   int64      `index:"93"`
	EventStartTimestampMs                  int64      `index:"94"`
	EventEndTimestampMs                    int64      `index:"95"`
	TakedownState                          int64      `index:"96"`
	SecondaryParentThreadKey               int64      `index:"97"`
	IgFolder                               int64      `index:"98"`
	InviterId                              int64      `index:"99"`
	ThreadTags                             int64      `index:"100"`
	ThreadStatus                           int64      `index:"101"`
	ThreadSubtype                          int64      `index:"102"`
	PauseThreadTimestamp                   int64      `index:"103"`
	Capabilities4                          int64      `index:"104"`
}

func (LSUpdateOrInsertThread) GetFolderName

func (lsui LSUpdateOrInsertThread) GetFolderName() string

func (LSUpdateOrInsertThread) GetLastReadWatermarkTimestampMs

func (lsui LSUpdateOrInsertThread) GetLastReadWatermarkTimestampMs() int64

func (LSUpdateOrInsertThread) GetThreadDescription

func (lsui LSUpdateOrInsertThread) GetThreadDescription() string

func (LSUpdateOrInsertThread) GetThreadKey

func (lsui LSUpdateOrInsertThread) GetThreadKey() int64

func (LSUpdateOrInsertThread) GetThreadName

func (lsui LSUpdateOrInsertThread) GetThreadName() string

func (LSUpdateOrInsertThread) GetThreadType

func (lsui LSUpdateOrInsertThread) GetThreadType() ThreadType

type LSUpdateParentFolderReadWatermark

type LSUpdateParentFolderReadWatermark struct {
	ThreadKey int64 `index:"0"`
}

type LSUpdateParticipantCapabilities

type LSUpdateParticipantCapabilities struct {
	ContactId int64 `index:"0"`
	ThreadKey int64 `index:"1"`
}

type LSUpdateParticipantLastMessageSendTimestamp

type LSUpdateParticipantLastMessageSendTimestamp struct {
	ThreadKey int64 `index:"0"`
	SenderId  int64 `index:"1"`
	Timestamp int64 `index:"2"`
}

type LSUpdateParticipantSubscribeSourceText

type LSUpdateParticipantSubscribeSourceText struct {
	ThreadKey       int64  `index:"0"`
	ContactId       int64  `index:"1"`
	SubscribeSource string `index:"2"`
}

type LSUpdateReadReceipt

type LSUpdateReadReceipt struct {
	ReadWatermarkTimestampMs int64 `index:"0"`
	ThreadKey                int64 `index:"1"`
	ContactId                int64 `index:"2"`
	ReadActionTimestampMs    int64 `index:"3"`
}

type LSUpdateSearchQueryStatus

type LSUpdateSearchQueryStatus struct {
	Query           string `index:"0"`
	Unknown         int64  `index:"1"`
	StatusSecondary int64  `index:"2"`
	EndTimeMs       int64  `index:"3"`
	ResultCount     int64  `index:"4"`
}

type LSUpdateTaskQueueName

type LSUpdateTaskQueueName struct {
	QueueNameTaskId string `index:"0"`
	QueueName       string `index:"1"`
}

type LSUpdateTaskValue

type LSUpdateTaskValue struct {
	QueueNameTaskId string `index:"0"`
	/*
		b.taskValue.split(a[1]).join(a[2]) // b = curr obj value
	*/
	TaskValue1 string `index:"1"`
	TaskValue2 string `index:"2"`
}

type LSUpdateThreadApprovalMode

type LSUpdateThreadApprovalMode struct {
	ThreadKey int64 `index:"0"`
	Value     bool  `index:"1"`
}

type LSUpdateThreadInviteLinksInfo

type LSUpdateThreadInviteLinksInfo struct {
	ThreadKey            int64  `index:"0"`
	ThreadInvitesEnabled int64  `index:"1"` // 0 or 1
	ThreadInviteLink     string `index:"2"`
}

type LSUpdateThreadParticipantAdminStatus

type LSUpdateThreadParticipantAdminStatus struct {
	ThreadKey int64 `index:"0"`
	ContactId int64 `index:"1"`
	IsAdmin   bool  `index:"2"`
}

type LSUpdateThreadSnippet

type LSUpdateThreadSnippet struct {
	ThreadKey              int64  `index:"0"`
	Snippet                string `index:"1"`
	IsAdminSnippet         bool   `index:"2"`
	SnippetSenderContactId int64  `index:"3"`
	SnippetHasEmoji        bool   `index:"4"`
	ViewedPluginKey        string `index:"5"`
	ViewedPluginContext    string `index:"6"`
}

type LSUpdateThreadSnippetFromLastMessage

type LSUpdateThreadSnippetFromLastMessage struct {
	AccountId      int64  `index:"0"`
	ThreadKey      int64  `index:"1"`
	Snippet1       string `index:"2"`
	Snippet2       string `index:"3"`
	Snippet3       string `index:"4"`
	Snippet4       string `index:"5"`
	Snippet5       string `index:"6"`
	Snippet6       string `index:"7"`
	Snippet7       string `index:"8"`
	Snippet8       string `index:"9"`
	Snippet9       string `index:"10"`
	IsAdminSnippet bool   `index:"11"`
}

Idk which snippet is the correct, there's like 6 (snippet, snippetStringHash, snippetStringArgument1, snippetAttribution, snippetAttributionStringHash)

type LSUpdateThreadTheme

type LSUpdateThreadTheme struct {
	ThreadKey int64 `index:"0"`
	Unknown1  int64 `index:"1"`
	Unknown2  int64 `index:"2"`
}

type LSUpdateThreadsRangesV2

type LSUpdateThreadsRangesV2 struct {
	FolderName                 string `index:"0"`
	ParentThreadKey            int64  `index:"1"` /* not sure */
	MinLastActivityTimestampMs int64  `index:"2"`
	MinThreadKey               int64  `index:"3"`
	IsLoadingBefore            int64  `index:"4"` /* not sure */
}

type LSUpdateTypingIndicator

type LSUpdateTypingIndicator struct {
	ThreadKey int64 `index:"0"`
	SenderId  int64 `index:"1"`
	IsTyping  bool  `index:"2"`
}

type LSUpdateUnsentMessageCollapsedStatus

type LSUpdateUnsentMessageCollapsedStatus struct {
	ThreadKey   int64  `index:"0"`
	MessageId   string `index:"1"`
	TimestampMs int64  `index:"2"`
}

type LSUpsertFolderSeenTimestamp

type LSUpsertFolderSeenTimestamp struct {
	ParentThreadKey            int64 `index:"0"`
	LastSeenRequestTimestampMs int64 `index:"1"`
}

type LSUpsertGradientColor

type LSUpsertGradientColor struct {
	ThemeFbid     int64 `index:"0"`
	GradientIndex int64 `index:"1"`
	Color         int64 `index:"2"`
	Type          int64 `index:"3"`
}

type LSUpsertInboxThreadsRange

type LSUpsertInboxThreadsRange struct {
	SyncGroup                  int64 `index:"0"`
	MinLastActivityTimestampMs int64 `index:"1"`
	HasMoreBefore              bool  `index:"2"`
	IsLoadingBefore            bool  `index:"3"`
	MinThreadKey               int64 `index:"4"`
}

type LSUpsertMessage

type LSUpsertMessage struct {
	Text                            string                     `index:"0"`
	SubscriptErrorMessage           string                     `index:"1"`
	AuthorityLevel                  int64                      `index:"2"`
	ThreadKey                       int64                      `index:"3"`
	TimestampMs                     int64                      `index:"5"`
	PrimarySortKey                  int64                      `index:"6"`
	SecondarySortKey                int64                      `index:"7"`
	MessageId                       string                     `index:"8"`
	OfflineThreadingId              string                     `index:"9"`
	SenderId                        int64                      `index:"10"`
	StickerId                       int64                      `index:"11"`
	IsAdminMessage                  bool                       `index:"12"`
	MessageRenderingType            int64                      `index:"13"`
	SendStatus                      int64                      `index:"15"`
	SendStatusV2                    int64                      `index:"16"`
	IsUnsent                        bool                       `index:"17"`
	UnsentTimestampMs               int64                      `index:"18"`
	MentionOffsets                  string                     `index:"19"`
	MentionLengths                  string                     `index:"20"`
	MentionIds                      string                     `index:"21"`
	MentionTypes                    string                     `index:"22"`
	ReplySourceId                   string                     `index:"23"`
	ReplySourceType                 int64                      `index:"24"`
	ReplySourceTypeV2               int64                      `index:"25"`
	ReplyStatus                     int64                      `index:"26"`
	ReplySnippet                    string                     `index:"27"`
	ReplyMessageText                string                     `index:"28"`
	ReplyToUserId                   int64                      `index:"29"`
	ReplyMediaExpirationTimestampMs int64                      `index:"30"`
	ReplyMediaUrl                   string                     `index:"31"`
	ReplyMediaPreviewWidth          int64                      `index:"33"`
	ReplyMediaPreviewHeight         int64                      `index:"34"`
	ReplyMediaUrlMimeType           string                     `index:"35"`
	ReplyMediaUrlFallback           string                     `index:"36"`
	ReplyCtaId                      int64                      `index:"37"`
	ReplyCtaTitle                   string                     `index:"38"`
	ReplyAttachmentType             int64                      `index:"39"`
	ReplyAttachmentId               int64                      `index:"40"`
	ReplyAttachmentExtra            int64                      `index:"41"`
	ReplyType                       int64                      `index:"42"`
	IsForwarded                     bool                       `index:"43"`
	ForwardScore                    int64                      `index:"44"`
	HasQuickReplies                 bool                       `index:"45"`
	AdminMsgCtaId                   int64                      `index:"46"`
	AdminMsgCtaTitle                int64                      `index:"47"`
	AdminMsgCtaType                 int64                      `index:"48"`
	CannotUnsendReason              MessageUnsendabilityStatus `index:"49"`
	TextHasLinks                    bool                       `index:"50"`
	ViewFlags                       int64                      `index:"51"`
	DisplayedContentTypes           DisplayedContentTypes      `index:"52"`
	ViewedPluginKey                 int64                      `index:"53"`
	ViewedPluginContext             int64                      `index:"54"`
	QuickReplyType                  int64                      `index:"55"`
	HotEmojiSize                    int64                      `index:"56"`
	ReplySourceTimestampMs          int64                      `index:"57"`
	EphemeralDurationInSec          int64                      `index:"58"`
	MsUntilExpirationTs             int64                      `index:"59"`
	EphemeralExpirationTs           int64                      `index:"60"`
	TakedownState                   int64                      `index:"61"`
	IsCollapsed                     bool                       `index:"62"`
	SubthreadKey                    int64                      `index:"63"`
}

type LSUpsertReaction

type LSUpsertReaction struct {
	ThreadKey      int64  `index:"0"`
	TimestampMs    int64  `index:"1"`
	MessageId      string `index:"2"`
	ActorId        int64  `index:"3"`
	Reaction       string `index:"4"` // unicode str
	AuthorityLevel int64  `index:"5"`
}

type LSUpsertSequenceId

type LSUpsertSequenceId struct {
	LastAppliedMailboxSequenceId int64 `index:"0"`
}

type LSUpsertSyncGroupThreadsRange

type LSUpsertSyncGroupThreadsRange struct {
	SyncGroup                  int64 `index:"0"`
	ParentThreadKey            int64 `index:"1"`
	MinLastActivityTimestampMs int64 `index:"2"`
	HasMoreBefore              bool  `index:"3"`
	IsLoadingBefore            bool  `index:"4"`
	MinThreadKey               int64 `index:"5"`
}

type LSUpsertTheme

type LSUpsertTheme struct {
	Fbid                              int64  `index:"0"`
	NormalThemeId                     int64  `index:"0"`
	ThemeIdx                          int64  `index:"1"`
	FallbackColor                     int64  `index:"2"`
	ReverseGradiantsForRadial         bool   `index:"3"`
	AccessibilityLabel                string `index:"4"`
	IconUrl                           string `index:"5"`
	IconUrlFallback                   string `index:"6"`
	BackgroundUrl                     string `index:"8"`
	IsDeprecated                      bool   `index:"11"`
	AppColorMode                      int64  `index:"13"`
	TitlebarBackgroundColor           int64  `index:"14"`
	TitlebarButtonTintColor           int64  `index:"15"`
	TitlebarTextColor                 int64  `index:"16"`
	ComposerTintColor                 int64  `index:"17"`
	ComposerUnselectedTintColor       int64  `index:"18"`
	ComposerInputTextPlaceholderColor int64  `index:"19"`
	ComposerInputBackgroundColor      int64  `index:"20"`
	ComposerInputBorderColor          int64  `index:"21"`
	ComposerInputBorderWidth          int64  `index:"22"`
	ComposerBackgroundColor           int64  `index:"23"`
	MessageTextColor                  int64  `index:"24"`
	MessageBorderColor                int64  `index:"25"`
	MessageBorderWidth                int64  `index:"26"`
	IncomingMessageTextColor          int64  `index:"27"`
	IncomingMessageBorderColor        int64  `index:"28"`
	IncomingMessageBorderWidth        int64  `index:"29"`
	DeliveryReceiptColor              int64  `index:"30"`
	TertiaryTextColor                 int64  `index:"31"`
	PrimaryButtonBackgroundColor      int64  `index:"32"`
	HotLikeColor                      int64  `index:"33"`
	SecondaryTextColor                int64  `index:"34"`
	QuotedIncomingMessageBubbleColor  int64  `index:"35"`
	CornerRadius                      int64  `index:"36"`
	BlurredComposerBackgroundColor    int64  `index:"37"`
	ComposerSecondaryButtonColor      int64  `index:"38"`
	ComposerPlaceholderTextColor      int64  `index:"39"`
}

type LSVerifyContactRowExists

type LSVerifyContactRowExists struct {
	ContactId                 int64                     `index:"0"`
	Unknown1                  int64                     `index:"1"`
	ProfilePictureUrl         string                    `index:"2"`
	Name                      string                    `index:"3"`
	ContactType               int64                     `index:"4"`
	ProfilePictureFallbackUrl string                    `index:"5"`
	Unknown6                  int64                     `index:"6"`
	Unknown7                  int64                     `index:"7"`
	IsMemorialized            bool                      `index:"9"`
	BlockedByViewerStatus     int64                     `index:"11"`
	CanViewerMessage          bool                      `index:"12"`
	AuthorityLevel            int64                     `index:"14"`
	Capabilities              int64                     `index:"15"`
	Capabilities2             int64                     `index:"16"`
	Gender                    Gender                    `index:"18"`
	ContactViewerRelationship ContactViewerRelationship `index:"19"`
	SecondaryName             string                    `index:"20"`
}

type LSVerifyThreadExists

type LSVerifyThreadExists struct {
	ThreadKey       int64      `index:"0"`
	ThreadType      ThreadType `index:"1"`
	FolderName      string     `index:"2"`
	ParentThreadKey int64      `index:"3"`
	AuthorityLevel  int64      `index:"4"`
}

func (LSVerifyThreadExists) GetFolderName

func (lsui LSVerifyThreadExists) GetFolderName() string

func (LSVerifyThreadExists) GetLastReadWatermarkTimestampMs

func (lsui LSVerifyThreadExists) GetLastReadWatermarkTimestampMs() int64

func (LSVerifyThreadExists) GetThreadDescription

func (lsui LSVerifyThreadExists) GetThreadDescription() string

func (LSVerifyThreadExists) GetThreadKey

func (lsui LSVerifyThreadExists) GetThreadKey() int64

func (LSVerifyThreadExists) GetThreadName

func (lsui LSVerifyThreadExists) GetThreadName() string

func (LSVerifyThreadExists) GetThreadType

func (lsui LSVerifyThreadExists) GetThreadType() ThreadType

type LSWriteCTAIdToThreadsTable

type LSWriteCTAIdToThreadsTable struct {
	ThreadKey                 int64 `index:"0"`
	LastMessageCtaType        int64 `index:"1"`
	LastMessageCtaTimestampMs int64 `index:"2"`
}

type LSWriteThreadCapabilities

type LSWriteThreadCapabilities struct {
	ThreadKey     int64 `index:"0"`
	Capabilities  int64 `index:"1"`
	Capabilities2 int64 `index:"2"`
	Capabilities3 int64 `index:"3"`
}

type MessageUnsendabilityStatus

type MessageUnsendabilityStatus int64
const (
	CAN_UNSEND                                      MessageUnsendabilityStatus = 0
	DENY_LOG_MESSAGE                                MessageUnsendabilityStatus = 1
	DENY_TOMBSTONE_MESSAGE                          MessageUnsendabilityStatus = 2
	DENY_FOR_NON_SENDER                             MessageUnsendabilityStatus = 3
	DENY_P2P_PAYMENT                                MessageUnsendabilityStatus = 4
	DENY_STORY_REACTION                             MessageUnsendabilityStatus = 5
	DENY_BLOB_ATTACHMENT                            MessageUnsendabilityStatus = 6
	DENY_MESSAGE_NOT_FOUND                          MessageUnsendabilityStatus = 7
	DENY_MESSAGE_INSTAGRAM_DIRECT_WRITE_RESTRICTION MessageUnsendabilityStatus = 8
)

type ReactionStyle

type ReactionStyle int64
const (
	UNKNOWN_REACTION_STYLE      ReactionStyle = 0
	BASIC_SUPER_REACT_ANIMATION ReactionStyle = 1
)

type SendType

type SendType int64
const (
	UNKNOWN_SEND_TYPE SendType = 0
	TEXT              SendType = 1
	STICKER           SendType = 2
	MEDIA             SendType = 3
	FORWARD           SendType = 5
	EXTERNAL_MEDIA    SendType = 7
)

type ThreadBumpStatus

type ThreadBumpStatus int64
const (
	UNKNOWN_BUMP_STATUS ThreadBumpStatus = 0
	ACTIVITY_AND_READ   ThreadBumpStatus = 1
	ACTIVITY            ThreadBumpStatus = 2
	ACTIVITY_AND_READ_2 ThreadBumpStatus = 3
)

type ThreadInfo

type ThreadInfo interface {
	GetThreadKey() int64
	GetThreadName() string
	GetThreadType() ThreadType
	GetLastReadWatermarkTimestampMs() int64
	GetThreadDescription() string
	GetFolderName() string
}

type ThreadSourceType

type ThreadSourceType int64
const (
	/* communityFriendsDialog, pagesHomeFriendsDialog, mutualFriendsDialog, birthday, groupMembers, fundraiserSupportersList, memories, feedPoll, reactorList, friendsList, pagesPrivateReply, timeline, feedOrganicPost */
	FB_FEED_ORGANIC_POST ThreadSourceType = 1572865
	/* inboxPendingRequests */
	MESSENGER_INBOX_PENDING_REQUESTS ThreadSourceType = 65546
	/* fullscreenChat */
	MESSENGER_COMMUNITY_MESSAGING_FULLSCREEN_CHAT ThreadSourceType = 2293762
	/* sidebarGroupsList */
	SIDEBAR_CONTACTS_GROUPS ThreadSourceType = 2228227
	/* jewel */
	JEWEL_THREAD_LIST ThreadSourceType = 2097153
	/* shop */
	MINI_SHOP_VIEW_MENU_BUTTON ThreadSourceType = 2818048
	/* chatheadsOverflow */
	CHATHEADS_OVERFLOW ThreadSourceType = 2162690
	/* hovercard, feedDynamicHoverCard */
	FB_FEED_DYNAMIC_HOVER_CARD ThreadSourceType = 1572868
	/* search, messengerUniversalSearch */
	MESSENGER_UNIVERSAL_SEARCH ThreadSourceType = 131072
	/* story, storyAggregatedUsers, storySeenByList */
	FB_STORY ThreadSourceType = 1310720
	/* pageAboutCard */
	FB_PAGE_ABOUT_CARD ThreadSourceType = 786433
	/* inboxInThread */
	MESSENGER_INBOX_IN_THREAD ThreadSourceType = 65537
	/* notificationInThreadReply */
	MESSENGER_NOTIFICATION_IN_THREAD_REPLY ThreadSourceType = 524289
	/* archieve */
	MESSENGER_ARCHIVED_THREADS ThreadSourceType = 2031616
	/* storyViewerSheetRow */
	FB_STORY_VIEWER_SHEET_ROW ThreadSourceType = 1310722
	/* chatheadsNewMessage */
	CHATHEADS_NEW_MESSAGE ThreadSourceType = 2162691
	/* event */
	FB_EVENT ThreadSourceType = 1703936
	/* jewelSearch */
	JEWEL_SEARCH ThreadSourceType = 2097154
	/* inboxSpam, inboxThreadList, inboxRestricted */
	MESSENGER_INBOX ThreadSourceType = 65536
	/* jewelNewMessage */
	JEWEL_NEW_MESSAGE ThreadSourceType = 2097155
	/* pendingRequests */
	MESSENGER_PENDING_REQUESTS_INBOX_THREAD_LIST ThreadSourceType = 327681
	/* sidebarSearch */
	SIDEBAR_CONTACTS_SEARCH ThreadSourceType = 2228226
	/* inboxRemainingThreads */
	MESSENGER_INBOX_REMAINING_THREADS ThreadSourceType = 65541
	/* pagesHeader */
	FB_PAGE_PROFILE_HEADER_MESSAGE_BUTTON ThreadSourceType = 786434
	/* inboxRecentThreads */
	MESSENGER_INBOX_RECENT_THREADS ThreadSourceType = 65540
	/* chatheads */
	CHATHEADS ThreadSourceType = 2162688
	/* pageResponsivenessCard */
	FB_PAGE_RESPONSIVENESS_CONTEXT_CARD ThreadSourceType = 786437
	/* inboxSearch */
	MESSENGER_INBOX_MESSAGE_SEARCH ThreadSourceType = 65542
	/* jewelNestedFolder */
	JEWEL_NESTED_FOLDER ThreadSourceType = 2097156
	/* marketplace */
	MARKETPLACE_SEND_MESSAGE ThreadSourceType = 1245186
	/* feedOrganicPostViewAndMessage */
	FB_FEED_ORGANIC_POST_VIEW_AND_MESSAGE ThreadSourceType = 1572866
	/* adsCta */
	CLICK_TO_MESSENGER_AD_SEND_MESSAGE_CTA ThreadSourceType = 589826
	/* chatInThread */
	MESSENGER_CHAT_IN_THREAD ThreadSourceType = 1966082
	/* payments */
	PAYMENTS ThreadSourceType = 655360
	/* inboxFolder */
	MESSENGER_INBOX_NESTED_FOLDER ThreadSourceType = 65539
	/* inboxArchived */
	MESSENGER_INBOX_ARCHIVED_THREADS ThreadSourceType = 65545
	/* inboxActiveContacts */
	MESSENGER_INBOX_ACTIVE_CONTACTS ThreadSourceType = 65547
	/* sidebarContactsList */
	SIDEBAR_CONTACTS_LIST ThreadSourceType = 2228225
	/* sidebarCommunityChatsList */
	SIDEBAR_CONTACTS_COMMUNITY_CHATS ThreadSourceType = 2228228
	/* None */
	UNKNOWN_THREAD_SOURCE_TYPE ThreadSourceType = 0
)

type ThreadType

type ThreadType int64
const (
	UNKNOWN_THREAD_TYPE               ThreadType = 0
	ONE_TO_ONE                        ThreadType = 1
	GROUP_THREAD                      ThreadType = 2
	ROOM                              ThreadType = 3
	MONTAGE                           ThreadType = 4
	MARKETPLACE                       ThreadType = 5
	FOLDER                            ThreadType = 6
	ENCRYPTED_ONE_TO_ONE              ThreadType = 7
	ENCRYPTED_GROUP_DISAPPEARING      ThreadType = 8
	CARRIER_MESSAGING_ONE_TO_ONE      ThreadType = 10
	CARRIER_MESSAGING_GROUP           ThreadType = 11
	ENCRYPTED_ONE_TO_ONE_DISAPPEARING ThreadType = 13
	ENCRYPTED_OVER_WA_ONE_TO_ONE      ThreadType = 15
	ENCRYPTED_OVER_WA_GROUP           ThreadType = 16
	COMMUNITY_GROUP                   ThreadType = 18
)

Jump to

Keyboard shortcuts

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