hi
in jtelegrambot lib
i use this code for get user phone number
but after user send i cant split phone number because
Dim tell As Message =message.Contact get error
log(message.Contact) is ok and
result >>> Contact{phoneNumber='+98xxxxxxxxx', firstName='-----', lastName='null', userId=105526931}
i think should be like this > Dim tell As contact =message.Contact but contact is missing
thanks for all helps
in jtelegrambot lib
i use this code for get user phone number
B4X:
Dim ib As KeyboardButtonBuilder
ib.Initialize
Dim mark As ReplyKeyboardMarkup
mark.initialize(ib.newRow.newButton("").newContactButton("send phone").newRow.build,True,True,False)
but after user send i cant split phone number because
Dim tell As Message =message.Contact get error
log(message.Contact) is ok and
result >>> Contact{phoneNumber='+98xxxxxxxxx', firstName='-----', lastName='null', userId=105526931}
i think should be like this > Dim tell As contact =message.Contact but contact is missing
thanks for all helps
Last edited: