sendFile

Send file with only file_id, no need for specifying file type

Arguments
Name Type Description Required
file_id string yes
chat_id int | string no
message_thread_id int no
caption string no

Output : message | bool | responseError

Static or normal : Static

Examples :

request::sendFile('BAACAgQAAxkBAAIeYGS9BimJls__3fovn99sY610Jz8sAAK7DQACjNPpUZ3WWpU6IPSvLwQ');
request::sendFile('BAACAgQAAxkBAAIeYGS9BimJls__3fovn99sY610Jz8sAAK7DQACjNPpUZ3WWpU6IPSvLwQ','hello');