Class PinParams

  • All Implemented Interfaces:

    
    public final class PinParams
    
                        

    Parameters for pinning a channel to the top.

    val params = PinParams().apply {
        updateOperationTime = false
    }
    channel.pin(params) { result, error -> ... }
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      PinParams()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Boolean getUpdateOperationTime() Whether to update the channel operation timestamp.
      final Unit setUpdateOperationTime(Boolean updateOperationTime) Whether to update the channel operation timestamp.
      • Methods inherited from class java.lang.Object

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

      • PinParams

        PinParams()
    • Method Detail

      • getUpdateOperationTime

         final Boolean getUpdateOperationTime()

        Whether to update the channel operation timestamp. Default is true.

      • setUpdateOperationTime

         final Unit setUpdateOperationTime(Boolean updateOperationTime)

        Whether to update the channel operation timestamp. Default is true.