Comments (2)
@amir3code I think the channel list should be handled in the application level. As you already checked schema.tl
, the function is not supported in Telegram RPC (at least in this MTProto version 71). So I recommend to use MessagesSendMessage()
for each channel.
In this case you should be care of RPC rate limit, and you can set RPC packet send delay
on the configuration setup. In config, _ := mtproto.NewConfiguration(appVersion, deviceModel, systemVersion, language, 0, 0, "credentials.json")
, the second '0' is the send delay. So if you set it as time.Second
, mtproto's message sending routine would sleep for a second after each RPC call.
from mtproto.
Oh I got it.
Thanks for the reply! Happy new year.
from mtproto.
Related Issues (20)
- Feature to load external session HOT 8
- Job: Deploy a server and compile Python client HOT 1
- PredUpdateShortChatMessage not working? HOT 2
- Sending Message to User HOT 6
- connect failure: Handshaking Failure: missing port in address HOT 1
- Can't get ReplyToMsgId to work HOT 4
- Disabling logging HOT 1
- add auth via bot token HOT 5
- Changing DC? HOT 4
- A way to obtain file_id from media documents HOT 2
- panic: runtime error: invalid memory address or nil pointer dereference HOT 6
- Program hangs when second session tries to start HOT 6
- panic: sync: negative WaitGroup counter
- Handle multiple sesssions
- update to the latest layer
- endless spinlock
- An existing connection was forcibly closed by the remote host. HOT 17
- TL_updates_getState Failure: mtproto RPC error: 401 AUTH_KEY_UNREGISTERED HOT 3
- Handshaking Failure: TL_invokeWithLayer Timeout(10.000000 s) HOT 30
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mtproto.