Sha256: e9a2d8e64a7b6f4c05391ce50486a69943e65f0eb79c59b0f59e59db65ef0d34

Contents?: true

Size: 723 Bytes

Versions: 1

Compression:

Stored size: 723 Bytes

Contents

module TD::Types
  # Options to be used when a message is send.
  #
  # @attr disable_notification [Boolean] Pass true to disable notification for the message.
  #   Must be false if the message is sent to a secret chat.
  # @attr from_background [Boolean] Pass true if the message is sent from the background.
  # @attr scheduling_state [TD::Types::MessageSchedulingState] Message scheduling state.
  #   Messages sent to a secret chat, live location messages and self-destructing messages can't be scheduled.
  class SendMessageOptions < Base
    attribute :disable_notification, TD::Types::Bool
    attribute :from_background, TD::Types::Bool
    attribute :scheduling_state, TD::Types::MessageSchedulingState
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tdlib-ruby-2.2.0 lib/tdlib/types/send_message_options.rb