Package 

Class CustomMessage

  • All Implemented Interfaces:
    ai.tock.bot.api.model.message.bot.BotMessage

    
    public final class CustomMessage
     implements BotMessage
                        
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final ConstrainedValueWrapper<out ConnectorMessage> message
      private final Long delay
    • Constructor Summary

      Constructors 
      Constructor Description
      CustomMessage(ConstrainedValueWrapper<out ConnectorMessage> message, Long delay)
    • Method Summary

      Modifier and Type Method Description
      final ConstrainedValueWrapper<out ConnectorMessage> component1()
      final Long component2()
      final CustomMessage copy(ConstrainedValueWrapper<out ConnectorMessage> message, Long delay)
      final ConstrainedValueWrapper<out ConnectorMessage> getMessage()
      Long getDelay() The delay to wait before sending this message.
      • Methods inherited from class ai.tock.bot.api.model.message.bot.BotMessage

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

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

      • CustomMessage

        CustomMessage(ConstrainedValueWrapper<out ConnectorMessage> message, Long delay)
    • Method Detail

      • component1

         final ConstrainedValueWrapper<out ConnectorMessage> component1()
      • getMessage

         final ConstrainedValueWrapper<out ConnectorMessage> getMessage()
      • getDelay

         Long getDelay()

        The delay to wait before sending this message.