Class: TD::Types::Update::ChatBoost

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

Overview

A chat boost has changed; for bots only.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#boostTD::Types::ChatBoost

New information about the boost.

Returns:



6
7
8
# File 'lib/tdlib/types/update/chat_boost.rb', line 6

def boost
  @boost
end

#chat_idInteger

Chat identifier.

Returns:

  • (Integer)

    the current value of chat_id



6
7
8
# File 'lib/tdlib/types/update/chat_boost.rb', line 6

def chat_id
  @chat_id
end