Class: TD::Types::ChatSource::PublicServiceAnnouncement
- Inherits:
-
TD::Types::ChatSource
- Object
- Dry::Struct
- Base
- TD::Types::ChatSource
- TD::Types::ChatSource::PublicServiceAnnouncement
- Defined in:
- lib/tdlib/types/chat_source/public_service_announcement.rb
Overview
The chat contains a public service announcement.
Instance Attribute Summary collapse
-
#text ⇒ TD::Types::String
The text of the announcement.
-
#type ⇒ TD::Types::String
The type of the announcement.
Method Summary
Methods inherited from Base
Instance Attribute Details
#text ⇒ TD::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 |
#type ⇒ TD::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 |