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, }, ), )
View Source
var CancelAddKeyboard *telego.InlineKeyboardMarkup = tu.InlineKeyboard( tu.InlineKeyboardRow( telego.InlineKeyboardButton{ Text: ShowingAddRepoCancel, CallbackData: MenuCallback, }, ), )
View Source
var StartKeyboard *telego.InlineKeyboardMarkup = tu.InlineKeyboard( tu.InlineKeyboardRow( telego.InlineKeyboardButton{ Text: SeeAllReposMessage, CallbackData: SeeAllCallback, }, ), tu.InlineKeyboardRow( telego.InlineKeyboardButton{ Text: AddRepoMessage, CallbackData: AddCallback, }, ), )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.