/
githubmirror
/
client
Обзор
Документация
Войти
/
githubmirror
/
client
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
protocol/avdl/keybase1/featured_bot.avdl
31 строка
751 B
Joshua Blum
Add bots to inbox search (#23466)
06 апр 2020, 23:12
Не верифицирован
06 апр 2020, 23:12
c6929d1
Код
Авторство
О чём код?
@namespace("keybase.1") protocol featuredBot { import idl "common.avdl"; record FeaturedBot { string botAlias; string description; string extendedDescription; string extendedDescriptionRaw; string botUsername; union { null, string } ownerTeam; union { null, string } ownerUser; int rank; boolean isPromoted; } record FeaturedBotsRes { array<FeaturedBot> bots; boolean isLastPage; } record SearchRes { array<FeaturedBot> bots; boolean isLastPage; } FeaturedBotsRes featuredBots(int limit, int offset, boolean skipCache); SearchRes search(string query, int limit, int offset); SearchRes searchLocal(string query, int limit, boolean skipCache); }