diff options
Diffstat (limited to 'lib/models/channel/message/message.mli')
| -rw-r--r-- | lib/models/channel/message/message.mli | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/models/channel/message/message.mli b/lib/models/channel/message/message.mli new file mode 100644 index 0000000..09e62a4 --- /dev/null +++ b/lib/models/channel/message/message.mli @@ -0,0 +1,20 @@ +open Async + +include module type of Message_t + +val add_reaction : t -> Emoji.t -> unit Deferred.Or_error.t +val remove_reaction : t -> Emoji.t -> User_t.t -> unit Deferred.Or_error.t +val clear_reactions : t -> unit Deferred.Or_error.t +val delete : t -> unit Deferred.Or_error.t +val pin : t -> unit Deferred.Or_error.t +val unpin : t -> unit Deferred.Or_error.t +val reply : t -> string -> t Deferred.Or_error.t +val reply_with : + ?embed:Embed.t -> + ?content:string -> + ?file:string -> + ?tts:bool -> + t -> + Message_t.t Deferred.Or_error.t +val set_content : t -> string -> t Deferred.Or_error.t +val set_embed : t -> Embed.t -> t Deferred.Or_error.t
\ No newline at end of file |