class Stealth::Services::BaseReplyHandler

Attributes

recipient_id[R]
reply[R]

Public Class Methods

new(recipient_id:, reply:) click to toggle source
# File lib/stealth/services/base_reply_handler.rb, line 10
def initialize(recipient_id:, reply:)
  @client = client
  @options = options
end

Public Instance Methods

audio() click to toggle source
# File lib/stealth/services/base_reply_handler.rb, line 23
def audio
  reply_format_not_supported(format: 'audio')
end
cards() click to toggle source
# File lib/stealth/services/base_reply_handler.rb, line 35
def cards
  reply_format_not_supported(format: 'cards')
end
delay() click to toggle source
# File lib/stealth/services/base_reply_handler.rb, line 59
def delay
  reply_format_not_supported(format: 'delay')
end
disable_typing_indicator() click to toggle source
# File lib/stealth/services/base_reply_handler.rb, line 55
def disable_typing_indicator
  reply_format_not_supported(format: 'disable_typing_indicator')
end
enable_typing_indicator() click to toggle source
# File lib/stealth/services/base_reply_handler.rb, line 51
def enable_typing_indicator
  reply_format_not_supported(format: 'enable_typing_indicator')
end
file() click to toggle source
# File lib/stealth/services/base_reply_handler.rb, line 31
def file
  reply_format_not_supported(format: 'file')
end
image() click to toggle source
# File lib/stealth/services/base_reply_handler.rb, line 19
def image
  reply_format_not_supported(format: 'image')
end
list() click to toggle source
# File lib/stealth/services/base_reply_handler.rb, line 39
def list
  reply_format_not_supported(format: 'list')
end
mark_seen() click to toggle source
# File lib/stealth/services/base_reply_handler.rb, line 47
def mark_seen
  reply_format_not_supported(format: 'mark_seen')
end
receipt() click to toggle source
# File lib/stealth/services/base_reply_handler.rb, line 43
def receipt
  reply_format_not_supported(format: 'receipt')
end
text() click to toggle source
# File lib/stealth/services/base_reply_handler.rb, line 15
def text
  reply_format_not_supported(format: 'text')
end
video() click to toggle source
# File lib/stealth/services/base_reply_handler.rb, line 27
def video
  reply_format_not_supported(format: 'video')
end