Class: TD::Types::FoundWebApp

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

Overview

Contains information about a Web App found by its short name.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#request_write_accessBoolean

True, if the user must be asked for the permission to the bot to send them messages.

Returns:

  • (Boolean)

    the current value of request_write_access



10
11
12
# File 'lib/tdlib/types/found_web_app.rb', line 10

def request_write_access
  @request_write_access
end

#skip_confirmationBoolean

True, if there is no need to show an ordinary open URL confirmation before opening the Web App. The field must be ignored and confirmation must be shown anyway if the Web App link was hidden.

Returns:

  • (Boolean)

    the current value of skip_confirmation



10
11
12
# File 'lib/tdlib/types/found_web_app.rb', line 10

def skip_confirmation
  @skip_confirmation
end

#web_appTD::Types::WebApp

The Web App.

Returns:



10
11
12
# File 'lib/tdlib/types/found_web_app.rb', line 10

def web_app
  @web_app
end