chat

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const ServiceVersion = "staging"

Variables

View Source
var SDKVersion string

Functions

func GetUserAgent

func GetUserAgent() string

func NewChatClient

func NewChatClient(configRepository repository.ConfigRepository) *chatclient.JusticeChatService

Types

type ConfigService

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

	FlightIdRepository *utils.FlightIdContainer
}

func (*ConfigService) AdminGetAllConfigV1Short

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

func (*ConfigService) AdminGetConfigV1Short

func (aaa *ConfigService) AdminGetConfigV1Short(input *config.AdminGetConfigV1Params) (*config.AdminGetConfigV1Response, error)

func (*ConfigService) AdminGetLogConfigShort

func (aaa *ConfigService) AdminGetLogConfigShort(input *config.AdminGetLogConfigParams) (*config.AdminGetLogConfigResponse, error)

func (*ConfigService) AdminPatchUpdateLogConfigShort

func (*ConfigService) AdminUpdateConfigV1Short

func (aaa *ConfigService) AdminUpdateConfigV1Short(input *config.AdminUpdateConfigV1Params) (*config.AdminUpdateConfigV1Response, error)

func (*ConfigService) ExportConfigShort

func (aaa *ConfigService) ExportConfigShort(input *config.ExportConfigParams) (*config.ExportConfigResponse, error)

func (*ConfigService) GetAuthSession

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

func (*ConfigService) ImportConfigShort

func (aaa *ConfigService) ImportConfigShort(input *config.ImportConfigParams) (*config.ImportConfigResponse, error)

func (*ConfigService) PublicGetConfigV1Short

func (aaa *ConfigService) PublicGetConfigV1Short(input *config.PublicGetConfigV1Params) (*config.PublicGetConfigV1Response, error)

func (*ConfigService) UpdateFlightId

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

func (aaa *InboxService) AdminAddInboxCategoryShort(input *inbox.AdminAddInboxCategoryParams) (*inbox.AdminAddInboxCategoryResponse, error)

func (*InboxService) AdminDeleteInboxCategoryShort

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

func (*InboxService) AdminDeleteInboxMessageShort

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

func (*InboxService) AdminGetCategorySchemaShort

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

func (*InboxService) AdminGetInboxCategoriesShort

func (aaa *InboxService) AdminGetInboxCategoriesShort(input *inbox.AdminGetInboxCategoriesParams) (*inbox.AdminGetInboxCategoriesResponse, error)

func (*InboxService) AdminGetInboxMessagesShort

func (aaa *InboxService) AdminGetInboxMessagesShort(input *inbox.AdminGetInboxMessagesParams) (*inbox.AdminGetInboxMessagesResponse, error)

func (*InboxService) AdminGetInboxStatsShort

func (aaa *InboxService) AdminGetInboxStatsShort(input *inbox.AdminGetInboxStatsParams) (*inbox.AdminGetInboxStatsResponse, error)

func (*InboxService) AdminGetInboxUsersShort

func (aaa *InboxService) AdminGetInboxUsersShort(input *inbox.AdminGetInboxUsersParams) (*inbox.AdminGetInboxUsersResponse, error)

func (*InboxService) AdminSaveInboxMessageShort

func (aaa *InboxService) AdminSaveInboxMessageShort(input *inbox.AdminSaveInboxMessageParams) (*inbox.AdminSaveInboxMessageResponse, error)

func (*InboxService) AdminSendInboxMessageShort

func (aaa *InboxService) AdminSendInboxMessageShort(input *inbox.AdminSendInboxMessageParams) (*inbox.AdminSendInboxMessageResponse, error)

func (*InboxService) AdminUnsendInboxMessageShort

func (aaa *InboxService) AdminUnsendInboxMessageShort(input *inbox.AdminUnsendInboxMessageParams) (*inbox.AdminUnsendInboxMessageResponse, error)

func (*InboxService) AdminUpdateInboxCategoryShort

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

func (*InboxService) AdminUpdateInboxMessageShort

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

func (*InboxService) GetAuthSession

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

func (*InboxService) UpdateFlightId

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

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

func (*ModerationService) AdminGetChatSnapshotShort

func (*ModerationService) GetAuthSession

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

func (*ModerationService) PublicGetChatSnapshotShort

func (*ModerationService) UpdateFlightId

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

func (*OperationsService) UpdateFlightId

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

func (aaa *ProfanityService) AdminProfanityCreateBulkShort(input *profanity.AdminProfanityCreateBulkParams) error

func (*ProfanityService) AdminProfanityCreateShort

func (*ProfanityService) AdminProfanityDeleteShort

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

func (*ProfanityService) AdminProfanityExportShort

func (*ProfanityService) AdminProfanityGroupShort

func (*ProfanityService) AdminProfanityImportShort

func (*ProfanityService) AdminProfanityQueryShort

func (*ProfanityService) AdminProfanityUpdateShort

func (*ProfanityService) GetAuthSession

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

func (*ProfanityService) UpdateFlightId

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

func (aaa *TopicService) AdminAddTopicMemberShort(input *topic.AdminAddTopicMemberParams) (*topic.AdminAddTopicMemberResponse, error)

func (*TopicService) AdminBanTopicMembersShort

func (aaa *TopicService) AdminBanTopicMembersShort(input *topic.AdminBanTopicMembersParams) (*topic.AdminBanTopicMembersResponse, error)

func (*TopicService) AdminChannelTopicInfoShort

