---
schema_version: "1"
id: 2da135dfa3e994712dc3f6c624fc36c34692b3798f59b0559e2b503844d3f3f4
title: MessageDefinitionInputParameter Class
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_class_RichMessaging_MessageDefinitionInputParameter.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_MessageDefinitionInputParameter.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 257fc70ffa0641fa6fd4662acc46ed81fb7889826b45fbc26190116de6cdc065
description: Represents a messaging component parameter value. This class is used to provide parameter payloads that can be translated to structured content payloads in rich content messages.A boolean input parameter.A list of boolean parameters.A datetime input parameter.A list of datetime input parameters.A date input parameter.A list of date input parameters.A name input parameter.A number input parameter.A list of number input parameters.A record ID input parameter.A list of record ID input parameters.A text input parameter.A list of text input parameters.
---
# MessageDefinitionInputParameter Class

Represents a messaging component parameter value. This class is used to provide parameter payloads that can be translated to structured content payloads in rich content messages.

## Namespace

[RichMessaging](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_namespace_RichMessaging.htm "Provides objects and methods for handling content in enhanced Messaging channels.")

- **[MessageDefinitionInputParameter Properties](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_MessageDefinitionInputParameter.htm#apex_RichMessaging_MessageDefinitionInputParameter_properties)**

## MessageDefinitionInputParameter Properties

The following are properties for MessageDefinitionInputParameter.

- **[booleanValue](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_MessageDefinitionInputParameter.htm#apex_RichMessaging_MessageDefinitionInputParameter_booleanValue)**  
    A boolean input parameter.
- **[booleanValues](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_MessageDefinitionInputParameter.htm#apex_RichMessaging_MessageDefinitionInputParameter_booleanValues)**  
    A list of boolean parameters.
- **[dateTimeValue](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_MessageDefinitionInputParameter.htm#apex_RichMessaging_MessageDefinitionInputParameter_dateTimeValue)**  
    A datetime input parameter.
- **[dateTimeValues](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_MessageDefinitionInputParameter.htm#apex_RichMessaging_MessageDefinitionInputParameter_dateTimeValues)**  
    A list of datetime input parameters.
- **[dateValue](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_MessageDefinitionInputParameter.htm#apex_RichMessaging_MessageDefinitionInputParameter_dateValue)**  
    A date input parameter.
- **[dateValues](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_MessageDefinitionInputParameter.htm#apex_RichMessaging_MessageDefinitionInputParameter_dateValues)**  
    A list of date input parameters.
- **[name](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_MessageDefinitionInputParameter.htm#apex_RichMessaging_MessageDefinitionInputParameter_name)**  
    A name input parameter.
- **[numberValue](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_MessageDefinitionInputParameter.htm#apex_RichMessaging_MessageDefinitionInputParameter_numberValue)**  
    A number input parameter.
- **[numberValues](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_MessageDefinitionInputParameter.htm#apex_RichMessaging_MessageDefinitionInputParameter_numberValues)**  
    A list of number input parameters.
- **[recordIdValue](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_MessageDefinitionInputParameter.htm#apex_RichMessaging_MessageDefinitionInputParameter_recordIdValue)**  
    A record ID input parameter.
- **[recordIdValues](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_MessageDefinitionInputParameter.htm#apex_RichMessaging_MessageDefinitionInputParameter_recordIdValues)**  
    A list of record ID input parameters.
- **[textValue](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_MessageDefinitionInputParameter.htm#apex_RichMessaging_MessageDefinitionInputParameter_textValue)**  
    A text input parameter.
- **[textValues](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_MessageDefinitionInputParameter.htm#apex_RichMessaging_MessageDefinitionInputParameter_textValues)**  
    A list of text input parameters.

### booleanValue

A boolean input parameter.

#### Signature

public Boolean booleanValue {get; set;}

#### Property Value

Type: [Boolean](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_boolean.htm#apex_methods_system_boolean "Contains methods for the Boolean primitive data type.")

### booleanValues

A list of boolean parameters.

#### Signature

public List<Boolean> booleanValues {get; set;}

#### Property Value

Type: [List](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list "Contains methods for the List collection type.")<[Boolean](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_boolean.htm#apex_methods_system_boolean "Contains methods for the Boolean primitive data type.")\>

### dateTimeValue

A datetime input parameter.

#### Signature

public Datetime dateTimeValue {get; set;}

#### Property Value

Type: [Datetime](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_datetime.htm#apex_methods_system_datetime "Contains methods for the Datetime primitive data type.")

### dateTimeValues

A list of datetime input parameters.

#### Signature

public List<Datetime> dateTimeValues {get; set;}

#### Property Value

Type: [List](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list "Contains methods for the List collection type.")<[Datetime](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_datetime.htm#apex_methods_system_datetime "Contains methods for the Datetime primitive data type.")\>

### dateValue

A date input parameter.

#### Signature

public Date dateValue {get; set;}

#### Property Value

Type: [Date](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_date.htm#apex_methods_system_date "Contains methods for the Date primitive data type.")

### dateValues

A list of date input parameters.

#### Signature

public List<Date> dateValues {get; set;}

#### Property Value

Type: [List](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list "Contains methods for the List collection type.")<[Date](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_date.htm#apex_methods_system_date "Contains methods for the Date primitive data type.")\>

### name

A name input parameter.

#### Signature

public String name {get; set;}

#### Property Value

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.")

### numberValue

A number input parameter.

#### Signature

public Double numberValue {get; set;}

#### Property Value

Type: [Double](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_double.htm#apex_methods_system_double "Contains methods for the Double primitive data type.")

### numberValues

A list of number input parameters.

#### Signature

public List<Double> numberValues {get; set;}

#### Property Value

Type: [List](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list "Contains methods for the List collection type.")<[Double](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_double.htm#apex_methods_system_double "Contains methods for the Double primitive data type.")\>

### recordIdValue

A record ID input parameter.

#### Signature

public String recordIdValue {get; set;}

#### Property Value

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.")

### recordIdValues

A list of record ID input parameters.

#### Signature

public List<String> recordIdValues {get; set;}

#### Property Value

Type: [List](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list "Contains methods for the List collection type.")<[String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.")\>

### textValue

A text input parameter.

#### Signature

public String textValue {get; set;}

#### Property Value

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.")

### textValues

A list of text input parameters.

#### Signature

public List<String> textValues {get; set;}

#### Property Value

Type: [List](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list "Contains methods for the List collection type.")<[String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.")\>