Available Methods
- User ( )
- Chat ( )
- Document ( )
- Message ( )
- EncryptedChat ( )
- StickerSetCovered ( )
- FileLocation ( )
- TL_decryptedMessageService ( )
- InputStickerSet ( )
- Dialog ( )
- ChatFull ( )
- PhotoSize ( )
- TL_encryptedChat ( )
- TL_account_password ( )
- TL_wallPaper ( )
- TL_messages_stickerSet ( )
- TL_account_getPassword ( )
- ChatParticipant ( )
- TL_passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow ( )
- TL_messageMediaVenue ( )
- DocumentAttribute ( )
- ChannelParticipant ( )
- TL_peerUser ( )
- InputFileLocation ( )
- InputFile ( )
- TL_channelForbidden ( )
- TL_peerLocated ( )
- TL_dialog ( )
- TL_auth_sentCodeTypeApp ( )
- TL_documentAttributeSticker ( )
- TL_auth_sentCodeTypeFlashCall ( )
- TL_decryptedMessageActionSetMessageTTL ( )
- TL_channels_checkUsername ( )
- TL_messageMediaPoll ( )
- TL_chatBannedRights ( )
- TL_chatEmpty ( )
- WebPage ( )
- TL_messages_getAttachedStickers ( )
- TL_chatFull ( )
- TL_decryptedMessageActionScreenshotMessages ( )
- StickerSet ( )
- TL_secureFile ( )
- TL_contact ( )
- TL_chatForbidden ( )
- TL_channelFull ( )
- TL_inputPeerEmpty ( )
- TL_labeledPrice ( )
- TL_messageActionPhoneCall ( )
- TL_document ( )
- TL_chatParticipantCreator ( )
- TL_auth_codeTypeCall ( )
- TL_phoneConnection ( )
- TL_documentAttributeFilename ( )
- TL_inputGeoPoint ( )
- TL_help_acceptTermsOfService ( )
- TL_account_getAuthorizationForm ( )
- TL_shippingOption ( )
- TL_contacts_resolveUsername ( )
- BotInlineResult ( )
- TL_payments_validatedRequestedInfo ( )
- TL_messageMediaEmpty ( )
- TL_inputStickeredMediaPhoto ( )
- TL_auth_sentCode ( )
- TL_auth_sentCodeTypeCall ( )
- KeyboardButton ( )
- TL_inputPeerChannel ( )
- TL_autoDownloadSettings ( )
- TL_channels_getParticipants ( )
- TL_messages_exportChatInvite ( )
- TL_messages_search ( )
- TL_payments_validateRequestedInfo ( )
- InputEncryptedFile ( )
- InputPeer ( )
- TL_phoneCallDiscardReasonDisconnect ( )
- TL_messageEncryptedAction ( )
- TL_inputPeerPhotoFileLocation ( )
- TL_channel ( )
- TL_replyInlineMarkup ( )
- TL_photoSize ( )
- TL_help_appUpdate ( )
- TL_maskCoords ( )
- TL_inputPhoneCall ( )
- TL_inputStickerSetEmpty ( )
- TL_inputChannelEmpty ( )
- TL_messageService ( )
- TL_inputPaymentCredentialsAndroidPay ( )
- TL_decryptedMessageActionDeleteMessages ( )
- PrivacyRule ( )
- TL_dialogFilterSuggested ( )
- TL_account_checkUsername ( )
- TL_account_updateProfile ( )
- TL_photoEmpty ( )
- TL_auth_codeTypeSms ( )
- TL_phone_discardCall ( )
- TL_privacyValueDisallowAll ( )
- TL_passwordKdfAlgoUnknown ( )
- TL_channelParticipantsAdmins ( )
- TL_inputMessagesFilterMusic ( )
- TL_account_sendConfirmPhoneCode ( )
- TL_inputDocument ( )
- TL_channels_inviteToChannel ( )
- TL_messages_discardEncryption ( )
- TL_chatPhoto ( )
- MessageMedia ( )
- TL_phone_receivedCall ( )
- TL_encryptedChatRequested ( )
- TL_inputPeerUser ( )
- TL_messages_getRecentLocations ( )
- TL_auth_resendCode ( )
- BotInfo ( )
- TL_documentAttributeAudio ( )
- TL_messages_createChat ( )
- TL_channels_joinChannel ( )
- TL_dataJSON ( )
- TL_upload_getCdnFileHashes ( )
- TL_userDeleted_old2 ( )
- TL_inputCheckPasswordSRP ( )
- TL_contacts_getStatuses ( )
- TL_fileLocationToBeDeprecated ( )
- TL_userEmpty ( )
- TL_channels_getAdminLog ( )
- TL_message ( )
- TL_inputPaymentCredentialsSaved ( )
- TL_channelAdminLogEventsFilter ( )
- TL_messages_startBot ( )
- TL_payments_sendPaymentForm ( )
- TL_channels_createChannel ( )
- TL_inputFileLocation ( )
- TL_channelParticipantAdmin ( )
- TL_payments_paymentForm ( )
- DecryptedMessageAction ( )
- TL_inputEncryptedFileLocation ( )
Related Classes
- java.io.File
- java.util.Collections
- android.os.Bundle
- android.content.Context
- android.view.View
- android.widget.TextView
- android.content.Intent
- android.view.ViewGroup
- android.os.Build
- android.widget.Toast
- android.widget.ImageView
- android.net.Uri
- android.graphics.Canvas
- android.text.TextUtils
- android.view.MotionEvent
- android.graphics.drawable.Drawable
- android.widget.LinearLayout
- android.content.SharedPreferences
- android.widget.FrameLayout
- android.view.Gravity
- android.util.TypedValue
- android.graphics.PorterDuff
- android.animation.ObjectAnimator
- androidx.recyclerview.widget.RecyclerView
- androidx.recyclerview.widget.LinearLayoutManager
Java Code Examples for org.telegram.tgnet.TLRPC#TL_channelParticipantsAdmins
The following examples show how to use
org.telegram.tgnet.TLRPC#TL_channelParticipantsAdmins .
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: ChannelAdminLogActivity.java From TelePlus-Android with GNU General Public License v2.0 | 6 votes |
private void loadAdmins() { TLRPC.TL_channels_getParticipants req = new TLRPC.TL_channels_getParticipants(); req.channel = MessagesController.getInputChannel(currentChat); req.filter = new TLRPC.TL_channelParticipantsAdmins(); req.offset = 0; req.limit = 200; int reqId = ConnectionsManager.getInstance(currentAccount).sendRequest(req, new RequestDelegate() { @Override public void run(final TLObject response, final TLRPC.TL_error error) { AndroidUtilities.runOnUIThread(new Runnable() { @Override public void run() { if (error == null) { TLRPC.TL_channels_channelParticipants res = (TLRPC.TL_channels_channelParticipants) response; MessagesController.getInstance(currentAccount).putUsers(res.users, false); admins = res.participants; if (visibleDialog instanceof AdminLogFilterAlert) { ((AdminLogFilterAlert) visibleDialog).setCurrentAdmins(admins); } } } }); } }); ConnectionsManager.getInstance(currentAccount).bindRequestToGuid(reqId, classGuid); }
Example 2
Source File: ChannelAdminLogActivity.java From TelePlus-Android with GNU General Public License v2.0 | 6 votes |
private void loadAdmins() { TLRPC.TL_channels_getParticipants req = new TLRPC.TL_channels_getParticipants(); req.channel = MessagesController.getInputChannel(currentChat); req.filter = new TLRPC.TL_channelParticipantsAdmins(); req.offset = 0; req.limit = 200; int reqId = ConnectionsManager.getInstance(currentAccount).sendRequest(req, new RequestDelegate() { @Override public void run(final TLObject response, final TLRPC.TL_error error) { AndroidUtilities.runOnUIThread(new Runnable() { @Override public void run() { if (error == null) { TLRPC.TL_channels_channelParticipants res = (TLRPC.TL_channels_channelParticipants) response; MessagesController.getInstance(currentAccount).putUsers(res.users, false); admins = res.participants; if (visibleDialog instanceof AdminLogFilterAlert) { ((AdminLogFilterAlert) visibleDialog).setCurrentAdmins(admins); } } } }); } }); ConnectionsManager.getInstance(currentAccount).bindRequestToGuid(reqId, classGuid); }
Example 3
Source File: ChannelAdminLogActivity.java From Telegram-FOSS with GNU General Public License v2.0 | 6 votes |
private void loadAdmins() { TLRPC.TL_channels_getParticipants req = new TLRPC.TL_channels_getParticipants(); req.channel = MessagesController.getInputChannel(currentChat); req.filter = new TLRPC.TL_channelParticipantsAdmins(); req.offset = 0; req.limit = 200; int reqId = ConnectionsManager.getInstance(currentAccount).sendRequest(req, (response, error) -> AndroidUtilities.runOnUIThread(() -> { if (error == null) { TLRPC.TL_channels_channelParticipants res = (TLRPC.TL_channels_channelParticipants) response; MessagesController.getInstance(currentAccount).putUsers(res.users, false); admins = res.participants; if (visibleDialog instanceof AdminLogFilterAlert) { ((AdminLogFilterAlert) visibleDialog).setCurrentAdmins(admins); } } })); ConnectionsManager.getInstance(currentAccount).bindRequestToGuid(reqId, classGuid); }
Example 4
Source File: ChannelAdminLogActivity.java From Telegram with GNU General Public License v2.0 | 6 votes |
private void loadAdmins() { TLRPC.TL_channels_getParticipants req = new TLRPC.TL_channels_getParticipants(); req.channel = MessagesController.getInputChannel(currentChat); req.filter = new TLRPC.TL_channelParticipantsAdmins(); req.offset = 0; req.limit = 200; int reqId = ConnectionsManager.getInstance(currentAccount).sendRequest(req, (response, error) -> AndroidUtilities.runOnUIThread(() -> { if (error == null) { TLRPC.TL_channels_channelParticipants res = (TLRPC.TL_channels_channelParticipants) response; MessagesController.getInstance(currentAccount).putUsers(res.users, false); admins = res.participants; if (visibleDialog instanceof AdminLogFilterAlert) { ((AdminLogFilterAlert) visibleDialog).setCurrentAdmins(admins); } } })); ConnectionsManager.getInstance(currentAccount).bindRequestToGuid(reqId, classGuid); }