Class: TD::Types::InputBackground::Local

Inherits:
TD::Types::InputBackground show all
Defined in:
lib/tdlib/types/input_background/local.rb

Overview

A background from a local file.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#backgroundTD::Types::InputFile

Background file to use. Only TD::Types::InputFile::Local and TD::Types::InputFile::Generated are supported. The file nust be in JPEG format for wallpapers and in PNG format for patterns.

Returns:



7
8
9
# File 'lib/tdlib/types/input_background/local.rb', line 7

def background
  @background
end