class Playbook::PbMessage::Message

def avatar_class

def avatar_class
  valid? ? "avatar" : nil
end

def classname

def classname
  generate_classname("pb_message_kit", avatar_class)
end

def valid?

def valid?
  avatar_url.present? || avatar_name
end