Documentation ¶
Index ¶
- Variables
- func CheckEntranceYear(u in.UpdateMessage) (bool, error)
- func CheckPersianText(u in.UpdateMessage) (bool, error)
- func CheckPhoneText(u in.UpdateMessage) (bool, error)
- func CheckStudentNumber(u in.UpdateMessage) (bool, error)
- func HandleCallbacks(ctx context.Context, ent tg.Entities, update *tg.UpdateBotCallbackQuery) error
- func HandleNewMessage(c context.Context, ent tg.Entities, u *tg.UpdateNewMessage) error
- func InitHandlers(database *gorm.DB, raw *telegram.Client, tgClient *tg.Client, ...)
- func IsStringEntraceYear(text string) bool
- func IsStringPersian(text string) bool
- func IsStringPhoneNumber(text string) bool
- func IsStringStudentNumber(text string) bool
Constants ¶
This section is empty.
Variables ¶
View Source
var ( StateMap = in.NewUserStateMap() UserMap = in.NewUserDataMap() EventMap = in.NewEventDataMap() )
Functions ¶
func CheckEntranceYear ¶
func CheckEntranceYear(u in.UpdateMessage) (bool, error)
func CheckPersianText ¶
func CheckPersianText(u in.UpdateMessage) (bool, error)
func CheckPhoneText ¶
func CheckPhoneText(u in.UpdateMessage) (bool, error)
func CheckStudentNumber ¶
func CheckStudentNumber(u in.UpdateMessage) (bool, error)
func HandleCallbacks ¶
func HandleNewMessage ¶
func InitHandlers ¶
func IsStringEntraceYear ¶
func IsStringPersian ¶
func IsStringPhoneNumber ¶
func IsStringStudentNumber ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.