-
Notifications
You must be signed in to change notification settings - Fork 502
Lua binding improvements #358
base: supergroups
Are you sure you want to change the base?
Conversation
modified: launch.sh new file: patches/lua-tg.get_message.resolve_username.media_caption.patch
e4db6e5
to
7a8c841
Compare
resolve_username don't work for me |
@zhityer |
not sure I exactly examples put into plugins of supergroups branch but resolve_username not working and get_message some time work |
Cannot help you. |
Set_message definitely does not work well, I tried it on two supergroups, one returned the "id" corresponding, while another group returned the id of any user under which corresponded. |
@richpeterson |
No, I modified the function to work with " !idtest " and continues with the same problem , it does not work as it should. |
https://telegram.me/joinchat/BFjvHDyG6Ltdf9OLh5fK3g in this group you can try |
…me, rename_channel, resolve_username, get_message, export_channel_link, channel_set_admin, channel_set_about, channel_set_photo, channel_leave, channel_join, get_channel_list, media-document_caption and add_inviter_to_members_table to lua binding
Add new bindings for lua scripting:
block_user
unblock_user
channel_join
channel_leave
channel_list
channel_set_about
channel_set_admin
channel_set_photo
channel_set_username
export_channel_link
get_message
import_channel_link
media_caption
rename_channel
resolve_username
Code examples of:
block_user
andunblock_user
to block and unbloking a user.rename_channel
to rename channels/supergroups title.channel_set_username
to set channels/supergroups username.This username will also become channels/supergroups URL.
export_channel_link
to generate channels/supergroups invite link.get_message
to get userid
by reply:import_channel_link
to Join a channel/supergoup via its invite link.media_caption
to warn sticker sender:resolve_username
to invite user by its username: