chat

package
v0.75.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigService

type ConfigService struct {
	Client           *chatclient.JusticeChatService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*ConfigService) AdminGetAllConfigV1 deprecated

Deprecated: 2022-01-10 - please use AdminGetAllConfigV1Short instead.

func (*ConfigService) AdminGetAllConfigV1Short

func (aaa *ConfigService) AdminGetAllConfigV1Short(input *config.AdminGetAllConfigV1Params) (*chatclientmodels.ModelsConfigList, error)

func (*ConfigService) AdminGetConfigV1 deprecated

Deprecated: 2022-01-10 - please use AdminGetConfigV1Short instead.

func (*ConfigService) AdminGetConfigV1Short

func (*ConfigService) AdminGetLogConfig deprecated added in v0.72.0

Deprecated: 2022-01-10 - please use AdminGetLogConfigShort instead.

func (*ConfigService) AdminGetLogConfigShort added in v0.72.0

func (*ConfigService) AdminPatchUpdateLogConfig deprecated added in v0.72.0

Deprecated: 2022-01-10 - please use AdminPatchUpdateLogConfigShort instead.

func (*ConfigService) AdminPatchUpdateLogConfigShort added in v0.72.0

func (aaa *ConfigService) AdminPatchUpdateLogConfigShort(input *config.AdminPatchUpdateLogConfigParams) (*chatclientmodels.LogconfigConfiguration, error)

func (*ConfigService) AdminUpdateConfigV1 deprecated

Deprecated: 2022-01-10 - please use AdminUpdateConfigV1Short instead.

func (*ConfigService) AdminUpdateConfigV1Short

func (*ConfigService) ExportConfig deprecated

Deprecated: 2022-01-10 - please use ExportConfigShort instead.

func (*ConfigService) ExportConfigShort

func (aaa *ConfigService) ExportConfigShort(input *config.ExportConfigParams) ([]*chatclientmodels.ModelsConfigExport, error)

func (*ConfigService) GetAuthSession

func (aaa *ConfigService) GetAuthSession() auth.Session

func (*ConfigService) ImportConfig deprecated

Deprecated: 2022-01-10 - please use ImportConfigShort instead.

func (*ConfigService) ImportConfigShort

func (*ConfigService) PublicGetConfigV1 deprecated added in v0.69.0

Deprecated: 2022-01-10 - please use PublicGetConfigV1Short instead.

func (*ConfigService) PublicGetConfigV1Short added in v0.69.0

func (*ConfigService) UpdateFlightId added in v0.63.0

func (aaa *ConfigService) UpdateFlightId(flightId string)

type InboxService

type InboxService struct {
	Client           *chatclient.JusticeChatService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*InboxService) AdminAddInboxCategory deprecated

Deprecated: 2022-01-10 - please use AdminAddInboxCategoryShort instead.

func (*InboxService) AdminDeleteInboxCategory deprecated

func (aaa *InboxService) AdminDeleteInboxCategory(input *inbox.AdminDeleteInboxCategoryParams) error

Deprecated: 2022-01-10 - please use AdminDeleteInboxCategoryShort instead.

func (*InboxService) AdminDeleteInboxCategoryShort

func (aaa *InboxService) AdminDeleteInboxCategoryShort(input *inbox.AdminDeleteInboxCategoryParams) error

func (*InboxService) AdminDeleteInboxMessage deprecated

func (aaa *InboxService) AdminDeleteInboxMessage(input *inbox.AdminDeleteInboxMessageParams) error

Deprecated: 2022-01-10 - please use AdminDeleteInboxMessageShort instead.

func (*InboxService) AdminDeleteInboxMessageShort

func (aaa *InboxService) AdminDeleteInboxMessageShort(input *inbox.AdminDeleteInboxMessageParams) error

func (*InboxService) AdminGetCategorySchema deprecated

Deprecated: 2022-01-10 - please use AdminGetCategorySchemaShort instead.

func (*InboxService) AdminGetCategorySchemaShort

func (aaa *InboxService) AdminGetCategorySchemaShort(input *inbox.AdminGetCategorySchemaParams) (*chatclientmodels.ModelsJSONSchemaType, error)

func (*InboxService) AdminGetInboxCategories deprecated

Deprecated: 2022-01-10 - please use AdminGetInboxCategoriesShort instead.

func (*InboxService) AdminGetInboxMessages deprecated

Deprecated: 2022-01-10 - please use AdminGetInboxMessagesShort instead.

func (*InboxService) AdminGetInboxStats deprecated

Deprecated: 2022-01-10 - please use AdminGetInboxStatsShort instead.

func (*InboxService) AdminGetInboxStatsShort

func (*InboxService) AdminGetInboxUsers deprecated

Deprecated: 2022-01-10 - please use AdminGetInboxUsersShort instead.

func (*InboxService) AdminGetInboxUsersShort

func (*InboxService) AdminSaveInboxMessage deprecated

Deprecated: 2022-01-10 - please use AdminSaveInboxMessageShort instead.

func (*InboxService) AdminSendInboxMessage deprecated

Deprecated: 2022-01-10 - please use AdminSendInboxMessageShort instead.

func (*InboxService) AdminUnsendInboxMessage deprecated

Deprecated: 2022-01-10 - please use AdminUnsendInboxMessageShort instead.

func (*InboxService) AdminUpdateInboxCategory deprecated

func (aaa *InboxService) AdminUpdateInboxCategory(input *inbox.AdminUpdateInboxCategoryParams) error

Deprecated: 2022-01-10 - please use AdminUpdateInboxCategoryShort instead.

func (*InboxService) AdminUpdateInboxCategoryShort

func (aaa *InboxService) AdminUpdateInboxCategoryShort(input *inbox.AdminUpdateInboxCategoryParams) error

func (*InboxService) AdminUpdateInboxMessage deprecated

func (aaa *InboxService) AdminUpdateInboxMessage(input *inbox.AdminUpdateInboxMessageParams) error

Deprecated: 2022-01-10 - please use AdminUpdateInboxMessageShort instead.

func (*InboxService) AdminUpdateInboxMessageShort

func (aaa *InboxService) AdminUpdateInboxMessageShort(input *inbox.AdminUpdateInboxMessageParams) error

func (*InboxService) GetAuthSession

func (aaa *InboxService) GetAuthSession() auth.Session

func (*InboxService) UpdateFlightId added in v0.63.0

func (aaa *InboxService) UpdateFlightId(flightId string)

type ModerationService

type ModerationService struct {
	Client           *chatclient.JusticeChatService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*ModerationService) AdminDeleteChatSnapshot deprecated

func (aaa *ModerationService) AdminDeleteChatSnapshot(input *moderation.AdminDeleteChatSnapshotParams) error

Deprecated: 2022-01-10 - please use AdminDeleteChatSnapshotShort instead.

func (*ModerationService) AdminDeleteChatSnapshotShort

func (aaa *ModerationService) AdminDeleteChatSnapshotShort(input *moderation.AdminDeleteChatSnapshotParams) error

func (*ModerationService) AdminGetChatSnapshot deprecated

Deprecated: 2022-01-10 - please use AdminGetChatSnapshotShort instead.

func (*ModerationService) AdminGetChatSnapshotShort

func (*ModerationService) GetAuthSession

func (aaa *ModerationService) GetAuthSession() auth.Session

func (*ModerationService) PublicGetChatSnapshot deprecated

Deprecated: 2022-01-10 - please use PublicGetChatSnapshotShort instead.

func (*ModerationService) PublicGetChatSnapshotShort

func (*ModerationService) UpdateFlightId added in v0.63.0

func (aaa *ModerationService) UpdateFlightId(flightId string)

type OperationsService

type OperationsService struct {
	Client           *chatclient.JusticeChatService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*OperationsService) GetAuthSession

func (aaa *OperationsService) GetAuthSession() auth.Session

func (*OperationsService) PublicGetMessages deprecated

Deprecated: 2022-01-10 - please use PublicGetMessagesShort instead.

func (*OperationsService) PublicGetMessagesShort

func (*OperationsService) UpdateFlightId added in v0.63.0

func (aaa *OperationsService) UpdateFlightId(flightId string)

type ProfanityService

type ProfanityService struct {
	Client           *chatclient.JusticeChatService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*ProfanityService) AdminProfanityCreate deprecated

Deprecated: 2022-01-10 - please use AdminProfanityCreateShort instead.

func (*ProfanityService) AdminProfanityCreateBulk deprecated

Deprecated: 2022-01-10 - please use AdminProfanityCreateBulkShort instead.

func (*ProfanityService) AdminProfanityCreateBulkShort

func (*ProfanityService) AdminProfanityCreateShort

func (*ProfanityService) AdminProfanityDelete deprecated

func (aaa *ProfanityService) AdminProfanityDelete(input *profanity.AdminProfanityDeleteParams) error

Deprecated: 2022-01-10 - please use AdminProfanityDeleteShort instead.

func (*ProfanityService) AdminProfanityDeleteShort

func (aaa *ProfanityService) AdminProfanityDeleteShort(input *profanity.AdminProfanityDeleteParams) error

func (*ProfanityService) AdminProfanityExport deprecated

Deprecated: 2022-01-10 - please use AdminProfanityExportShort instead.

func (*ProfanityService) AdminProfanityExportShort

func (*ProfanityService) AdminProfanityGroup deprecated

Deprecated: 2022-01-10 - please use AdminProfanityGroupShort instead.

func (*ProfanityService) AdminProfanityGroupShort

func (*ProfanityService) AdminProfanityImport deprecated

Deprecated: 2022-01-10 - please use AdminProfanityImportShort instead.

func (*ProfanityService) AdminProfanityQuery deprecated

Deprecated: 2022-01-10 - please use AdminProfanityQueryShort instead.

func (*ProfanityService) AdminProfanityQueryShort

func (*ProfanityService) AdminProfanityUpdate deprecated

Deprecated: 2022-01-10 - please use AdminProfanityUpdateShort instead.

func (*ProfanityService) AdminProfanityUpdateShort

func (*ProfanityService) GetAuthSession

func (aaa *ProfanityService) GetAuthSession() auth.Session

func (*ProfanityService) UpdateFlightId added in v0.63.0

func (aaa *ProfanityService) UpdateFlightId(flightId string)

type TopicService

type TopicService struct {
	Client           *chatclient.JusticeChatService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*TopicService) AdminAddTopicMember deprecated

Deprecated: 2022-01-10 - please use AdminAddTopicMemberShort instead.

func (*TopicService) AdminBanTopicMembers deprecated

Deprecated: 2022-01-10 - please use AdminBanTopicMembersShort instead.

func (*TopicService) AdminBanTopicMembersShort

func (*TopicService) AdminChannelTopicInfo deprecated

Deprecated: 2022-01-10 - please use AdminChannelTopicInfoShort instead.

func (*TopicService) AdminChannelTopicInfoShort

func (*TopicService) AdminChannelTopicList deprecated

Deprecated: 2022-01-10 - please use AdminChannelTopicListShort instead.

func (*TopicService) AdminChannelTopicSummary deprecated

Deprecated: 2022-01-10 - please use AdminChannelTopicSummaryShort instead.

func (*TopicService) AdminChatHistory deprecated

Deprecated: 2022-01-10 - please use AdminChatHistoryShort instead.

func (*TopicService) AdminCreateNamespaceTopic deprecated

Deprecated: 2022-01-10 - please use AdminCreateNamespaceTopicShort instead.

func (*TopicService) AdminCreateNamespaceTopicShort

func (aaa *TopicService) AdminCreateNamespaceTopicShort(input *topic.AdminCreateNamespaceTopicParams) (*chatclientmodels.APICreateTopicResponse, error)

func (*TopicService) AdminCreateTopic deprecated

Deprecated: 2022-01-10 - please use AdminCreateTopicShort instead.

func (*TopicService) AdminCreateTopicShort

func (*TopicService) AdminDeleteChat deprecated

func (aaa *TopicService) AdminDeleteChat(input *topic.AdminDeleteChatParams) error

Deprecated: 2022-01-10 - please use AdminDeleteChatShort instead.

func (*TopicService) AdminDeleteChatShort

func (aaa *TopicService) AdminDeleteChatShort(input *topic.AdminDeleteChatParams) error

func (*TopicService) AdminDeleteTopic deprecated

Deprecated: 2022-01-10 - please use AdminDeleteTopicShort instead.

func (*TopicService) AdminDeleteTopicShort

func (*TopicService) AdminFilterChatMessage deprecated added in v0.69.0

Deprecated: 2022-01-10 - please use AdminFilterChatMessageShort instead.

func (*TopicService) AdminFilterChatMessageShort added in v0.69.0

func (*TopicService) AdminQueryTopic deprecated

Deprecated: 2022-01-10 - please use AdminQueryTopicShort instead.

func (*TopicService) AdminQueryTopicLog deprecated

Deprecated: 2022-01-10 - please use AdminQueryTopicLogShort instead.

func (*TopicService) AdminQueryTopicShort

func (aaa *TopicService) AdminQueryTopicShort(input *topic.AdminQueryTopicParams) ([]*chatclientmodels.ModelsTopicInfo, error)

