diff options
author | Pierre de Lacroix <pierre@pdelacroix.com> | 2021-09-02 23:20:34 +0200 |
---|---|---|
committer | Pierre de Lacroix <pierre@pdelacroix.com> | 2021-09-02 23:20:34 +0200 |
commit | 79ec2d33a749eb3245a39156601323232b8f4c9e (patch) | |
tree | c4499e577c85b6c224a2721a897c3222fedde578 | |
parent | add delegate for Polyjuice.Client.Account (diff) |
add put_data callback in ClientBehaviour
-rw-r--r-- | lib/matrix_app_service/client_behaviour.ex | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/matrix_app_service/client_behaviour.ex b/lib/matrix_app_service/client_behaviour.ex index b7e2602..c62769c 100644 --- a/lib/matrix_app_service/client_behaviour.ex +++ b/lib/matrix_app_service/client_behaviour.ex @@ -30,6 +30,7 @@ defmodule MatrixAppService.ClientBehaviour do {:ok, String.t()} | Any @callback get_profile(Polyjuice.Client.LowLevel.t(), String.t()) :: {:ok, map()} | any @callback get_data(Polyjuice.Client.LowLevel.t(), String.t(), String.t()) :: {:ok, map()} | any + @callback put_data(Polyjuice.Client.LowLevel.t(), String.t(), String.t(), Map.t()) :: {:ok, map()} | any @callback put_displayname(Polyjuice.Client.LowLevel.t(), String.t(), String.t()) :: :ok | any @callback put_avatar_url(Polyjuice.Client.LowLevel.t(), String.t(), String.t()) :: :ok | any @callback join(Polyjuice.Client.LowLevel.t(), String.t()) :: :ok | any |