S
S
shoxabbos Olimjonov2016-08-16 15:32:13
Yii
shoxabbos Olimjonov, 2016-08-16 15:32:13

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
fb9938b0e11f47c7915db358ae773089.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Timofeev, 2016-08-18
@shoxabbos1994

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 question

Ask a Question

731 491 924 answers to any question