> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SuperOffice.WebApi.Data.NewsFeedCTA

# <a id="SuperOffice_WebApi_Data_NewsFeedCTA" /> Class NewsFeedCTA

Namespace: [SuperOffice.WebApi.Data](SuperOffice.WebApi.Data.md)\
Assembly: SuperOffice.WebApi.dll

Carrier object for NewsFeedCTA.
News feed CTAs are created by agents or other services for display on the start page and other relevant places in the UI.

```csharp theme={null}
public class NewsFeedCTA
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[NewsFeedCTA](SuperOffice.WebApi.Data.NewsFeedCTA.md)

#### Inherited Members

[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring),
[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),
[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),
[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)

## Constructors

### <a id="SuperOffice_WebApi_Data_NewsFeedCTA__ctor" /> NewsFeedCTA()

Default constructor - defaults any enum props to 0.

```csharp theme={null}
public NewsFeedCTA()
```

## Properties

### <a id="SuperOffice_WebApi_Data_NewsFeedCTA_CtaFlavor" /> CtaFlavor

The flavor of the CTA, which determines the style the CTA button renders its type. Info/Warning/Error/Accept/Reject
NULL if unknown enum value.

```csharp theme={null}
[JsonIgnore]
public CtaFlavor? CtaFlavor { get; set; }
```

#### Property Value

[CtaFlavor](SuperOffice.WebApi.Data.CtaFlavor.md)?

#### See Also

[NewsFeedCTA](SuperOffice.WebApi.Data.NewsFeedCTA.md).[CtaFlavor\_String](SuperOffice.WebApi.Data.NewsFeedCTA.md#SuperOffice_WebApi_Data_NewsFeedCTA_CtaFlavor_String)

### <a id="SuperOffice_WebApi_Data_NewsFeedCTA_CtaFlavor_String" /> CtaFlavor\_String

The flavor of the CTA, which determines the style the CTA button renders its type. Info/Warning/Error/Accept/Reject
Raw string enum value.

```csharp theme={null}
[JsonProperty("CtaFlavor")]
public string CtaFlavor_String { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

#### See Also

[NewsFeedCTA](SuperOffice.WebApi.Data.NewsFeedCTA.md).[CtaFlavor](SuperOffice.WebApi.Data.NewsFeedCTA.md#SuperOffice_WebApi_Data_NewsFeedCTA_CtaFlavor)

### <a id="SuperOffice_WebApi_Data_NewsFeedCTA_CtaType" /> CtaType

The type of the CTA, which determines how the CTA button renders. Primary/Secondary/Link
NULL if unknown enum value.

```csharp theme={null}
[JsonIgnore]
public CtaType? CtaType { get; set; }
```

#### Property Value

[CtaType](SuperOffice.WebApi.Data.CtaType.md)?

#### See Also

[NewsFeedCTA](SuperOffice.WebApi.Data.NewsFeedCTA.md).[CtaType\_String](SuperOffice.WebApi.Data.NewsFeedCTA.md#SuperOffice_WebApi_Data_NewsFeedCTA_CtaType_String)

### <a id="SuperOffice_WebApi_Data_NewsFeedCTA_CtaType_String" /> CtaType\_String

The type of the CTA, which determines how the CTA button renders. Primary/Secondary/Link
Raw string enum value.

```csharp theme={null}
[JsonProperty("CtaType")]
public string CtaType_String { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

#### See Also

[NewsFeedCTA](SuperOffice.WebApi.Data.NewsFeedCTA.md).[CtaType](SuperOffice.WebApi.Data.NewsFeedCTA.md#SuperOffice_WebApi_Data_NewsFeedCTA_CtaType)

### <a id="SuperOffice_WebApi_Data_NewsFeedCTA_Identifier" /> Identifier

An identifier for the CTA, which will be sent back to the application when the user clicks the CTA button. E.g. 'approve\_button/234', 'reject/53fw1', '5235faq143='. Where to route is determined by the ApplicationId on the NewsFeedItem

```csharp theme={null}
public virtual string Identifier { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_NewsFeedCTA_Title" /> Title

The title of the CTA button. E.g. 'Approve', 'Reject', 'View details'. Multi-language string supported: 'US:"english";NO:"norsk"'.

```csharp theme={null}
public virtual string Title { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

## See Also

[NewsFeedAgent](SuperOffice.WebApi.Agents.NewsFeedAgent.md)


## Related topics

- [SuperOffice.WebApi.Data.NewsFeedItem](/en/api/reference/webapi/SuperOffice.WebApi.Data.NewsFeedItem.md)
- [SuperOffice.WebApi.Data.NewsFeed PostNewsFeedItemRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.NewsFeed_PostNewsFeedItemRequest.md)
- [SuperOffice.WebApi.Data.NewsFeed GetNewsFeedItemsByIdRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.NewsFeed_GetNewsFeedItemsByIdRequest.md)
- [SuperOffice.WebApi.Data.NewsFeedItemStatus](/en/api/reference/webapi/SuperOffice.WebApi.Data.NewsFeedItemStatus.md)
- [SuperOffice.WebApi.Data.NewsFeed GetNewsItemsForUserRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.NewsFeed_GetNewsItemsForUserRequest.md)
- [SuperOffice.WebApi.Data.NewsFeed MarkAsHandledRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.NewsFeed_MarkAsHandledRequest.md)
