Answer the question
In order to leave comments, you need to log in
How to send keyboard using GET method in telegram?
How can mojna send message s keyboard'om s pomoshyu methodom GET? Dopustim cherez funksiya file_get_contents(
)
Eta url s nujnimi parametrami kotoriy doljen otpravit message:
chat_id=89345562&text=test&reply_markup%5Bkeyboard%5D%5B0%5D%5B0%5D=7&
reply_markup%5Bkeyboard%5D%5B0%5D%5B1%5D=8&reply_markup%5Bkeyboard%5D%5B0 %5D%5B2%5D=9&
reply_markup%5Bkeyboard%5D%5B1%5D%5B0%5D=4&reply_markup%5Bkeyboard%5D%5B1%5D%5B1%5D=5&
reply_markup%5Bkeyboard%5D%5B1%5D%5B2%5D =6&reply_markup%5Bkeyboard%5D%5B2%5D%5B0%5D=1&
reply_markup%5Bkeyboard%5D%5B2%5D%5B1%5D=2&reply_markup%5Bkeyboard%5D%5B2%5D%5B2%5D=3&
reply_markup%5Bkeyboard%5D %5B3%5D%5B0%5D=0&
reply_markup%5Bone_time_keyboard%5D=1
Eta kak viglyadet array
Answer the question
In order to leave comments, you need to log in
Where is the request code? With file_get_contents() it definitely won't work, they also check from which domain the sending is coming from. You need CURL
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question