Java Code Examples for org.telegram.tgnet.TLRPC#TL_messages_discardEncryption

The following examples show how to use org.telegram.tgnet.TLRPC#TL_messages_discardEncryption . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SecretChatHelper.java    From TelePlus-Android with GNU General Public License v2.0 5 votes vote down vote up
public void declineSecretChat(int chat_id) {
    TLRPC.TL_messages_discardEncryption req = new TLRPC.TL_messages_discardEncryption();
    req.chat_id = chat_id;
    ConnectionsManager.getInstance(currentAccount).sendRequest(req, (response, error) -> {

    });
}
 
Example 2
Source File: SecretChatHelper.java    From TelePlus-Android with GNU General Public License v2.0 5 votes vote down vote up
public void declineSecretChat(int chat_id) {
    TLRPC.TL_messages_discardEncryption req = new TLRPC.TL_messages_discardEncryption();
    req.chat_id = chat_id;
    ConnectionsManager.getInstance(currentAccount).sendRequest(req, (response, error) -> {

    });
}
 
Example 3
Source File: SecretChatHelper.java    From Telegram-FOSS with GNU General Public License v2.0 5 votes vote down vote up
public void declineSecretChat(int chat_id) {
    TLRPC.TL_messages_discardEncryption req = new TLRPC.TL_messages_discardEncryption();
    req.chat_id = chat_id;
    getConnectionsManager().sendRequest(req, (response, error) -> {

    });
}
 
Example 4
Source File: SecretChatHelper.java    From Telegram with GNU General Public License v2.0 5 votes vote down vote up
public void declineSecretChat(int chat_id) {
    TLRPC.TL_messages_discardEncryption req = new TLRPC.TL_messages_discardEncryption();
    req.chat_id = chat_id;
    getConnectionsManager().sendRequest(req, (response, error) -> {

    });
}