consts

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SeeAllCallback = "1"
	AddCallback    = "2"
	MenuCallback   = "101"
)
View Source
const (
	SeeAllReposMessage = "See all repos"

	AddRepoMessage = "Add a repo"

	AboutMessage = "" /* 333-byte string literal not displayed */

	StartMessage = "Pick one of the options below"

	UnknownCommandMessage = "Sorry, I don't understand. Please pick one of the valid options."

	ShowingAddRepoMessage = "Send a message containing your repo in one of the following formats: user/repo, https://github.com/user/repo"

	ShowingAddRepoCancel = "Cancel"

	InvalidRepoMessage = "" /* 129-byte string literal not displayed */

	ShowingAllReposMessage = "" /* 134-byte string literal not displayed */

	ShowingAllReposButNoneFoundMessage = "There are no watched repos. Add one?"

	DelteRepoEmoji = "🗑️"

	PreReleasesActive   = "Pre: ✔️"
	PreReleasesInactive = "Pre: ❌"

	// Very creative
	Yes = "Yes"

	No = "No"

	AddedRepoSuccessfully = "Repo added successfully. Add another?"

	AddedRepoSuccessfullyNoReleases = "Repo added successfully but it has no releases. I will ping you when there is one. Add another?"

	RepoExists = "Repo already exists in your watched list. Try another?"

	RepoNotFound = "I could not find the repo. Try again?"

	CheckRepo = "Check it out"

	FlipOperationPrefix     = "FLOP_"
	PreviousOperationPrefix = "PRV_"
	ForwardOperationPrefix  = "FWD_"
)

Variables

View Source
var AddAnotherRepoKeyboard *telego.InlineKeyboardMarkup = tu.InlineKeyboard(
	tu.InlineKeyboardRow(
		telego.InlineKeyboardButton{
			Text:         Yes,
			CallbackData: AddCallback,
		},
		telego.InlineKeyboardButton{
			Text:         No,
			CallbackData: MenuCallback,
		},
	),
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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