lib/talkbird/entity/user.rb in talkbird-0.0.4 vs lib/talkbird/entity/user.rb in talkbird-0.0.5

- old
+ new

@@ -149,11 +149,11 @@ # # @param to [String] The Sendbird user ID that should receive the message # @param text [String] The message body # # @return [Boolean] - def message(to, text) - Entity::Message.new(self, to, text).deliver + def message(to, text, opts = {}) + Entity::Message.new(self, to, text, opts).deliver end def to_h @data.to_h end