-
Notifications
You must be signed in to change notification settings - Fork 497
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_userunblock_userchannel_joinchannel_leavechannel_listchannel_set_aboutchannel_set_adminchannel_set_photochannel_set_usernameexport_channel_linkget_messageimport_channel_linkmedia_captionrename_channelresolve_usernameCode examples of:
block_userandunblock_userto block and unbloking a user.rename_channelto rename channels/supergroups title.channel_set_usernameto set channels/supergroups username.This username will also become channels/supergroups URL.
export_channel_linkto generate channels/supergroups invite link.get_messageto get useridby reply:import_channel_linkto Join a channel/supergoup via its invite link.media_captionto warn sticker sender:resolve_usernameto invite user by its username: