messages.rateTranscribedAudio
Rate transcribed voice message
func (c *Client) MessagesRateTranscribedAudio(ctx context.Context, request *MessagesRateTranscribedAudioRequest) (bool, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.MessagesRateTranscribedAudio(ctx, &tg.MessagesRateTranscribedAudioRequest{
// see Parameters
})
if err != nil {
return err
}
_ = res // bool
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
Peer | InputPeerClass | yes | Peer where the voice message was sent |
MsgID | int | yes | Message ID |
TranscriptionID | int64 | yes | Transcription ID |
Good | bool | yes | Whether the transcription was correct |
Returns
bool
References
- Official documentation
- Generated Go reference
- TL definition:
messages.rateTranscribedAudio#7f1d072f