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

# get_comm_channel

> Wyszukuje channel ID w communication channel list i zwraca zapisaną BindableEvent Instance. Pierwszy argument musi być number i jest konwertowany przez integer conversion przed lookup. Jeśli dla tego ID nie istnieje entry, function zwraca nil.

<div className="real-function-page">
  ```lua theme={null}
  get_comm_channel(channelId: number): Instance | nil
  ```

  ## Argumenty

  <ParamField path={"channelId"} type={"number"} required>
    Channel ID konwertowane przez integer conversion i wyszukiwane w communication channel list.
  </ParamField>

  ## Zwroty

  <ResponseField name={"event"} type={"Instance | nil"}>
    Zapisana BindableEvent Instance dla channel ID albo nil, gdy ID nie jest obecne w communication channels.
  </ResponseField>

  ## Przykład

  Look up the BindableEvent Instance stored for a communication channel ID.

  ```lua theme={null}
  local channelId = create_comm_channel()
  local event = get_comm_channel(channelId)

  print(event)
  ```
</div>
