Class: TD::Types::MessageSponsor
- Defined in:
- lib/tdlib/types/message_sponsor.rb
Overview
Information about the sponsor of a message.
Instance Attribute Summary collapse
-
#info ⇒ TD::Types::String
Additional optional information about the sponsor to be shown along with the message.
-
#photo ⇒ TD::Types::Photo?
Photo of the sponsor; may be null if must not be shown.
-
#url ⇒ TD::Types::String
URL of the sponsor to be opened when the message is clicked.
Method Summary
Methods inherited from Base
Instance Attribute Details
#info ⇒ TD::Types::String
Additional optional information about the sponsor to be shown along with the message.
8 9 10 |
# File 'lib/tdlib/types/message_sponsor.rb', line 8 def info @info end |
#photo ⇒ TD::Types::Photo?
Photo of the sponsor; may be null if must not be shown.
8 9 10 |
# File 'lib/tdlib/types/message_sponsor.rb', line 8 def photo @photo end |
#url ⇒ TD::Types::String
URL of the sponsor to be opened when the message is clicked.
8 9 10 |
# File 'lib/tdlib/types/message_sponsor.rb', line 8 def url @url end |