Versions in this module Expand all Collapse all v0 v0.1.0 Mar 13, 2022 Changes in this version + const CommandReported + const EntityTypeHashtag + const EntityTypeMention + const EntityTypeTextMention + type HashtagEntities []HashtagEntity + func (hes HashtagEntities) StrHashtags() []string + type HashtagEntity struct + func NewHashtagEntity(entity tgbotapi.MessageEntity, text []uint16) (HashtagEntity, error) + func (me HashtagEntity) Hashtag() []uint16 + func (me HashtagEntity) HashtagStr() string + type MentionEntity struct + func NewMentionEntity(entity tgbotapi.MessageEntity, utf16Text []uint16) (MentionEntity, error) + func (me MentionEntity) Username() []uint16 + func (me MentionEntity) UsernameStr() string + type Message struct + func MessageFromTgbotApiMessage(message *tgbotapi.Message) (Message, error) + func (m Message) Entities() []tgbotapi.MessageEntity + func (m Message) HasHashtag() bool + func (m Message) Hashtags() HashtagEntities + func (m Message) IsCaption() bool + func (m Message) Mentions() []MentionEntity + func (m Message) PhotoID() string + func (m Message) Utf16Text() []uint16 + type TelegramBotUpdateHandler struct + func NewTelegramBotUpdateHandler(updateChan tgbotapi.UpdatesChannel, ...) TelegramBotUpdateHandler + func (t *TelegramBotUpdateHandler) Run()