tgview

package
v0.0.0-...-493173e Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddFriend

type AddFriend struct {
}

func (AddFriend) AskDate

func (a AddFriend) AskDate(s *usersession.Session)

func (AddFriend) AskName

func (a AddFriend) AskName(s *usersession.Session)

func (AddFriend) Cancel

func (a AddFriend) Cancel(s *usersession.Session)

func (AddFriend) FailedToParseDate

func (a AddFriend) FailedToParseDate(s *usersession.Session)

func (AddFriend) Success

func (a AddFriend) Success(s *usersession.Session, newFriend friendship.Friend)

func (AddFriend) WrongNumberOfDays

func (a AddFriend) WrongNumberOfDays(s *usersession.Session)

type AddFromVK

type AddFromVK struct {
}

func (AddFromVK) AskForID

func (f AddFromVK) AskForID(s *usersession.Session)

func (AddFromVK) Canceled

func (f AddFromVK) Canceled(s *usersession.Session)

func (AddFromVK) IDIsNotANumber

func (f AddFromVK) IDIsNotANumber(s *usersession.Session)

func (AddFromVK) ProfileIsHidden

func (f AddFromVK) ProfileIsHidden(s *usersession.Session)

func (AddFromVK) Success

func (f AddFromVK) Success(s *usersession.Session)

type FriendList

type FriendList struct {
}

func (FriendList) Send

type Menu struct {
}
func (m Menu) Keyboard() [][]telegram.KeyboardButton
func (m Menu) Send(s *usersession.Session, edit bool)

type Reminders

type Reminders struct {
}

func (Reminders) WishYourFriendsHappyBirthday

func (n Reminders) WishYourFriendsHappyBirthday(s *usersession.Session) (birthdaysNumber int, err error)

type RemoveFriend

type RemoveFriend struct {
}

func (RemoveFriend) Approved

func (RemoveFriend) AskForApprove

func (f RemoveFriend) AskForApprove(s *usersession.Session, friend friendship.Friend)

func (RemoveFriend) AskIndexOrName

func (f RemoveFriend) AskIndexOrName(s *usersession.Session)

func (RemoveFriend) Cancel

func (f RemoveFriend) Cancel(s *usersession.Session)

func (RemoveFriend) Canceled

func (RemoveFriend) WrongIndex

func (f RemoveFriend) WrongIndex(s *usersession.Session)

func (RemoveFriend) WrongName

func (f RemoveFriend) WrongName(s *usersession.Session)

type RemoveFromVK

type RemoveFromVK struct {
}

func (RemoveFromVK) Success

func (f RemoveFromVK) Success(s *usersession.Session)

type Start

type Start struct {
}

func (Start) Send

func (st Start) Send(s *usersession.Session)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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