Class: TD::Types::ReportChatSponsoredMessageResult::OptionRequired

Inherits:
TD::Types::ReportChatSponsoredMessageResult show all
Defined in:
lib/tdlib/types/report_chat_sponsored_message_result/option_required.rb

Overview

The user must choose an option to report the message and repeat request with the chosen option.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#optionsArray<TD::Types::ReportChatSponsoredMessageOption>

List of available options.

Returns:



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

def options
  @options
end

#titleTD::Types::String

Title for the option choice.

Returns:

  • (TD::Types::String)

    the current value of title



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

def title
  @title
end