File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -1896,7 +1896,7 @@ public function Callback_Message()
1896
1896
return $ this ->data ['callback_query ' ]['message ' ];
1897
1897
}
1898
1898
1899
- /// Get the Get the chati_id of the current callback
1899
+ /// Get the Get the chat_id of the current callback
1900
1900
1901
1901
/**
1902
1902
* \deprecated Use ChatId() instead
@@ -1906,6 +1906,17 @@ public function Callback_ChatID()
1906
1906
{
1907
1907
return $ this ->data ['callback_query ' ]['message ' ]['chat ' ]['id ' ];
1908
1908
}
1909
+
1910
+ /// Get the Get the from_id of the current callback
1911
+
1912
+ /**
1913
+ * \return the String callback_query from_id.
1914
+ */
1915
+ public function Callback_FromID ()
1916
+ {
1917
+ return $ this ->data ['callback_query ' ]['from ' ]['id ' ];
1918
+ }
1919
+
1909
1920
1910
1921
/// Get the date of the current message
1911
1922
You can’t perform that action at this time.
0 commit comments