Class: TD::Types::ReportChatSponsoredMessageOption

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

Overview

Describes an option to report a sponsored message.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#idString

Unique identifier of the option.



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

def id
  @id
end

#textTD::Types::String

Text of the option.



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

def text
  @text
end