MessageInput

io.github.pidoveproject.showdown.protocol.MessageInput
See theMessageInput companion class
object MessageInput

Attributes

Companion
class
Source
MessageInput.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def fromInput(input: String, roomId: RoomId): MessageInput

Create a MessageInput from String.

Create a MessageInput from String.

Value parameters

input

the raw textual input

Attributes

Returns

a MessageInput resulting from the parsed raw String

Source
MessageInput.scala
def fromList(list: List[String], roomId: RoomId): MessageInput

Create a MessageInput from the a list of parts.

Create a MessageInput from the a list of parts.

Value parameters

list

the list of textual parts of a message

Attributes

Returns

a new MessageInput with the given parts, indexed

Source
MessageInput.scala