class Barrymore::Message
Barrymore
implementation of message. You could use it or provide yours with the same behavior
Attributes
chat[RW]
data[RW]
text[RW]
Public Class Methods
new(chat:, text:, data: nil)
click to toggle source
# File lib/barrymore/message.rb, line 7 def initialize(chat:, text:, data: nil) self.chat = chat.freeze self.text = text.freeze self.data = data.freeze if data end