File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -1906,7 +1906,7 @@ public function Callback_ChatID()
1906
1906
{
1907
1907
return $ this ->data ['callback_query ' ]['message ' ]['chat ' ]['id ' ];
1908
1908
}
1909
-
1909
+
1910
1910
/// Get the Get the from_id of the current callback
1911
1911
1912
1912
/**
@@ -1917,7 +1917,6 @@ public function Callback_FromID()
1917
1917
return $ this ->data ['callback_query ' ]['from ' ]['id ' ];
1918
1918
}
1919
1919
1920
-
1921
1920
/// Get the date of the current message
1922
1921
1923
1922
/**
@@ -2042,19 +2041,20 @@ public function messageFromGroup()
2042
2041
2043
2042
return true ;
2044
2043
}
2045
-
2044
+
2046
2045
/// Get the contact phone number
2047
2046
/**
2048
2047
* \return a String of the contact phone number.
2049
2048
*/
2050
- public function getContactPhoneNumber ()
2051
- {
2049
+ public function getContactPhoneNumber ()
2050
+ {
2052
2051
if ($ this ->getUpdateType () == self ::CONTACT ) {
2053
- return $ this ->data [" message " ][ " contact " ][ " phone_number " ];
2052
+ return $ this ->data [' message ' ][ ' contact ' ][ ' phone_number ' ];
2054
2053
}
2054
+
2055
2055
return '' ;
2056
2056
}
2057
-
2057
+
2058
2058
/// Get the title of the group chat
2059
2059
2060
2060
/**
You can’t perform that action at this time.
0 commit comments