func (*TopicService) AdminQueryUsersTopic deprecated

Deprecated: 2022-01-10 - please use AdminQueryUsersTopicShort instead.

func (*TopicService) AdminRemoveTopicMember deprecated

Deprecated: 2022-01-10 - please use AdminRemoveTopicMemberShort instead.

func (*TopicService) AdminSendChat deprecated

Deprecated: 2022-01-10 - please use AdminSendChatShort instead.

func (*TopicService) AdminSendChatShort

func (*TopicService) AdminTopicChatHistory deprecated

Deprecated: 2022-01-10 - please use AdminTopicChatHistoryShort instead.

func (*TopicService) AdminTopicList deprecated

Deprecated: 2022-01-10 - please use AdminTopicListShort instead.

func (*TopicService) AdminTopicListShort

func (aaa *TopicService) AdminTopicListShort(input *topic.AdminTopicListParams) ([]*chatclientmodels.ModelsTopicResponse, error)

func (*TopicService) AdminTopicMembers deprecated

Deprecated: 2022-01-10 - please use AdminTopicMembersShort instead.

func (*TopicService) AdminTopicShards deprecated

func (aaa *TopicService) AdminTopicShards(input *topic.AdminTopicShardsParams) ([]string, error)

Deprecated: 2022-01-10 - please use AdminTopicShardsShort instead.

func (*TopicService) AdminTopicShardsShort

func (aaa *TopicService) AdminTopicShardsShort(input *topic.AdminTopicShardsParams) ([]string, error)

func (*TopicService) AdminUnbanTopicMembers deprecated

Deprecated: 2022-01-10 - please use AdminUnbanTopicMembersShort instead.

func (*TopicService) AdminUnbanTopicMembersShort

func (*TopicService) AdminUpdateTopic deprecated

Deprecated: 2022-01-10 - please use AdminUpdateTopicShort instead.

func (*TopicService) AdminUpdateTopicShort

func (*TopicService) GetAuthSession

func (aaa *TopicService) GetAuthSession() auth.Session

func (*TopicService) PublicBanTopicMembers deprecated

Deprecated: 2022-01-10 - please use PublicBanTopicMembersShort instead.

func (*TopicService) PublicChatHistory deprecated

Deprecated: 2022-01-10 - please use PublicChatHistoryShort instead.

func (*TopicService) PublicChatHistoryShort

func (*TopicService) PublicDeleteChat deprecated

func (aaa *TopicService) PublicDeleteChat(input *topic.PublicDeleteChatParams) error

Deprecated: 2022-01-10 - please use PublicDeleteChatShort instead.

func (*TopicService) PublicDeleteChatShort

func (aaa *TopicService) PublicDeleteChatShort(input *topic.PublicDeleteChatParams) error

func (*TopicService) PublicGetMutedTopics deprecated

Deprecated: 2022-01-10 - please use PublicGetMutedTopicsShort instead.

func (*TopicService) PublicGetMutedTopicsShort

func (aaa *TopicService) PublicGetMutedTopicsShort(input *topic.PublicGetMutedTopicsParams) ([]*chatclientmodels.APIMutedTopicResponse, error)

func (*TopicService) PublicMuteUser deprecated

func (aaa *TopicService) PublicMuteUser(input *topic.PublicMuteUserParams) error

Deprecated: 2022-01-10 - please use PublicMuteUserShort instead.

func (*TopicService) PublicMuteUserShort

func (aaa *TopicService) PublicMuteUserShort(input *topic.PublicMuteUserParams) error

func (*TopicService) PublicTopicList deprecated

Deprecated: 2022-01-10 - please use PublicTopicListShort instead.

func (*TopicService) PublicTopicListShort

func (*TopicService) PublicUnbanTopicMembers deprecated

Deprecated: 2022-01-10 - please use PublicUnbanTopicMembersShort instead.

func (*TopicService) PublicUnmuteUser deprecated

func (aaa *TopicService) PublicUnmuteUser(input *topic.PublicUnmuteUserParams) error

Deprecated: 2022-01-10 - please use PublicUnmuteUserShort instead.

func (*TopicService) PublicUnmuteUserShort

func (aaa *TopicService) PublicUnmuteUserShort(input *topic.PublicUnmuteUserParams) error

func (*TopicService) UpdateFlightId added in v0.63.0

func (aaa *TopicService) UpdateFlightId(flightId string)

Jump to

Keyboard shortcuts

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