Packages

p

canoe

syntax

package syntax

Linear Supertypes
Expects, Contents, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. syntax
  2. Expects
  3. Contents
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait Contents extends AnyRef
  2. type Expect[A] = PartialFunction[TelegramMessage, A]
  3. final class ExpectTelegramMessageOps extends AnyVal
  4. final class ExpectTextMessageOps extends AnyVal
  5. trait Expects extends AnyRef
  6. final class MethodSyntax[A] extends AnyVal

    Syntax enhancement for using Telegram methods.

  7. final class PartialFunctionOps[A, B] extends AnyVal

Value Members

  1. val animation: Expect[Animation]

    Partial function which matches only animation messages and returns contained animation

    Partial function which matches only animation messages and returns contained animation

    Definition Classes
    Expects
  2. val animationMessage: Expect[AnimationMessage]

    Partial function which matches only animation messages

    Partial function which matches only animation messages

    Definition Classes
    Expects
  3. implicit def animationMessageContent(animation: Animation): AnimationContent
    Definition Classes
    Contents
  4. val any: Expect[TelegramMessage]

    Partial function which matches any incoming messages

    Partial function which matches any incoming messages

    Definition Classes
    Expects
  5. val audio: Expect[Audio]

    Partial function which matches only audio messages and returns contained audio

    Partial function which matches only audio messages and returns contained audio

    Definition Classes
    Expects
  6. val audioMessage: Expect[AudioMessage]

    Partial function which matches only audio messages

    Partial function which matches only audio messages

    Definition Classes
    Expects
  7. implicit def audioMessageContent(audio: Audio): AudioContent
    Definition Classes
    Contents
  8. def command(name: String): Expect[TextMessage]

    Partial function which matches only text messages starting with a command with provided name

    Partial function which matches only text messages starting with a command with provided name

    Definition Classes
    Expects
  9. val contact: Expect[Contact]

    Partial function which matches only contact messages and returns contained contact

    Partial function which matches only contact messages and returns contained contact

    Definition Classes
    Expects
  10. val contactMessage: Expect[ContactMessage]

    Partial function which matches only contact messages

    Partial function which matches only contact messages

    Definition Classes
    Expects
  11. implicit def contactMessageContent(contact: Contact): ContactContent
    Definition Classes
    Contents
  12. implicit def diceMessageContent(emoji: DiceEmoji): DiceContent
    Definition Classes
    Contents
  13. val diceResult: Expect[DiceResult]

    Partial function which matches only dice thrown messages and returns result

    Partial function which matches only dice thrown messages and returns result

    Definition Classes
    Expects
  14. val diceThrownMessage: Expect[DiceThrownMessage]

    Partial function which matches only dice thrown messages

    Partial function which matches only dice thrown messages

    Definition Classes
    Expects
  15. val document: Expect[Document]

    Partial function which matches only document messages and returns contained document

    Partial function which matches only document messages and returns contained document

    Definition Classes
    Expects
  16. val documentMessage: Expect[DocumentMessage]

    Partial function which matches only document messages

    Partial function which matches only document messages

    Definition Classes
    Expects
  17. implicit def documentMessageContent(document: Document): DocumentContent
    Definition Classes
    Contents
  18. implicit def expectTelegramMessageOps(original: Expect[TelegramMessage]): ExpectTelegramMessageOps
  19. implicit def expectTextMessageOps(textMessage: Expect[TextMessage]): ExpectTextMessageOps
  20. val game: Expect[Game]

    Partial function which matches only game messages and returns contained game

    Partial function which matches only game messages and returns contained game

    Definition Classes
    Expects
  21. val gameMessage: Expect[GameMessage]

    Partial function which matches only game messages

    Partial function which matches only game messages

    Definition Classes
    Expects
  22. val location: Expect[Location]

    Partial function which matches only location messages and returns contained location

    Partial function which matches only location messages and returns contained location

    Definition Classes
    Expects
  23. val locationMessage: Expect[LocationMessage]

    Partial function which matches only location messages

    Partial function which matches only location messages

    Definition Classes
    Expects
  24. implicit def locationMessageContent(location: Location): LocationContent
    Definition Classes
    Contents
  25. implicit def methodOps[A](a: A): MethodSyntax[A]
  26. implicit def partialFunctionOps[A, B](original: PartialFunction[A, B]): PartialFunctionOps[A, B]
  27. val photo: Expect[PhotoSize]

    Partial function which matches only photo messages and returns contained photo

    Partial function which matches only photo messages and returns contained photo

    Definition Classes
    Expects
  28. val photoMessage: Expect[PhotoMessage]

    Partial function which matches only photo messages

    Partial function which matches only photo messages

    Definition Classes
    Expects
  29. implicit def photoMessageContent(photo: PhotoSize): PhotoContent
    Definition Classes
    Contents
  30. val poll: Expect[Poll]

    Partial function which matches only poll messages and returns contained poll

    Partial function which matches only poll messages and returns contained poll

    Definition Classes
    Expects
  31. val pollMessage: Expect[PollMessage]

    Partial function which matches only poll messages

    Partial function which matches only poll messages

    Definition Classes
    Expects
  32. val sticker: Expect[Sticker]

    Partial function which matches only sticker messages and returns contained sticker

    Partial function which matches only sticker messages and returns contained sticker

    Definition Classes
    Expects
  33. val stickerMessage: Expect[StickerMessage]

    Partial function which matches only sticker messages

    Partial function which matches only sticker messages

    Definition Classes
    Expects
  34. implicit def stickerMessageContent(sticker: Sticker): StickerContent
    Definition Classes
    Contents
  35. val text: Expect[String]

    Partial function which matches only text messages and returns contained text

    Partial function which matches only text messages and returns contained text

    Definition Classes
    Expects
  36. implicit def textContent(text: String): TextContent
    Definition Classes
    Contents
  37. val textMessage: Expect[TextMessage]

    Partial function which matches only text messages

    Partial function which matches only text messages

    Definition Classes
    Expects
  38. val venue: Expect[Venue]

    Partial function which matches only venue messages and returns contained venue

    Partial function which matches only venue messages and returns contained venue

    Definition Classes
    Expects
  39. val venueMessage: Expect[VenueMessage]

    Partial function which matches only venue messages

    Partial function which matches only venue messages

    Definition Classes
    Expects
  40. implicit def venueMessageContent(venue: Venue): VenueContent
    Definition Classes
    Contents
  41. val video: Expect[Video]

    Partial function which matches only video messages and returns contained video

    Partial function which matches only video messages and returns contained video

    Definition Classes
    Expects
  42. val videoMessage: Expect[VideoMessage]

    Partial function which matches only video messages

    Partial function which matches only video messages

    Definition Classes
    Expects
  43. implicit def videoMessageContent(video: Video): VideoContent
    Definition Classes
    Contents
  44. val videoNote: Expect[VideoNote]

    Partial function which matches only video note messages and returns contained video note

    Partial function which matches only video note messages and returns contained video note

    Definition Classes
    Expects
  45. val videoNoteMessage: Expect[VideoNoteMessage]

    Partial function which matches only video note messages

    Partial function which matches only video note messages

    Definition Classes
    Expects
  46. implicit def videoNoteMessageContent(videoNote: VideoNote): VideoNoteContent
    Definition Classes
    Contents
  47. val voice: Expect[Voice]

    Partial function which matches only voice messages and returns contained voice

    Partial function which matches only voice messages and returns contained voice

    Definition Classes
    Expects
  48. val voiceMessage: Expect[VoiceMessage]

    Partial function which matches only voice messages

    Partial function which matches only voice messages

    Definition Classes
    Expects
  49. implicit def voiceMessageContent(voice: Voice): VoiceContent
    Definition Classes
    Contents

Inherited from Expects

Inherited from Contents

Inherited from AnyRef

Inherited from Any

Ungrouped