Method: Chatterbot::DSL#reply

Defined in:
lib/chatterbot/dsl.rb

#reply(txt, source, params = {}) ⇒ Object

reply to a tweet

Parameters:

Options Hash (params):

  • :media (String, File)

    Optional file object to send with the tweet. Must be an image or video that will be accepted by Twitter. You can pass a File object, or the path to a file

See Also:



117
118
119
# File 'lib/chatterbot/dsl.rb', line 117

def reply(txt, source, params={})
  bot.reply(txt, source, params)
end