# UIFEED::UI_FEED_GET_CURRENT_MESSAGE

- **Hash:** `0xC17F69E1418CD11F`
- **Namespace:** UIFEED
- **Runtime name (Lua/JS):** `UiFeedGetCurrentMessage`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/UIFEED/UI_FEED_GET_CURRENT_MESSAGE

## Signature

```c
int UI_FEED_GET_CURRENT_MESSAGE(int feedChannel);
```

## Parameters

- `feedChannel` (`int`)

## Returns

`int`

## Description

feedChannel: see UI_FEED_CLEAR_CHANNEL
Returns feedMessage

## Usage

### Lua

```lua
local retval = UiFeedGetCurrentMessage(feedChannel)

-- always available, by hash
local retval = Citizen.InvokeNative(0xC17F69E1418CD11F, feedChannel, Citizen.ResultAsInteger())
```

### JavaScript

```js
const retval = UiFeedGetCurrentMessage(feedChannel);

// by hash
const retval = Citizen.invokeNative('0xC17F69E1418CD11F', feedChannel, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
```

### C#

```csharp
int retval = Function.Call<int>((Hash)0xC17F69E1418CD11F, feedChannel);
```

## Related enums

- [eUIFeedChannel](https://natives.borderlinerp.com/enums/eUIFeedChannel.md) — 15 values

*Sources: alloc8or RDR3 NativeDB.*
