Documentation ¶
Index ¶
- func CheckMissedBlocks(restApi, validatorConsAddress string) (int64, error)
- func GetChatID(u tgbotapi.Update) int64
- func GetMsgID(u tgbotapi.Update) int
- func GetUserID(u tgbotapi.Update) int
- func GetUserName(u tgbotapi.Update) string
- func SendMessage(bot *tgbotapi.BotAPI, update tgbotapi.Update, text string, mode string, ...)
- func SendReplyMessage(bot *tgbotapi.BotAPI, update tgbotapi.Update, text string, mode string, ...)
- type MissedBlocksResponse
- type ValSigningInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckMissedBlocks ¶
func SendMessage ¶
func SendMessage(bot *tgbotapi.BotAPI, update tgbotapi.Update, text string, mode string, btns ...tgbotapi.InlineKeyboardMarkup)
SendMessage ...
func SendReplyMessage ¶
func SendReplyMessage(bot *tgbotapi.BotAPI, update tgbotapi.Update, text string, mode string, btns ...tgbotapi.InlineKeyboardMarkup)
SendMessage ...
Types ¶
type MissedBlocksResponse ¶
type MissedBlocksResponse struct {
ValSigningInfo ValSigningInfo `json:"val_signing_info"`
}
type ValSigningInfo ¶
Click to show internal directories.
Click to hide internal directories.