Class: TD::Types::ChatReportReason::Custom

Inherits:
TD::Types::ChatReportReason show all
Defined in:
lib/tdlib/types/chat_report_reason/custom.rb

Overview

A custom reason provided by the user.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#textString

Report text.

Returns:

  • (String)

    the current value of text



5
6
7
# File 'lib/tdlib/types/chat_report_reason/custom.rb', line 5

def text
  @text
end