Versions in this module Expand all Collapse all v0 v0.2.1 Jan 16, 2025 v0.2.0 Dec 16, 2024 Changes in this version + type AccountSettingsResponse struct + AddressBookLiveSyncEnabled bool + AllowAdsPersonalization bool + AllowAuthenticatedPeriscopeRequests bool + AllowContributorRequest string + AllowDmGroupsFrom string + AllowDmsFrom string + AllowLocationHistoryPersonalization bool + AllowLoggedOutDevicePersonalization bool + AllowMediaTagging string + AllowSharingDataForThirdPartyPersonalization bool + AltTextComposeEnabled any + AlwaysAllowDmsFromSubscribers any + AlwaysUseHTTPS bool + AutoplayDisabled bool + CountryCode string + DMReceiptSetting string + DiscoverableByEmail bool + DiscoverableByMobilePhone bool + DisplaySensitiveMedia bool + DmQualityFilter string + Ext Ext + ExtSharingAudiospacesListeningDataWithFollowers bool + GeoEnabled bool + Language string + MentionFilter string + NSFWAdmin bool + NSFWUser bool + PersonalizedTrends bool + ProtectPasswordReset bool + Protected bool + RankedTimelineEligible any + RankedTimelineSetting any + RequirePasswordLogin bool + RequiresLoginVerification bool + ScreenName string + SettingsMetadata SettingsMetadata + SleepTime SleepTime + TranslatorType string + UniversalQualityFilteringEnabled string + UseCookiePersonalization bool + type ConversationDMResponse struct + ConversationTimeline XInboxData + type DMMessageDeleteMutationResponse struct + Data struct{ ... } + type Ext struct + SsoConnections SsoConnections + type FinalizedUploadMediaResponse struct + ExpiresAfterSecs int + Image Image + MediaID int64 + MediaIDString string + MediaKey string + ProcessingInfo ProcessingInfo + Size int + Video Video + type GetDMPermissionsResponse struct + Permissions Permissions + Users map[string]types.User + type GetDMUserUpdatesResponse struct + InboxInitialState XInboxData + UserEvents XInboxData + type Image struct + H int + ImageType string + W int + type InboxInitialState struct + Conversations map[string]types.Conversation + Cursor string + Entries []map[event.XEventType]interface{} + InboxTimelines InboxTimelines + KeyRegistryState KeyRegistryState + LastSeenEventID string + TrustedLastSeenEventID string + UntrustedLastSeenEventID string + Users map[string]types.User + type InboxInitialStateResponse struct + InboxInitialState XInboxData + type InboxTimelineResponse struct + InboxTimeline XInboxData + type InboxTimelines struct + Trusted Trusted + Untrusted Untrusted + type InitUploadMediaResponse struct + ExpiresAfterSecs int + MediaID int64 + MediaIDString string + MediaKey string + type KeyRegistryState struct + Status types.PaginationStatus + type Ok struct + SSOIDHash string + SSOProvider string + type PermissionDetails struct + CanDM bool + ErrorCode int + type Permissions struct + IDKeys map[string]PermissionDetails + func (perms Permissions) GetPermissionsForUser(userID string) *PermissionDetails + type PinConversationResponse struct + Data struct{ ... } + type PrettifiedMessage struct + AffectsSort bool + Attachment *types.Attachment + ConversationID string + Entities types.Entities + EventID string + MessageID string + Reactions []types.MessageReaction + Recipient types.User + Sender types.User + SentAt time.Time + Text string + type ProcessingInfo struct + CheckAfterSecs int + ProgressPercent int + State ProcessingState + type ProcessingState string + const PROCESSING_STATE_IN_PROGRESS + const PROCESSING_STATE_PENDING + const PROCESSING_STATE_SUCCEEDED + type R struct + Ok []Ok + type ReactionResponse struct + Data struct{ ... } + type SearchResponse struct + CompletedIn float32 + Events []any + Hashtags []any + Lists []any + NumResults int + Oneclick []any + OrderedSections []any + Query string + Topics []any + Users []types.User + type SettingsMetadata struct + IsEU string + type SleepTime struct + Enabled bool + EndTime any + StartTime any + type SsoConnections struct + R R + TTL int + type Trusted struct + MinEntryID string + Status types.PaginationStatus + type UnpinConversationResponse struct + Data struct{ ... } + type Untrusted struct + Status types.PaginationStatus + type UserEvents struct + Conversations map[string]types.Conversation + Cursor string + Entries []map[event.XEventType]interface{} + LastSeenEventID string + MaxEntryID string + MinEntryID string + TrustedLastSeenEventID string + UntrustedLastSeenEventID string + Users map[string]types.User + type Video struct + VideoType string + type XInboxConversationFeedData struct + Conversation types.Conversation + Messages []types.Message + Participants []types.User + type XInboxData struct + Conversations map[string]types.Conversation + Cursor string + Entries []map[event.XEventType]interface{} + InboxTimelines InboxTimelines + KeyRegistryState KeyRegistryState + LastSeenEventID string + MaxEntryID string + MinEntryID string + Status types.PaginationStatus + TrustedLastSeenEventID string + UntrustedLastSeenEventID string + Users map[string]types.User + func (data *XInboxData) GetConversationByID(conversationID string) types.Conversation + func (data *XInboxData) GetMessageEntriesByConversationID(conversationID string, sortByTimestamp bool) ([]types.Message, error) + func (data *XInboxData) GetParticipantUsers(participants []types.Participant) []types.User + func (data *XInboxData) GetUserByID(userID string) types.User + func (data *XInboxData) Prettify() ([]XInboxConversationFeedData, error) + func (data *XInboxData) PrettifyMessages(conversationID string) ([]PrettifiedMessage, error) + func (data *XInboxData) ToEventEntries() ([]interface{}, error)