Archived
1

Pins to selected chats

Closes #6
This commit is contained in:
2017-11-26 08:31:56 +04:00
parent a6811f61fc
commit 8368a3c60b
7 changed files with 120 additions and 4 deletions

View File

@@ -17,6 +17,7 @@ type ChatterInterface interface {
GetAllPrivateChats() ([]dbmapping.Chat, bool)
GetLeaguePrivateChats() ([]dbmapping.Chat, bool)
GetAllGroupChats() ([]dbmapping.Chat, bool)
GetGroupChatsByIDs(chatsIDs string) ([]dbmapping.Chat, bool)
UpdateChatTitle(chatRaw *dbmapping.Chat, newTitle string) (*dbmapping.Chat, bool)
UpdateChatTelegramID(update *tgbotapi.Update) (*dbmapping.Chat, bool)