Class: TD::Types::Update::NewCustomEvent

Inherits:
TD::Types::Update show all
Defined in:
lib/tdlib/types/update/new_custom_event.rb

Overview

A new incoming event; for bots only.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#eventTD::Types::String

A JSON-serialized event.

Returns:

  • (TD::Types::String)

    the current value of event



5
6
7
# File 'lib/tdlib/types/update/new_custom_event.rb', line 5

def event
  @event
end