Class: TD::Types::ChatSource::PublicServiceAnnouncement

Inherits:
TD::Types::ChatSource show all
Defined in:
lib/tdlib/types/chat_source/public_service_announcement.rb

Overview

The chat contains a public service announcement.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#textTD::Types::String

The text of the announcement.



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

def text
  @text
end

#typeTD::Types::String

The type of the announcement.



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

def type
  @type
end