Skip to main content

decrypt_group_call_data

Function decrypt_group_call_data 

Source
pub async fn decrypt_group_call_data(
    group_call_id: i32,
    participant_id: MessageSender,
    data_channel: Option<GroupCallDataChannel>,
    data: String,
    client_id: i32,
) -> Result<Data, Error>
Expand description

Decrypts group call data received by tgcalls

ยงArguments

  • group_call_id - Group call identifier. The call must not be a video chat
  • participant_id - Identifier of the group call participant, which sent the data
  • data_channel - Data channel for which data was encrypted; pass null if unknown
  • data - Data to decrypt
  • client_id - The client id to send the request to