Archived
1

Updating chat name in DataCache

This commit is contained in:
2018-02-17 16:01:05 +04:00
parent bf7eec791a
commit 2466a723be
5 changed files with 26 additions and 61 deletions

View File

@@ -18,6 +18,7 @@ type DataCacheInterface interface {
GetOrCreateChat(update *tgbotapi.Update) (*dbmapping.Chat, error)
GetGroupChatsByIDs(chatIDs []int) []dbmapping.Chat
GetLeaguePrivateChats() []dbmapping.Chat
UpdateChatTitle(chatID int, newTitle string) (*dbmapping.Chat, error)
AddPlayerToSquad(relation *dbmapping.SquadPlayer) (int, error)
GetAllSquadsChats() []dbmapping.Chat