Class: TD::Types::MessageContent::ChatSetBackground
- Inherits:
-
TD::Types::MessageContent
- Object
- Dry::Struct
- Base
- TD::Types::MessageContent
- TD::Types::MessageContent::ChatSetBackground
- Defined in:
- lib/tdlib/types/message_content/chat_set_background.rb
Overview
A new background was set in the chat.
Instance Attribute Summary collapse
-
#background ⇒ TD::Types::ChatBackground
The new background.
-
#old_background_message_id ⇒ Integer
Identifier of the message with a previously set same background; 0 if none.
-
#only_for_self ⇒ Boolean
True, if the background was set only for self.
Method Summary
Methods inherited from Base
Instance Attribute Details
#background ⇒ TD::Types::ChatBackground
The new background.
9 10 11 |
# File 'lib/tdlib/types/message_content/chat_set_background.rb', line 9 def background @background end |
#old_background_message_id ⇒ Integer
Identifier of the message with a previously set same background; 0 if none. Can be an identifier of a deleted message.
9 10 11 |
# File 'lib/tdlib/types/message_content/chat_set_background.rb', line 9 def @old_background_message_id end |
#only_for_self ⇒ Boolean
True, if the background was set only for self.
9 10 11 |
# File 'lib/tdlib/types/message_content/chat_set_background.rb', line 9 def only_for_self @only_for_self end |