lib/tdlib/client_methods.rb
def send_chat_action(chat_id:, message_thread_id:, action:)
    broadcast('@type'             => 'sendChatAction',
              'chat_id'           => chat_id,
              'message_thread_id' => message_thread_id,
              'action'            => action)
  end
# Sends a notification about user activity in a chat.
#
# @param chat_id [Integer] Chat identifier.
# @param message_thread_id [Integer] If not 0, a message thread identifier in which the action was performed.
# @param action [TD::Types::ChatAction] The action description; pass null to cancel the currently active action.
# @return [TD::Types::Ok]
Sends a notification about user activity in a chat.
Sends a notification about user activity in a chat .
def send_chat_action(chat_id:, message_thread_id:, action:)
    broadcast('@type'             => 'sendChatAction',
              'chat_id'           => chat_id,
              'message_thread_id' => message_thread_id,
              'action'            => action)
  end
def send_chat_action ( chat_id : , message_thread_id : , action : ) broadcast ( '@type' => 'sendChatAction' , 'chat_id' => chat_id , 'message_thread_id' => message_thread_id , 'action' => action ) end
Sends a notification about user activity in a chat.
Sends a notification about user activity in a chat .
None
TD::Types::Ok
chat_id
None
message_thread_id
If not 0, a message thread identifier in which the action was performed.
If not 0 a message thread identifier in which the action was performed .
action
The action description; pass null to cancel the currently active action.
The action description ; pass null to cancel the currently active action .