Sha256: d3ef5a9f4e8f0ab79228b2f90a8b911c01f2db5d644909ceef851358216503ed

Contents?: true

Size: 277 Bytes

Versions: 3

Compression:

Stored size: 277 Bytes

Contents

class ExampleAction < TelegramOnSteroids::Action
  on_redirect do |action|
    action.send_message text: 'Text'
  end

  on_message do |action|
    action.send_message text: 'Text'
  end

  on_callback_query whitelist: [] do |action|
    action.answer_callback_query
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
telegram_on_steroids-0.1.2 examples/example_action.rb
telegram_on_steroids-0.1.1 examples/example_action.rb
telegram_on_steroids-0.1.0 examples/example_action.rb