package Ġcom . deck . core . util Ċ Ċ import Ġcom . deck . core . builder . Deck Message Builder Ċ import Ġcom . deck . rest . request . SendMessage Response Ċ import Ġcom . deck . rest . route . Channel Route Ċ import Ġio . ktor . http .* Ċ import Ġjava . util .* Ċ Ċ public Ġsuspend Ġfun ĠChannel Route . sendMessage ( ĊĠĠĠ Ġid : ĠUUID , ĊĠĠĠ Ġbuilder : ĠDeck Message Builder . () Ġ-> ĠUnit Ċ ): ĠSend Message Response Ġ= ĊĠĠĠ Ġsend Request ( ĊĠĠĠĠĠĠĠ Ġendpoint Ġ= Ġ"/ channels /$ id / messages ", ĊĠĠĠĠĠĠĠ Ġmethod Ġ= ĠHttpMethod . Post , ĊĠĠĠĠĠĠĠ Ġbody Ġ= ĠDeck Message Builder (). apply ( builder ). to Request () ĊĠĠĠ Ġ)