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. 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
  13. val documentMessage: Expect[DocumentMessage]

    Partial function which matches only document messages

    Partial function which matches only document messages

    Definition Classes
    Expects
  14. implicit def documentMessageContent(document: Document): DocumentContent
    Definition Classes
    Contents
  15. implicit def expectTelegramMessageOps(original: Expect[TelegramMessage]): ExpectTelegramMessageOps
  16. implicit def expectTextMessageOps(textMessage: Expect[TextMessage]): ExpectTextMessageOps
  17. 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
  18. val gameMessage: Expect[GameMessage]

    Partial function which matches only game messages

    Partial function which matches only game messages

    Definition Classes
    Expects
  19. 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
  20. val locationMessage: Expect[LocationMessage]

    Partial function which matches only location messages

    Partial function which matches only location messages

    Definition Classes
    Expects
  21. implicit def locationMessageContent(location: Location): LocationContent
    Definition Classes
    Contents
  22. implicit def methodOps[A](a: A): MethodSyntax[A]
  23. implicit def partialFunctionOps[A, B](original: PartialFunction[A, B]): PartialFunctionOps[A, B]
  24. 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
  25. val photoMessage: Expect[PhotoMessage]

    Partial function which matches only photo messages

    Partial function which matches only photo messages

    Definition Classes
    Expects
  26. implicit def photoMessageContent(photo: PhotoSize): PhotoContent
    Definition Classes
    Contents
  27. 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
  28. val pollMessage: Expect[PollMessage]

    Partial function which matches only poll messages

    Partial function which matches only poll messages

    Definition Classes
    Expects
  29. 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
  30. val stickerMessage: Expect[StickerMessage]

    Partial function which matches only sticker messages

    Partial function which matches only sticker messages

    Definition Classes
    Expects
  31. implicit def stickerMessageContent(sticker: Sticker): StickerContent
    Definition Classes
    Contents
  32. 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
  33. implicit def textContent(text: String): TextContent
    Definition Classes
    Contents
  34. val textMessage: Expect[TextMessage]

    Partial function which matches only text messages

    Partial function which matches only text messages

    Definition Classes
    Expects
  35. 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
  36. val venueMessage: Expect[VenueMessage]

    Partial function which matches only venue messages

    Partial function which matches only venue messages

    Definition Classes
    Expects
  37. implicit def venueMessageContent(venue: Venue): VenueContent
    Definition Classes
    Contents
  38. 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
  39. val videoMessage: Expect[VideoMessage]

    Partial function which matches only video messages

    Partial function which matches only video messages

    Definition Classes
    Expects
  40. implicit def videoMessageContent(video: Video): VideoContent
    Definition Classes
    Contents
  41. 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
  42. val videoNoteMessage: Expect[VideoNoteMessage]

    Partial function which matches only video note messages

    Partial function which matches only video note messages

    Definition Classes
    Expects
  43. implicit def videoNoteMessageContent(videoNote: VideoNote): VideoNoteContent
    Definition Classes
    Contents
  44. 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
  45. val voiceMessage: Expect[VoiceMessage]

    Partial function which matches only voice messages

    Partial function which matches only voice messages

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

Inherited from Expects

Inherited from Contents

Inherited from AnyRef

Inherited from Any

Ungrouped