redis

package
v0.23.1 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Key added in v0.14.0

type Key string

Key key.

const (
	// RecapReplayFromPrivateMessageControl1 is the key for recapturing the replayed message from private messages.
	// params: enabled for user id
	RecapReplayFromPrivateMessageControl1 Key = "recap/replay_from_private_message/%d"

	// RecapReplayFromPrivateMessageBatch1 is the key for recapturing the replayed message from private messages.
	// params: enabled for user id
	RecapReplayFromPrivateMessageBatch1 Key = "recap/replay_from_private_message/%d/batch"

	// RecapPrivateSubscriptionStartCommandContext1 is the key for storing the recap private subscription start command context.
	// params: hash key
	RecapPrivateSubscriptionStartCommandContext1 Key = "recap/private_subscription/start_command_context/%s"

	// RecapSubscribeRecapStartCommandContext1 is the key for storing the recap subscribe recap start command context.
	// params: hash key
	RecapSubscribeRecapStartCommandContext1 Key = "recap/subscribe_recap/start_command_context/%s"
)
const (
	// SessionRecapReplayFromPrivateMessage0 is the key for cancelling the recap replayed message from private messages.
	SessionRecapReplayFromPrivateMessage0 Key = "session/cancellable/recap_replay_from_private_message"

	// SessionDeleteLaterMessagesForActor1 is the key for deleting later messages for actor.
	// params: actor id
	SessionDeleteLaterMessagesForActor1 Key = "session/delete_later_messages_for_actor/%d" // List
)
const (
	// CallbackQueryData2 is the key for storing callback query data.
	// params: handler route, action hash
	CallbackQueryData2 Key = "callback_query/button_data/%s/%s"
)

CallbackQueryData keys.

const (
	// CommandRateLimitLock2 is the key for command rate limit lock.
	// params: command, platform, chat id
	CommandRateLimitLock2 Key = "rate_limit/manual_recap/command:%s/group/%s/%s"
)
const (
	// TimeCapsuleAutoRecapSortedSetKey is the key for auto recap used timecapsule queue.
	TimeCapsuleAutoRecapSortedSetKey Key = "time_capsule/auto_recap_capsules" //  SortedSet
)

func (Key) Format added in v0.14.0

func (k Key) Format(params ...interface{}) string

Format format.

Jump to

Keyboard shortcuts

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