Class TelegramSpaceParser

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<Chat> parse​(@NotNull Update update)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TelegramSpaceParser

        public TelegramSpaceParser()
    • Method Detail

      • parse

        @NonNull
        public java.util.Optional<Chat> parse​(@NonNull @NotNull
                                              @NotNull Update update)
        Specified by:
        parse in interface SpaceParser<Update,​Chat>
        Parameters:
        update - The message
        Returns:
        retrieves the space associated with the message