(bots []dto.AgentTelegramBot)
| 1522 | } |
| 1523 | |
| 1524 | func getTelegramBotAccountIDs(bots []dto.AgentTelegramBot) []string { |
| 1525 | accountIDs := make([]string, 0, len(bots)) |
| 1526 | for _, bot := range bots { |
| 1527 | accountIDs = append(accountIDs, bot.AccountID) |
| 1528 | } |
| 1529 | return accountIDs |
| 1530 | } |
| 1531 | |
| 1532 | func getDiscordBotAccountIDs(bots []dto.AgentDiscordBot) []string { |
| 1533 | accountIDs := make([]string, 0, len(bots)) |
no outgoing calls
no test coverage detected