Class: TD::Types::MainWebApp

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/main_web_app.rb

Overview

Contains information about the main Web App of a bot.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#is_compactBoolean

True, if the Web App must always be opened in the compact mode instead of the full-size mode.

Returns:

  • (Boolean)

    the current value of is_compact



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

def is_compact
  @is_compact
end

#urlTD::Types::String

URL of the Web App to open.

Returns:

  • (TD::Types::String)

    the current value of url



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

def url
  @url
end