Class: TD::Types::TextEntityType::PreCode

Inherits:
TD::Types::TextEntityType show all
Defined in:
lib/tdlib/types/text_entity_type/pre_code.rb

Overview

Text that must be formatted as if inside pre, and code HTML tags.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#languageTD::Types::String

Programming language of the code; as defined by the sender.

Returns:

  • (TD::Types::String)

    the current value of language



5
6
7
# File 'lib/tdlib/types/text_entity_type/pre_code.rb', line 5

def language
  @language
end