Sha256: aa81ab3fd0d946ab15a411a8dd814e9d3deee53a489a0dfc86d6e8af91248791
Contents?: true
Size: 428 Bytes
Versions: 3
Compression:
Stored size: 428 Bytes
Contents
module Messenger module Bot class Thread def set(data) Messenger::Bot::Request.post("https://graph.facebook.com/v2.6/me/thread_settings?access_token=#{Messenger::Bot::Config.access_token}", data) end def unset(data) Messenger::Bot::Request.delete("https://graph.facebook.com/v2.6/me/thread_settings?access_token=#{Messenger::Bot::Config.access_token}", data) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
messenger-bot-1.0.3.2 | lib/messenger/bot/thread.rb |
messenger-bot-1.0.3.1 | lib/messenger/bot/thread.rb |
messenger-bot-1.0.3 | lib/messenger/bot/thread.rb |