rocketchat.calls.chat package¶
Submodules¶
rocketchat.calls.chat.send_message module¶
-
class
rocketchat.calls.chat.send_message.
SendMessage
(settings=None, *args, **kwargs)¶ Bases:
rocketchat.calls.base.PostMixin
,rocketchat.calls.base.RocketChatBase
-
build_endpoint
(**kwargs)¶ Build the endpoint for the user given some kwargs from the initial calling.
Returns:
-
build_payload
(**kwargs)¶ Build a payload dict that will be passed directly to the endpoint. If you need to pass this as plain text or whatever you’ll need to the dumping here.
Returns:
-
endpoint
= '/api/v1/chat.postMessage'¶
-