CopyTextButton constructor

const CopyTextButton({
  1. @JsonKey(name: 'text') required String text,
})

This object represents an inline keyboard button that copies specified text to the clipboard.

Implementation

const factory CopyTextButton({
  /// The text to be copied to the clipboard; 1-256 characters
  @JsonKey(name: 'text') required String text,
}) = _CopyTextButton;