Sha256: d3eea34762c6b5e79e0749c129cf4cbfa20b668cfa954f84cc611948daafe4e0
Contents?: true
Size: 1.27 KB
Versions: 33
Compression:
Stored size: 1.27 KB
Contents
# coding: utf-8 # frozen_string_literal: true module Stealth module Services class BaseReplyHandler attr_reader :recipient_id, :reply def initialize(recipient_id:, reply:) @client = client @options = options end def text reply_format_not_supported(format: 'text') end def image reply_format_not_supported(format: 'image') end def audio reply_format_not_supported(format: 'audio') end def video reply_format_not_supported(format: 'video') end def file reply_format_not_supported(format: 'file') end def cards reply_format_not_supported(format: 'cards') end def list reply_format_not_supported(format: 'list') end def receipt reply_format_not_supported(format: 'receipt') end def mark_seen reply_format_not_supported(format: 'mark_seen') end def enable_typing_indicator reply_format_not_supported(format: 'enable_typing_indicator') end def disable_typing_indicator reply_format_not_supported(format: 'disable_typing_indicator') end def delay reply_format_not_supported(format: 'delay') end end end end
Version data entries
33 entries across 33 versions & 1 rubygems