diff --git a/proto/credentials.proto b/proto/credentials.proto index a804c3f0a..174783894 100644 --- a/proto/credentials.proto +++ b/proto/credentials.proto @@ -59,3 +59,8 @@ message GitHubApp { string installation_id = 2; string app_id = 3; } + +message SlackTokens { + string app_token = 1; + string bot_token = 2; +} diff --git a/proto/sources.proto b/proto/sources.proto index 3ce7ef89c..55fdad9cd 100644 --- a/proto/sources.proto +++ b/proto/sources.proto @@ -189,6 +189,7 @@ message Slack { string endpoint = 1 [(validate.rules).string.uri_ref = true]; oneof credential { string token = 2; + credentials.SlackTokens tokens = 5; } repeated string channels = 3; repeated string ignoreList = 4;