Closed hb2544 closed 4 years ago
you must use getUpdateType function as this sample:
$msgType = $telegram->getUpdateType();
if($msgType == 'photo'){
// get caption
}
if($msgType == 'video'){
// get caption
}
if($msgType == 'message'){
// get text
}
Thanks I did it but I couldnt get caption It doesnt work
Thanks I did it but I couldnt get caption It doesnt work
I did Thanks!
Hi How I can access to text of a forwarded message as caption For example despite forwading a message, we haven’t this condition: if($text) because there isn’t any input text Or by forward an image, audio, video or doc with caption, how I can analyze the text of its caption?
Thanks