class Hamilton::Types::ChatBoost

Overview

This object contains information about a chat boost.

Included Modules

Defined in:

types/chat_boost.cr

Constructors

Instance Method Summary

Instance methods inherited from class Reference

==(other : Hamilton::Any) ==

Instance methods inherited from class Object

===(other : Hamilton::Any) ===

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new(params) #

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

def self.new(**params) #

Instance Method Detail

def add_date : Int32 #

Point in time (Unix timestamp) when the chat was boosted.


def add_date=(add_date : Int32) #

Point in time (Unix timestamp) when the chat was boosted.


def boost_id : String #

Unique identifier of the boost.


def boost_id=(boost_id : String) #

Unique identifier of the boost.


def expiration_date : Int32 #

Point in time (Unix timestamp) when the boost will automatically expire, unless the booster's Telegram Premium subscription is prolonged.


def expiration_date=(expiration_date : Int32) #

Point in time (Unix timestamp) when the boost will automatically expire, unless the booster's Telegram Premium subscription is prolonged.


def non_nil_fields : Array(String) #

List of available non-nil fields.


def non_nil_fields=(non_nil_fields : Array(String)) #

List of available non-nil fields.


Source of the added boost.


def source=(source : Hamilton::Types::ChatBoostSource) #

Source of the added boost.