func (aaa *TopicService) AdminChannelTopicInfoShort(input *topic.AdminChannelTopicInfoParams) (*topic.AdminChannelTopicInfoResponse, error)

func (*TopicService) AdminChannelTopicListShort

func (aaa *TopicService) AdminChannelTopicListShort(input *topic.AdminChannelTopicListParams) (*topic.AdminChannelTopicListResponse, error)

func (*TopicService) AdminChannelTopicSummaryShort

func (aaa *TopicService) AdminChannelTopicSummaryShort(input *topic.AdminChannelTopicSummaryParams) (*topic.AdminChannelTopicSummaryResponse, error)

func (*TopicService) AdminChatHistoryShort

func (aaa *TopicService) AdminChatHistoryShort(input *topic.AdminChatHistoryParams) (*topic.AdminChatHistoryResponse, error)

func (*TopicService) AdminCreateNamespaceTopicShort

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

func (*TopicService) AdminCreateTopicShort

func (aaa *TopicService) AdminCreateTopicShort(input *topic.AdminCreateTopicParams) (*topic.AdminCreateTopicResponse, error)

func (*TopicService) AdminDeleteChatShort

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

func (*TopicService) AdminDeleteTopicShort

func (aaa *TopicService) AdminDeleteTopicShort(input *topic.AdminDeleteTopicParams) (*topic.AdminDeleteTopicResponse, error)

func (*TopicService) AdminFilterChatMessageShort

func (aaa *TopicService) AdminFilterChatMessageShort(input *topic.AdminFilterChatMessageParams) (*topic.AdminFilterChatMessageResponse, error)

func (*TopicService) AdminQueryTopicLogShort

func (aaa *TopicService) AdminQueryTopicLogShort(input *topic.AdminQueryTopicLogParams) (*topic.AdminQueryTopicLogResponse, error)

func (*TopicService) AdminQueryTopicShort

func (aaa *TopicService) AdminQueryTopicShort(input *topic.AdminQueryTopicParams) (*topic.AdminQueryTopicResponse, error)

func (*TopicService) AdminQueryUsersTopicShort

func (aaa *TopicService) AdminQueryUsersTopicShort(input *topic.AdminQueryUsersTopicParams) (*topic.AdminQueryUsersTopicResponse, error)

func (*TopicService) AdminRemoveTopicMemberShort

func (aaa *TopicService) AdminRemoveTopicMemberShort(input *topic.AdminRemoveTopicMemberParams) (*topic.AdminRemoveTopicMemberResponse, error)

func (*TopicService) AdminSendChatShort

func (aaa *TopicService) AdminSendChatShort(input *topic.AdminSendChatParams) (*topic.AdminSendChatResponse, error)

func (*TopicService) AdminTopicChatHistoryShort

func (aaa *TopicService) AdminTopicChatHistoryShort(input *topic.AdminTopicChatHistoryParams) (*topic.AdminTopicChatHistoryResponse, error)

func (*TopicService) AdminTopicListShort

func (aaa *TopicService) AdminTopicListShort(input *topic.AdminTopicListParams) (*topic.AdminTopicListResponse, error)

func (*TopicService) AdminTopicMembersShort

func (aaa *TopicService) AdminTopicMembersShort(input *topic.AdminTopicMembersParams) (*topic.AdminTopicMembersResponse, error)

func (*TopicService) AdminTopicShardsShort

func (aaa *TopicService) AdminTopicShardsShort(input *topic.AdminTopicShardsParams) (*topic.AdminTopicShardsResponse, error)

func (*TopicService) AdminUnbanTopicMembersShort

func (aaa *TopicService) AdminUnbanTopicMembersShort(input *topic.AdminUnbanTopicMembersParams) (*topic.AdminUnbanTopicMembersResponse, error)

func (*TopicService) AdminUpdateTopicShort

func (aaa *TopicService) AdminUpdateTopicShort(input *topic.AdminUpdateTopicParams) (*topic.AdminUpdateTopicResponse, error)

func (*TopicService) GetAuthSession

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

func (*TopicService) PublicBanTopicMembersShort

func (aaa *TopicService) PublicBanTopicMembersShort(input *topic.PublicBanTopicMembersParams) (*topic.PublicBanTopicMembersResponse, error)

func (*TopicService) PublicChatHistoryShort

func (aaa *TopicService) PublicChatHistoryShort(input *topic.PublicChatHistoryParams) (*topic.PublicChatHistoryResponse, error)

func (*TopicService) PublicDeleteChatShort

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

func (*TopicService) PublicGetMutedTopicsShort

func (aaa *TopicService) PublicGetMutedTopicsShort(input *topic.PublicGetMutedTopicsParams) (*topic.PublicGetMutedTopicsResponse, error)

func (*TopicService) PublicMuteUserShort

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

func (*TopicService) PublicTopicListShort

func (aaa *TopicService) PublicTopicListShort(input *topic.PublicTopicListParams) (*topic.PublicTopicListResponse, error)

func (*TopicService) PublicUnbanTopicMembersShort

func (aaa *TopicService) PublicUnbanTopicMembersShort(input *topic.PublicUnbanTopicMembersParams) (*topic.PublicUnbanTopicMembersResponse, error)

func (*TopicService) PublicUnmuteUserShort

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

func (*TopicService) UpdateFlightId

func (aaa *TopicService) UpdateFlightId(flightId string)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