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

#eventString

A JSON-serialized event.

Returns:

  • (String)

    the current value of event



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

def event
  @event
end