summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/matrix_app_service/client_behaviour.ex4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/matrix_app_service/client_behaviour.ex b/lib/matrix_app_service/client_behaviour.ex
index 6c69846..e373b73 100644
--- a/lib/matrix_app_service/client_behaviour.ex
+++ b/lib/matrix_app_service/client_behaviour.ex
@@ -11,8 +11,8 @@ defmodule MatrixAppService.ClientBehaviour do
Polyjuice.Client.LowLevel.t()
@callback client([client_options()]) ::
Polyjuice.Client.LowLevel.t()
- @callback create_room(Keyword.t()) :: {:ok, String.t()} | Any
- @callback create_room(Keyword.t(), client_options()) :: {:ok, String.t()} | Any
+ @callback create_room(Keyword.t()) :: {:ok, map()} | Any
+ @callback create_room(Keyword.t(), client_options()) :: {:ok, map()} | Any
@callback create_alias(String.t(), String.t(), client_options()) :: {:ok, String.t()} | Any
@callback send_message(String.t(), String.t(), client_options()) :: {:ok, String.t()} | Any
@callback register() ::